diff --git a/src/ClaudeDev.ts b/src/ClaudeDev.ts index 57025a1..c40dca8 100644 --- a/src/ClaudeDev.ts +++ b/src/ClaudeDev.ts @@ -1637,7 +1637,9 @@ ${this.customInstructions.trim()} if (this.consecutiveMistakeCount >= 3) { const { response, text, images } = await this.ask( "mistake_limit_reached", - `This may indicate a failure in his thought process or inability to use a tool properly, which can be mitigated with some user guidance (e.g. "let's try breaking this large file down into smaller files").` + this.api.getModel().id.includes("claude") + ? `This may indicate a failure in his thought process or inability to use a tool properly, which can be mitigated with some user guidance (e.g. "let's try breaking this large file down into smaller files").` + : "Claude Dev uses complex prompts and iterative task execution that may be challenging for less capable models. For best results, it's recommended to use Claude 3.5 Sonnet for its advanced agentic coding capabilities." ) if (response === "messageResponse") { userContent.push(