IntelligenzaArtificiale / Free-Auto-GPT

Free Auto GPT with NO paids API is a repository that offers a simple version of Auto GPT, an autonomous AI agent capable of performing tasks independently. Unlike other versions, our implementation does not rely on any paid OpenAI API, making it accessible to anyone.
MIT License
2.43k stars 382 forks source link

deprecation warnings. Should I be concerned? #121

Closed gameuser1982 closed 1 year ago

gameuser1982 commented 1 year ago
C:\pyenv310freeautogpt\pyenv310freeautogpt\lib\site-packages\duckduckgo_search\compat.py:20: UserWarning: ddg is deprecated. Use DDGS().text() generator
  warnings.warn("ddg is deprecated. Use DDGS().text() generator")
C:\pyenv310freeautogpt\pyenv310freeautogpt\lib\site-packages\duckduckgo_search\compat.py:22: UserWarning: parameter time is deprecated, use parameter timelimit
  warnings.warn("parameter time is deprecated, use parameter timelimit")
C:\pyenv310freeautogpt\pyenv310freeautogpt\lib\site-packages\duckduckgo_search\compat.py:24: UserWarning: parameter page is deprecated, use DDGS().text() generator
  warnings.warn("parameter page is deprecated, use DDGS().text() generator")
C:\pyenv310freeautogpt\pyenv310freeautogpt\lib\site-packages\duckduckgo_search\compat.py:26: UserWarning: parameter max_results is deprecated, use DDGS().text()
  warnings.warn("parameter max_results is deprecated, use DDGS().text()")
edumedavidb commented 1 year ago

I've experienced the same - did you find a resolution? I have reinstalled DDG. But this still comes up whenever i run autogpt and then all google searches fail.

/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/duckduckgo_search/compat.py:20: UserWarning: ddg is deprecated. Use DDGS().text() generator
  warnings.warn("ddg is deprecated. Use DDGS().text() generator")
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/duckduckgo_search/compat.py:24: UserWarning: parameter page is deprecated, use DDGS().text() generator
  warnings.warn("parameter page is deprecated, use DDGS().text() generator")
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/duckduckgo_search/compat.py:26: UserWarning: parameter max_results is deprecated, use DDGS().text()
  warnings.warn("parameter max_results is deprecated, use DDGS().text()")
SYSTEM:  Command google returned: Error: 'NoneType' object is not iterable
gameuser1982 commented 1 year ago

No. I don't have a resolution yet

TienShinhan-world commented 1 year ago

I've the same issue.

Fowlee commented 1 year ago

The reason it goes for duck duck go is that it can't find a google api key. so get the key and it will stop showing https://docs.agpt.co/configuration/search/ @TienShinhan-world @gameuser1982 @edumedavidb

gameuser1982 commented 1 year ago

The reason it goes for duck duck go is that it can't find a google api key. so get the key and it will stop showing https://docs.agpt.co/configuration/search/ @TienShinhan-world @gameuser1982 @edumedavidb

I see. But is the Duck Duck Go search functionality broken?

ddepaola commented 1 year ago

Make sure you installed DuckDuckGo Search

pip install -U duckduckgo_search

schwaa commented 1 year ago

I have duckduckgo_search installed as I intended to use that search, I get the same error message. The search seems to work, but should be concerned something isn't right, or its just a warning.. ignore it for now?

IntelligenzaArtificiale commented 1 year ago

we have fixed it in the new UPDATE , pls try now

vipulbhj commented 1 year ago

just an FYI, I am still seeing this today

Screenshot 2023-06-26 at 9 48 01 PM
nucleuscrypto commented 8 months ago

Me too, same error as above.