mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-06 16:21:54 +00:00
Only call os.remove if the target path exists to avoid raising an exception when attempting to delete a non-existent file. Makes delete_file safer/idempotent by checking exists(abs_path) before removal. |
||
|---|---|---|
| .. | ||
| api | ||
| extensions | ||
| helpers | ||
| tools | ||
| websocket_handlers | ||