AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Auto stops when going through system checks

Open DMTarmey opened this issue 2 years ago • 1 comments

⚠️ Search for existing issues first ⚠️

  • [X] I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Windows

Which version of Auto-GPT are you using?

Latest Release

GPT-3 or GPT-4?

GPT-3.5

Steps to reproduce 🕹

Run autogpt tests on winodws 10 pro,

Current behavior 😯

I went through system check to check if all things weer working and this happened "NEXT ACTION: COMMAND = search_files ARGUMENTS = {'directory': '.'} Traceback (most recent call last): File "", line 198, in run_module_as_main File "", line 88, in run_code File "C:\Users\Dell User\OneDrive\Desktop\darren\Auto-GPT\autogpt_main.py", line 53, in main() File "C:\Users\Dell User\OneDrive\Desktop\darren\Auto-GPT\autogpt_main.py", line 49, in main agent.start_interaction_loop() File "C:\Users\Dell User\OneDrive\Desktop\darren\Auto-GPT\autogpt\agent\agent.py", line 170, in start_interaction_loop self.memory.add(memory_to_add) File "C:\Users\Dell User\OneDrive\Desktop\darren\Auto-GPT\autogpt\memory\local.py", line 76, in add embedding = create_embedding_with_ada(text) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Dell User\OneDrive\Desktop\darren\Auto-GPT\autogpt\llm_utils.py", line 137, in create_embedding_with_ada return openai.Embedding.create( ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Dell User\AppData\Roaming\Python\Python311\site-packages\openai\api_resources\embedding.py", line 33, in create response = super().create(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Dell User\AppData\Roaming\Python\Python311\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create response, _, api_key = requestor.request( ^^^^^^^^^^^^^^^^^^ File "C:\Users\Dell User\AppData\Roaming\Python\Python311\site-packages\openai\api_requestor.py", line 226, in request resp, got_stream = self._interpret_response(result, stream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Dell User\AppData\Roaming\Python\Python311\site-packages\openai\api_requestor.py", line 619, in _interpret_response self._interpret_response_line( File "C:\Users\Dell User\AppData\Roaming\Python\Python311\site-packages\openai\api_requestor.py", line 682, in _interpret_response_line raise self.handle_error_response( openai.error.InvalidRequestError: This model's maximum context length is 8191 tokens, however you requested 163109 tokens (163109 in your prompt; 0 for the completion). Please reduce your prompt; or completion length.

C:\Users\Dell User\OneDrive\Desktop\darren\Auto-GPT>"

Expected behavior 🤔

No response

Your prompt 📝

# Paste your prompt here

Your Logs 📒

<insert your logs here>

DMTarmey avatar Apr 26 '23 07:04 DMTarmey

What do you mean by "system check"?

k-boikov avatar Apr 26 '23 17:04 k-boikov

Duplicate of #2801

Pwuts avatar Apr 26 '23 21:04 Pwuts