101dotxyz / GPTeam

GPTeam: An open-source multi-agent simulation
https://www.gpteamai.com/
MIT License
1.63k stars 251 forks source link

Getting the Agents to use the Serp API? #77

Open MoHayat opened 1 year ago

MoHayat commented 1 year ago

I am trying to get the agents to use the Serp API that I have set up, but they keep trying to search the database for some reason. Has anyone come up with a prompt that lets them search the web instead?

wirelesshnic commented 1 year ago

I am having the same issue. It seems in base.py the SEARCH_ENABLED bool is not looking at the config file. I manually set the value to true and now my agents try to access the web. Unfortunately, this is resulting in a new error

[Assistant] Thought: [Assistant] Action: search [Assistant] Action Input: "creative content ideas" [Assistant] Action Response: Error: SerpAPIWrapper.arun() got an unexpected keyword argument 'agent_input'