mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Update copy
This commit is contained in:
@@ -1466,7 +1466,7 @@ ${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 alleviated with some user direction (e.g. "let's try breaking this large file down into smaller files").`
|
`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").`
|
||||||
)
|
)
|
||||||
if (response === "messageResponse") {
|
if (response === "messageResponse") {
|
||||||
userContent.push(
|
userContent.push(
|
||||||
|
|||||||
@@ -123,11 +123,8 @@ const ChatView = ({
|
|||||||
const tool = JSON.parse(lastMessage.text || "{}") as ClaudeSayTool
|
const tool = JSON.parse(lastMessage.text || "{}") as ClaudeSayTool
|
||||||
switch (tool.tool) {
|
switch (tool.tool) {
|
||||||
case "editedExistingFile":
|
case "editedExistingFile":
|
||||||
setPrimaryButtonText("Save")
|
|
||||||
setSecondaryButtonText("Reject")
|
|
||||||
break
|
|
||||||
case "newFileCreated":
|
case "newFileCreated":
|
||||||
setPrimaryButtonText("Create")
|
setPrimaryButtonText("Save")
|
||||||
setSecondaryButtonText("Reject")
|
setSecondaryButtonText("Reject")
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user