refactor: generate task name fallback on coderd (#19447)

Instead of generating the fallback task name on the website, we instead
generate it on coderd.
This commit is contained in:
Danielle Maywood
2025-08-21 11:06:30 +01:00
committed by GitHub
parent 62fa731b34
commit 2521e732be
7 changed files with 47 additions and 21 deletions
-1
View File
@@ -47,7 +47,6 @@ func (c *ExperimentalClient) AITaskPrompts(ctx context.Context, buildIDs []uuid.
}
type CreateTaskRequest struct {
Name string `json:"name"`
TemplateVersionID uuid.UUID `json:"template_version_id" format:"uuid"`
TemplateVersionPresetID uuid.UUID `json:"template_version_preset_id,omitempty" format:"uuid"`
Prompt string `json:"prompt"`