This commit is contained in:
2026-05-14 20:59:11 +03:00
parent 858e3d7990
commit 363f0cd607
+5 -5
View File
@@ -1,5 +1,5 @@
import {spawn} from "node:child_process"; import {spawn} from "node:child_process";
import {copyFile, lstat, mkdir, readdir, writeFile} from "node:fs/promises"; import {copyFile, lstat, mkdir, readdir, rm, writeFile} from "node:fs/promises";
import os from "node:os"; import os from "node:os";
import path from "node:path"; import path from "node:path";
import {AiTool} from "../tool-types"; import {AiTool} from "../tool-types";
@@ -439,10 +439,10 @@ async function executePythonCode(
error: errorToString(error), error: errorToString(error),
}; };
} finally { } finally {
// await rm(tempDir, { await rm(tempDir, {
// recursive: true, recursive: true,
// force: true, force: true,
// }); });
} }
} }