mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-01 05:00:34 +00:00
attachments, files, prompt extras, prompt caching, refactors, cleanups
This commit is contained in:
parent
c99b1a47d4
commit
19f50d6d95
24 changed files with 235 additions and 218 deletions
|
|
@ -10,8 +10,7 @@ class DeleteWorkDirFile(ApiHandler):
|
|||
file_path = input.get('path', '')
|
||||
current_path = input.get('currentPath', '')
|
||||
|
||||
work_dir = files.get_abs_path("work_dir")
|
||||
browser = FileBrowser(work_dir)
|
||||
browser = FileBrowser()
|
||||
|
||||
if browser.delete_file(file_path):
|
||||
# Get updated file list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue