Please check that this issue hasn't been reported before.
Expected Behavior
Google search should return search results
Current behaviour
Google search failed with error: <HttpError 400 when requesting https://customsearch.googleapis.com/customsearch/v1?q=latest+btc+price&num=8&start=1&key=AIzaSyAntxjXqFKmJf0l7zCU7fsl7TmtqWgJk1k+&alt=json returned "Request contains an invalid argument.". Details: "[{'message': 'Request contains an invalid argument.', 'domain': 'global', 'reason': 'badRequest'}]">
Trying DuckDuckGo search instead...
Steps to reproduce
- Set up
CUSTOM_SEARCH_ENGINE_ID and GOOGLE_API_KEY
- Ask the AI agent search for something
Possible solution
It seems we need to update some library perhaps. Ultimately it feels like we need to move away from requirements.txt into something like pdm which uses a lockfile. Or at least the very least set up specific versions in requirements.txt.
Which Operating Systems are you using?
Python Version
LoopGPT Version
latest
Acknowledgements
Please check that this issue hasn't been reported before.
Expected Behavior
Google search should return search results
Current behaviour
Google search failed with error: <HttpError 400 when requesting https://customsearch.googleapis.com/customsearch/v1?q=latest+btc+price&num=8&start=1&key=AIzaSyAntxjXqFKmJf0l7zCU7fsl7TmtqWgJk1k+&alt=json returned "Request contains an invalid argument.". Details: "[{'message': 'Request contains an invalid argument.', 'domain': 'global', 'reason': 'badRequest'}]">
Trying DuckDuckGo search instead...
Steps to reproduce
CUSTOM_SEARCH_ENGINE_IDandGOOGLE_API_KEYPossible solution
It seems we need to update some library perhaps. Ultimately it feels like we need to move away from
requirements.txtinto something likepdmwhich uses a lockfile. Or at least the very least set up specific versions inrequirements.txt.Which Operating Systems are you using?
Python Version
LoopGPT Version
latest
Acknowledgements