You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
Fixesmicrosoft#6234
Update `test_filesurfer_agent.py` to handle valid directory paths.
* Add `test_open_path_valid_directory` test to verify that `FileSurfer` can read a valid directory without returning `FileNotFoundError`.
* Mock API calls and create a test directory for the new test case.
* Validate that the `FileSurfer` agent correctly reads the directory and returns the expected content.
Uh oh!
There was an error while loading. Please reload this page.
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:
m1 "Ask FileSurfer to find out the contents of this folder: 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
The text was updated successfully, but these errors were encountered: