Browse Source

Update copy

Saoud Rizwan 1 year ago
parent
commit
7fdec3f37e
2 changed files with 2 additions and 5 deletions
  1. 1 1
      src/ClaudeDev.ts
  2. 1 4
      webview-ui/src/components/ChatView.tsx

+ 1 - 1
src/ClaudeDev.ts

@@ -1466,7 +1466,7 @@ ${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 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") {
 				userContent.push(

+ 1 - 4
webview-ui/src/components/ChatView.tsx

@@ -123,11 +123,8 @@ const ChatView = ({
 							const tool = JSON.parse(lastMessage.text || "{}") as ClaudeSayTool
 							switch (tool.tool) {
 								case "editedExistingFile":
-									setPrimaryButtonText("Save")
-									setSecondaryButtonText("Reject")
-									break
 								case "newFileCreated":
-									setPrimaryButtonText("Create")
+									setPrimaryButtonText("Save")
 									setSecondaryButtonText("Reject")
 									break
 								default: