Update write_to_file response

This commit is contained in:
Saoud Rizwan
2024-09-05 13:02:35 -04:00
parent e6487f4e0b
commit 94fd9e8f47

View File

@@ -1068,7 +1068,7 @@ export class ClaudeDev {
diff: this.createPrettyPatch(relPath, normalizedNewContent, normalizedEditedContent), diff: this.createPrettyPatch(relPath, normalizedNewContent, normalizedEditedContent),
} as ClaudeSayTool) } as ClaudeSayTool)
) )
return `The user made the following updates to your content:\n\n${userDiff}\n\nThe updated content, which includes both your original modifications and the user's additional edits, has been successfully saved to ${relPath}.` return `The user made the following updates to your content:\n\n${userDiff}\n\nThe updated content, which includes both your original modifications and the user's additional edits, has been successfully saved to ${relPath}. Note this does not mean you need to re-write the file with the user's changes, they have already been applied to the file.`
} else { } else {
return `The content was successfully saved to ${relPath}.` return `The content was successfully saved to ${relPath}.`
} }