Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
https://agpt.co
MIT License
166.45k stars 44.06k forks source link

The server had an error while processing #4361

Closed BodaTomato closed 12 months ago

BodaTomato commented 1 year ago

⚠️ Search for existing issues first ⚠️

Which Operating System are you using?

Windows

Which version of Auto-GPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-3.5

Which area covers your issue best?

Other

Describe your issue.

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users...\Desktop\Auto AI\Auto-GPT-0.3.0\Auto-GPT-0.3.0\autogpt__main.py", line 5, in autogpt.cli.main() File "C:\Users...\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1130, in call return self.main(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users...\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1055, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Users...\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1635, in invoke rv = super().invoke(ctx) ^^^^^^^^^^^^^^^^^^^ File "C:\Users...\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1404, in invoke return ctx.invoke(self.callback, ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users...\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 760, in invoke return callback(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users...\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\decorators.py", line 26, in new_func return f(get_current_context(), *args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users...\Desktop\Auto AI\Auto-GPT-0.3.0\Auto-GPT-0.3.0\autogpt\cli.py", line 90, in main run_auto_gpt( File "C:\Users...\Desktop\Auto AI\Auto-GPT-0.3.0\Auto-GPT-0.3.0\autogpt\main.py", line 171, in run_auto_gpt agent.start_interaction_loop() File "C:\Users...\Desktop\Auto AI\Auto-GPT-0.3.0\Auto-GPT-0.3.0\autogpt\agent\agent.py", line 94, in start_interaction_loop assistant_reply = chat_with_ai( ^^^^^^^^^^^^^ File "C:\Users...\Desktop\Auto AI\Auto-GPT-0.3.0\Auto-GPT-0.3.0\autogpt\llm\chat.py", line 237, in chat_with_ai assistant_reply = create_chat_completion( ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users...\Desktop\Auto AI\Auto-GPT-0.3.0\Auto-GPT-0.3.0\autogpt\llm\llm_utils.py", line 166, in create_chat_completion response = api_manager.create_chat_completion( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users...\Desktop\Auto AI\Auto-GPT-0.3.0\Auto-GPT-0.3.0\autogpt\llm\api_manager.py", line 55, in create_chat_completion response = openai.ChatCompletion.create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users...\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\chat_completion.py", line 25, in create return super().create(args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users...\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\abstract\engine_apiresource.py", line 153, in create response, , api_key = requestor.request( ^^^^^^^^^^^^^^^^^^ File "C:\Users...\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 226, in request resp, got_stream = self._interpret_response(result, stream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users...\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 619, in _interpret_response self._interpret_response_line( File "C:\Users...\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 682, in _interpret_response_line raise self.handle_error_response( openai.error.APIError: The server had an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID 1df05be03da24a3560d94db3c3d08898 in your message.) {
"error": { "message": "The server had an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID 1df05be03da24a3560d94db3c3d08898 in your message.)", "type": "server_error", "param": null, "code": null } } 500 {'error': {'message': 'The server had an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID 1df05be03da24a3560d94db3c3d08898 in your message.)', 'type': 'server_error', 'param': None, 'code': None}} {'Date': 'Tue, 23 May 2023 10:29:05 GMT', 'Content-Type': 'application/json', 'Content-Length': '366', 'Connection': 'keep-alive', 'access-control-allow-origin': '*', 'openai-processing-ms': '127', 'openai-version': '2020-10-01', 'strict-transport-security': 'max-age=15724800; includeSubDomains', 'x-ratelimit-limit-requests': '3500', 'x-ratelimit-limit-tokens': '90000', 'x-ratelimit-remaining-requests': '3499', 'x-ratelimit-remaining-tokens': '86125', 'x-ratelimit-reset-requests': '17ms', 'x-ratelimit-reset-tokens': '2.583s', 'x-request-id': '1df05be03da24a3560d94db3c3d08898', 'CF-Cache-Status': 'DYNAMIC', 'Server': 'cloudflare', 'CF-RAY': '7cbc9da1cdf6e0c0-DOH', 'alt-svc': 'h3=":443"; ma=86400, h3-29=":443"; ma=86400'}
Press any key to continue . . .

Upload Activity Log Content

No response

Upload Error Log Content

No response

vladvisinescu commented 1 year ago

yes I am getting the same error on a fresh Docker installation I'm on am Intel MacBook

Essassani commented 1 year ago

Same! Only started happening today. I'm on a M1 Mac, not sure if that matters...

AdiT47 commented 1 year ago

Same Here.

fuxin123z commented 1 year ago

same

seouuuukjin commented 1 year ago

same here, M1 Mac mini too. I think there is some internal OpenAI API error. https://community.openai.com/t/openai-api-error-the-server-had-an-error-while-processing-your-request-sorry-about-that/53263

but the strange thing is openai API status page says everything is alright.

mikiane commented 1 year ago

Same here. On Mac.

waynehamadi commented 1 year ago

happened to me too, looking into this Mac also

MrKaminskiy commented 1 year ago

Confirm same problem on mac intel

RuiHirano commented 1 year ago

same problem on m1 mac

bcamarneiro commented 1 year ago

seems to be working now

Essassani commented 1 year ago

seems to be working now

So it seems!

snglrtycrvtureofspce commented 1 year ago

same problem on windows 10

github-actions[bot] commented 1 year ago

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] commented 12 months ago

This issue was closed automatically because it has been stale for 10 days with no activity.