Add mock messages; fix CodeBlock ellipses bug

This commit is contained in:
Saoud Rizwan
2024-07-09 21:34:07 -04:00
parent 97faff3ba5
commit c0420b3e90
6 changed files with 431 additions and 168 deletions

View File

@@ -345,7 +345,7 @@ ${activeEditorContents}`
return `Changes applied to ${filePath}:\n${diffResult}`
} else {
this.say("tool", JSON.stringify({ tool: "editedExistingFile", path: filePath } as ClaudeSayTool))
this.say("tool", JSON.stringify({ tool: "editedExistingFile", path: filePath, content: " " } as ClaudeSayTool))
return `Tool succeeded, however there were no changes detected to ${filePath}`
}
} else {