refactor!: rename prompt field to input for task creation (#19982)

Renames the `prompt` field to `input` for task creation. This matches
the naming used in the CLI and elsewhere.
This commit is contained in:
Danielle Maywood
2025-09-26 12:18:08 +01:00
committed by GitHub
parent 0a840e48fd
commit eb74732839
8 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ func (c *ExperimentalClient) AITaskPrompts(ctx context.Context, buildIDs []uuid.
type CreateTaskRequest struct {
TemplateVersionID uuid.UUID `json:"template_version_id" format:"uuid"`
TemplateVersionPresetID uuid.UUID `json:"template_version_preset_id,omitempty" format:"uuid"`
Prompt string `json:"prompt"`
Input string `json:"input"`
Name string `json:"name,omitempty"`
}