Skip to content

refactor: create tasks in coderd instead of frontend #19280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Aug 12, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: sprintf
  • Loading branch information
DanielleMaywood committed Aug 12, 2025
commit e1d9fd4830b29bde689f1221b4d12496c0b102ce
2 changes: 1 addition & 1 deletion coderd/aitasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (api *API) tasksCreate(rw http.ResponseWriter, r *http.Request) {
}
if !hasAITask {
httpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{
Message: `Template does not have required parameter "` + codersdk.AITaskPromptParameterName + `"`,
Message: fmt.Sprintf(`Template does not have required parameter "%s"`, codersdk.AITaskPromptParameterName),
})
return
}
Expand Down