Skip to content

Commit 67e9cc8

Browse files
committed
Remove duplicate task instructions from the intelligent update prompt
1 parent 06637f7 commit 67e9cc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/editor/src/views/prompt/backend/message-handlers/utils/intelligent-update-utils.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export const process_file = async (params: {
129129
? intelligent_update_fallback_edit_format_instructions
130130
: intelligent_update_edit_format_instructions
131131

132-
const content = `# Task\n\n${intelligent_update_task_instructions}\n\n# File\n\n${params.file_content}\n\n# Output formatting\n\n${edit_format_instructions}\n\n# Task\n\n${intelligent_update_task_instructions}\n\n# Changes\n\n${params.instruction}`
132+
const content = `# File\n\n${params.file_content}\n\n# Output formatting\n\n${edit_format_instructions}\n\n# Task\n\n${intelligent_update_task_instructions}\n\n# Changes\n\n${params.instruction}`
133133

134134
const messages = [
135135
{

0 commit comments

Comments
 (0)