Bug fixes for openai provider

This commit is contained in:
Saoud Rizwan committed 2024-09-03 19:22:52 -04:00
1 parent 8274e89eac
commit cceebdc04c
6 files changed
+19 -16

No files matched your search

+1 -1
View File
@@ -917,7 +917,7 @@ export class ClaudeDev {
} as ClaudeSayTool)
)
return `The user accepted but made the following changes to your content:\n\n${userDiff}\n\nFinal result ${
fileExists ? "applied to" : "written as new file"
fileExists ? "saved to" : "written as new file"
} ${relPath}:\n\n${diffResult}`
} else {
const diffResult = diff.createPatch(relPath, originalContent, newContent)