From cfd3cac881d52d34667de479e084ae26c8f833fc Mon Sep 17 00:00:00 2001 From: hannesrudolph Date: Wed, 6 Aug 2025 16:02:49 -0700 Subject: [PATCH] fix: update new_task tool example to include todos parameter - Updated the example in tool-use.ts to show the todos parameter - This prevents AI confusion about whether todos is a valid parameter - The example now demonstrates the complete tool usage pattern --- src/core/prompts/sections/tool-use.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/core/prompts/sections/tool-use.ts b/src/core/prompts/sections/tool-use.ts index ea27e5916a..434d2f8785 100644 --- a/src/core/prompts/sections/tool-use.ts +++ b/src/core/prompts/sections/tool-use.ts @@ -20,6 +20,12 @@ For example, to use the new_task tool: code Implement a new feature for the application. + +[ ] Design the feature architecture +[ ] Implement core functionality +[ ] Add error handling +[ ] Write tests + Always use the actual tool name as the XML tag name for proper parsing and execution.`