From 76868f21d123eb64ee43ceed7692e1e49a41e561 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Fri, 6 Sep 2024 13:04:56 -0400 Subject: [PATCH] Update copy --- src/ClaudeDev.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(