mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-08-12 18:05:31 +00:00
File browser fix directory listing (#613)
* fix: filebrowser fix directory listing limit 10000 * fix: handle symlinks in directory listing --------- Co-authored-by: Rafael Uzarowski <uzarowski.rafael@proton.me>
This commit is contained in:
parent
0aa6201d3d
commit
935fae5588
2 changed files with 135 additions and 51 deletions
|
|
@ -24,6 +24,7 @@ class GetWorkDirFiles(ApiHandler):
|
|||
|
||||
return {"data": result}
|
||||
|
||||
|
||||
async def get_files(path):
|
||||
browser = FileBrowser()
|
||||
return browser.get_files(path)
|
||||
return browser.get_files(path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue