Fix TextEditorWriteTool

This commit is contained in:
Alex Gleason committed 2025-07-25 02:26:18 -05:00
1 parent 5a3f282817
commit 47c2d7298e
1 file changed
+1 -1
+1 -1
View File
@@ -71,7 +71,7 @@ export class TextEditorWriteTool implements Tool<TextEditorWriteParams> {
try {
const absolutePath = join(this.cwd, path);
await this.fs.mkdir(dirname(absolutePath), { recursive: true });
await this.fs.writeFile(absolutePath, file_text, "utf-8");
await this.fs.writeFile(absolutePath, file_text, "utf8");
return {
content: [{
type: "text",