From b50c2db8b8e0b7d78325fca4657f4ffb2ec55900 Mon Sep 17 00:00:00 2001 From: Toshii <94262432+0xToshii@users.noreply.github.com> Date: Sun, 12 Oct 2025 18:20:15 -0700 Subject: [PATCH] add instructions for using summarize task in plan and act modes (#6793) --- src/core/prompts/contextManagement.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/prompts/contextManagement.ts b/src/core/prompts/contextManagement.ts index e420673c..0563de60 100644 --- a/src/core/prompts/contextManagement.ts +++ b/src/core/prompts/contextManagement.ts @@ -3,7 +3,7 @@ export const summarizeTask = (focusChainSettings?: { enabled: boolean }) => The current conversation is rapidly running out of context. Now, your urgent task is to create a comprehensive detailed summary of the conversation so far, paying close attention to the user's explicit requests and your previous actions. This summary should be thorough in capturing technical details, code patterns, and architectural decisions that would be essential for continuing development work without losing context. -You have only two options: If you are immediately prepared to call the attempt_completion tool, and have completed all items in your task_progress list, you may call attempt_completion at this time. If you are not prepared to call the attempt_completion tool, and have not completed all items in your task_progress list, you must call the summarize_task tool. +You have only two options: If you are immediately prepared to call the attempt_completion tool, and have completed all items in your task_progress list, you may call attempt_completion at this time. If you are not prepared to call the attempt_completion tool, and have not completed all items in your task_progress list, you must call the summarize_task tool - in this case you must call the summarize_task tool whether you are in PLAN or ACT mode. You MUST ONLY respond to this message by using either the attempt_completion tool or the summarize_task tool call.