Update copy

This commit is contained in:
Saoud Rizwan
2024-09-06 13:04:56 -04:00
parent 0a16aedf95
commit 76868f21d1

View File

@@ -1637,7 +1637,9 @@ ${this.customInstructions.trim()}
if (this.consecutiveMistakeCount >= 3) { if (this.consecutiveMistakeCount >= 3) {
const { response, text, images } = await this.ask( const { response, text, images } = await this.ask(
"mistake_limit_reached", "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") { if (response === "messageResponse") {
userContent.push( userContent.push(