Skip to content

Commit 4336bc2

Browse files
committed
fix ai prompt parameter name
1 parent ccd7f0e commit 4336bc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/pages/TasksPage/TasksPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ const TaskForm: FC<TaskFormProps> = ({ templates, onSuccess }) => {
240240
// Extract AI prompt from selected preset
241241
const selectedPreset = presets?.find((p) => p.ID === selectedPresetId);
242242
const presetAIPrompt = selectedPreset?.Parameters.find(
243-
(param) => param.Name === "ai_prompt",
243+
(param) => param.Name === AI_PROMPT_PARAMETER_NAME,
244244
)?.Value;
245245
const isPromptReadOnly = !!presetAIPrompt;
246246
const {

0 commit comments

Comments
 (0)