rm assertion for deletes

This commit is contained in:
Aiden Cline
2026-01-17 22:19:02 -06:00
parent f1ec28176f
commit 22b5d7e570

View File

@@ -134,8 +134,6 @@ export const ApplyPatchTool = Tool.define("apply_patch", {
}
case "delete": {
// Check if file exists for deletion
await FileTime.assert(ctx.sessionID, filePath)
const contentToDelete = await fs.readFile(filePath, "utf-8").catch((error) => {
throw new Error(`apply_patch verification failed: ${error}`)
})