-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[Bug]: No module named 'testbed_utils' (GAIA MultiAgent v0.1) #1943
Comments
Thanks, So that's our GAIA entry, and it expects to run in the AutoGenBench environment. From memory, I think the fastest way to get up and running is:
Line 1-2 clone the repo and select the right branch AutoGenBench requires Docker to be running. Now, if you are just trying to use this agent configuration for some other problem, and have no interest in running GAIA, I advise you to still do steps 1-2 (because the template depends on a version of autogen that diverges from main), and install it. Then you can find the testbed_utils file here: https://github.com/microsoft/autogen/blob/gaia_multiagent_v01_march_1st/samples/tools/autogenbench/autogenbench/template/testbed_utils.py Or, just delete reference to it -- testbed utils isn't needed for anything except logging. Finally, you will need to run this in an appropriate environment. The Dockerfile we use is: If you don't use Docker, then install the following requirements:
And install the following command line tools
I should probably add all this to the readme :) Our plan is to do some ablation studies, and once we know which components are truly necessary for this entry, we can simplify all this and ship a more turnkey solution. Oh, and I nearly forgot! Your OAI_CONFIG_LIST should look like this:
Note the vision model has tag "mlm", and the language model has tag "llm". You will also need a Bing API key for web surfer. It reads this key from the OS environment variable "BING_API_KEY" |
Let me just echo this point again: Once we've had a chance to do some ablation studies, we will simplify the installation process, and likely merge some components into main for general use. At present, this is all still very experimental. |
Thank you for the thorough walkthrough! It's not a problem that it's experimental, I'm just looking into this for research purposes, not production. Still looking forward to your refined version, once that's ready! I'm going to try the steps you provided for general use and come back to you with any further issues. |
As i run
Does this refer to a version nvm-windows found here? EDIT: |
I'm facing an issue where the web_surfer agent seems unable to perform queries to bing web search. It claims "I'm going to search for X now ...", but when the orchestrator asks for a summary, it says it didn't perform a query yet, and this happens in a loop. I'm sure my API key isn't the problem, I've verified that.
|
That is weird. Can you share the console_log. It has more info. |
I am stuck: |
mdconvert is a file that only exists in the gaia branch. Can you please provide more details about how you've set things up? |
I just duplicate the file into scope. Now it all works. so many questions haha perhaps I can catch you in the next Discord Autogen call :P
Waiting eagerly |
@afourney What should I do next? I was guessing running the
|
Hi @afourney ! I followed these steps and created a docker image from the docker file, but stuck at this line: https://github.com/microsoft/autogen/blob/gaia_multiagent_v01_march_1st/samples/tools/autogenbench/autogenbench/run_cmd.py#L487 with the following issues:
Any chance you know how to solve this? Could you possibly upload your docker image? Thanks in advance 🙏 |
@afourney - do we intend to fix? |
Describe the bug
Hello, I'm trying to get the recently published MultiAgent workflow to run, but the readme is sparse, and I'm having issues importing some module named 'testbed_utils', which I presume to be some custom module.
When running
scenario.py
, iI get this error back:ModuleNotFoundError: No module named 'testbed_utils'
I have installed the requirements included but this module is not listed.
Steps to reproduce
python==3.10
(i'm using conda)python scenario.py
Model Used
No response
Expected Behavior
Agents workflow should be run (based on
prompt.txt
)Screenshots and logs
No response
Additional Information
Windows 11
pyautogen==0.2.17
Python 3.10.13
The text was updated successfully, but these errors were encountered: