diff --git a/src/core/Cline.ts b/src/core/Cline.ts index d68608ea..ade30cfa 100644 --- a/src/core/Cline.ts +++ b/src/core/Cline.ts @@ -1727,7 +1727,7 @@ export class Cline { `This is likely because the SEARCH block content doesn't match exactly with what's in the file, or if you used multiple SEARCH/REPLACE blocks they may not have been in the order they appear in the file.\n\n` + `The file was reverted to its original state:\n\n` + `\n${this.diffViewProvider.originalContent}\n\n\n` + - `Try again with a more precise SEARCH block.\n(If you keep running into this error, you may use the write_to_file tool as a workaround.)`, + `Try again with fewer/more precise SEARCH blocks.\n(If you run into this error two times in a row, you may use the write_to_file tool as a fallback.)`, ), ) await this.diffViewProvider.revertChanges() diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index 0d6382d6..dc7983a2 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -912,10 +912,12 @@ export const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifi style={{ display: "flex", flexDirection: "column", - backgroundColor: "rgba(255, 191, 0, 0.1)", + backgroundColor: "var(--vscode-textBlockQuote-background)", padding: 8, borderRadius: 3, fontSize: 12, + color: "var(--vscode-foreground)", + opacity: 0.8, }}>
- - Diff Edit Failed - -
-
- This usually happens when the model uses search patterns that don't match anything in the - file. Retrying... + Diff Edit Mismatch
+
The model used search patterns that don't match anything in the file. Retrying...
)