autogen
autogen copied to clipboard
FileSurfer in Magentic-One no longer able to find or list files after 0.5.1 update. Keeps returning FileNotFoundError
What happened?
Describe the bug After upgrading to python-v0.5.1, FileSurfer can no longer locate or read local files that exist. Attempting to access a simple test folder causes the agent to return FileNotFoundError, despite the folder being valid and files existing and accessible via Explorer or standard Python libraries.
0.4.9 works
After 0.5.1 update
To Reproduce Steps to reproduce:
- Create a folder locally at C:\Users\User\Documents\test
- Place any test file inside (e.g., example.txt)
- Run the following Magentic-One CLI command:
m1 "Ask FileSurfer to find out the contents of this folder: C:\Users\User\Documents\test" - Output:
---------- FileSurfer ----------
Path: C:\Users\User\Documents\test
Title: FileNotFoundError
Viewport position: Showing page 1 of 1.
=======================
# FileNotFoundError
File not found: C:\Users\User\Documents\test
Expected behavior List of files in the directory
Which packages was the bug in?
Python Extensions (autogen-ext)
AutoGen library version.
Python 0.5.1
Other library version.
No response
Model used
qwen2.5-coder:32b-instruct-q2_K
Model provider
Ollama
Other model provider
No response
Python version
3.11
.NET version
None
Operating system
Windows