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

cookiesHuggingChat.json removed but still needed. #148

Open thisisloze opened 1 year ago

thisisloze commented 1 year ago

Looks like you removed the need for the cookie but the code still needs it. Its broken when used though.

2023-07-02 15:01:22.560 Uncaught app exception Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script exec(code, module.__dict__) File "/root/Free-Auto-GPT/Camel.py", line 91, in <module> llm = HuggingChatAPI.HuggingChat(cookiepath = str(cookie_path)) File "/usr/local/lib/python3.10/dist-packages/pydantic/main.py", line 341, in __init__ raise validation_error pydantic.error_wrappers.ValidationError: 1 validation error for HuggingChat cookiepath extra fields not permitted (type=value_error.extra)

thisisloze commented 1 year ago

Sorry this is using streamlit and Camel.py. It looks like Camel.py wasnt updated to not use the cookies.