AutoGPT
AutoGPT copied to clipboard
Web_search doesn’t work and needs replaced
⚠️ Search for existing issues first ⚠️
- [X] I have searched the existing issues, and there is no existing issue for my problem
Which Operating System are you using?
Linux
Which version of AutoGPT are you using?
Latest Release
Do you use OpenAI GPT-3 or GPT-4?
GPT-4
Which area covers your issue best?
Other
Describe your issue.
as title, every prompt lead to
WARNING Command web_search returned an error: CommandExecutionError(https://links.duckduckgo.com/ /// : 202 Ratelimit')
Upload Activity Log Content
No response
Upload Error Log Content
No response
I’d be interested in replacing duck duck go at this point if anyone has ideas
same issue, a temporary way to disable or make the agent not be advised of the availability of duckduckgo for now would be good as well. having trouble trying to pluck the duck from the code =/
You should be able to disable the command
DISABLED_COMMANDS: Commands to disable. Use comma separated names of commands. See the list of commands from built-in components here. Default: None
Ill be looking into this, I plan to look into replacing DDG with Brave if i can, yes it will require users to setup a api key but all of the search engines require them so its kinda hard to get around it
So have someone a temporary fix to get web searching working?
@crudo0-arch Hey, I recently updated duckduckgo search to the latest version which seems to of helped and improved it. I still plan to replace/add another search service soon its just not number 1 on my todo list just yet, are you still having issues with the web searching?
now I can't even start autogpt, because it gives me an error about the api credentials which have not been set correctly in the .env file. But I checked and everything is set correctly. Previously it gave me the same error but asked to enter the api key into the program to open an instance. now it doesn't work...
If there are problems with duckduckgo_search, you might be using an old version.
Try updating the package:
pip install -U duckduckgo_search
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.
This issue was closed automatically because it has been stale for 10 days with no activity.
I'm having this same issue using latest docker image. Did anyone find a mitigation?
Versions of duckduckgo_search below 6.3 no longer work
Versions of duckduckgo_search below 6.3 no longer work
@deedy5 Are you saying the official autogpt docker image has an outdated dependency? Sounds like a bug and this issue should be reopened?
Feel free to open a pull request to fix it. Updating duckduckgo-search would probably do it. (poetry update duckduckgo-search)