rm assertion for deletes
This commit is contained in:
parent
f1ec28176f
commit
22b5d7e570
1 changed files with 0 additions and 2 deletions
|
|
@ -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}`)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue