Provide instructions to model when it fails to use tools

This commit is contained in:
Saoud Rizwan
2024-10-02 04:04:21 -04:00
parent a911b5d8a2
commit 0dc0d95b63
2 changed files with 22 additions and 1 deletions

View File

@@ -1771,6 +1771,7 @@ export class ClaudeDev {
type: "text",
text: formatResponse.noToolsUsed(),
})
this.consecutiveMistakeCount++
}
const recDidEndLoop = await this.recursivelyMakeClaudeRequests(this.userMessageContent)