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.47k stars 383 forks source link

Fix (langchain and EdgeGPT versions) requirements.txt #159

Open AnonDevSUS opened 1 year ago

AnonDevSUS commented 1 year ago

Fixed langchain and EdgeGPT versions to prevent this type of error:

from langchain.experimental.autonomous_agents.autogpt.agent import AutoGPT ModuleNotFoundError: No module named 'langchain.experimental'

randompersononinternet69 commented 3 weeks ago

Still doesn't work, it's complaining about a missing duckduckgo-search package when it's installed.

Traceback (most recent call last):
  File "C:\Users\Name\Free-Auto-GPT\AUTOGPT.py", line 279, in <module>
    web_search = DuckDuckGoSearchRun()
                 ^^^^^^^^^^^^^^^^^^^^^
  File "pydantic\main.py", line 339, in pydantic.main.BaseModel.__init__
  File "pydantic\main.py", line 1064, in pydantic.main.validate_model
  File "pydantic\fields.py", line 437, in pydantic.fields.ModelField.get_default
  File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for DuckDuckGoSearchAPIWrapper
__root__
  Could not import duckduckgo-search python package. Please install it with `pip install duckduckgo-search`. (type=value_error)