diff --git a/src/core/ClaudeDev.ts b/src/core/ClaudeDev.ts index 7cdef9c..639d523 100644 --- a/src/core/ClaudeDev.ts +++ b/src/core/ClaudeDev.ts @@ -1611,7 +1611,6 @@ export class ClaudeDev { // this also indicates the end of the text content textContent.partial = false // remove the partially accumulated tool use tag from the end of text ( prevLength) { diff --git a/src/core/prompts/system.ts b/src/core/prompts/system.ts index 0b75679..afd8709 100644 --- a/src/core/prompts/system.ts +++ b/src/core/prompts/system.ts @@ -80,7 +80,9 @@ You must respond to the user's message with a SINGLE tool use. When formulating \`\`\` ...Your thoughts... -[Tool Use] + +value + \`\`\` CRITICAL RULE: You are only allowed to use one tool per message. Multiple tool uses in a single message is STRICTLY FORBIDDEN. Even if it may seem efficient to use multiple tools at once, the system will crash and burn if you do so.