-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MagenticOne code_executor [Errno 2] No such file or directory #4900
Comments
The file the code executor tried and failed to open is not the dataset file, is the generated code file. Do you have special permissions assigned to the file system? What is the environment your code is running. |
I individually ran one of the python files created by the code executor and the code was correct and provided the right result! @zzulueta ➜ /workspaces/AzureAI/AutoGen/coding (main) $ python tmp_code_774f108a989a1b63e122b2629ecd8a4bff38277a4137459d34a674acd23775e9.python The code executor says it has no such file exists: But the code inside the python file points to the same directory: So again, why wouldnt this result 5021 come out from the agent? |
What happened?
I created a MagenticOneGroupChat with a File Surfer, Data Assistant, and Code Executor.
team = MagenticOneGroupChat([file_surfer, data_assistant, code_executor_agent], model_client=az_model_client, max_turns=100)
As you can see in the thought process below, the FileSurfer confirms the existence and accessibility of the file.
In order to make the system work, I deleted the FileSurfer agent and just placed the data file in the same working directory as the Code Executor.
Is there a way to specify a different file path for the Code Executor to get the data files?
What did you expect to happen?
I expected the Code Executor to have access to the data file given that the FileSurfer was able to display the file
How can we reproduce it (as minimally and precisely as possible)?
team = MagenticOneGroupChat([file_surfer, data_assistant, code_executor_agent], model_client=az_model_client, max_turns=100)
AutoGen version
0.4
Which package was this bug in
AgentChat
Model used
No response
Python version
No response
Operating system
No response
Any additional info you think would be helpful for fixing this bug
No response
The text was updated successfully, but these errors were encountered: