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

Anyone knows how to fix that? #141

Closed xyzaf1 closed 1 year ago

xyzaf1 commented 1 year ago

Error (on windows, linux won´t even get ME to this point):

Traceback (most recent call last):
  File "C:\GPT\AUTOGPT.py", line 314, in <module>
    agent.run([input("Enter the objective of the AI system: (Be realistic!) ")])
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\experimental\autonomous_agents\autogpt\agent.py", line 95, in run
    assistant_reply = self.chain.run(
                      ^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\base.py", line 293, in run
    return self(kwargs, callbacks=callbacks, tags=tags)[_output_key]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\base.py", line 166, in __call__
    raise e
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\base.py", line 160, in __call__
    self._call(inputs, run_manager=run_manager)
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\llm.py", line 92, in _call
    response = self.generate([inputs], run_manager=run_manager)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\llm.py", line 102, in generate
    return self.llm.generate_prompt(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 140, in generate_prompt
    return self.generate(prompt_strings, stop=stop, callbacks=callbacks, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 206, in generate
    raise e
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 198, in generate
    self._generate(
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 500, in _generate
    else self._call(prompt, stop=stop, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\GPT\FreeLLM\ChatGPTAPI.py", line 53, in _call
    data = self.chatbot.send_message(prompt)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\GPT\FreeLLM\pyChatGPT.py", line 507, in send_message
    response = self.driver.find_elements(*chatgpt_small_response)[-1]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
IntelligenzaArtificiale commented 1 year ago

we have update it