-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sweep: Claude AI returns error 529 overloaded #3967
Comments
anthropic.InternalServerError: Error code: 529 - {'type': 'error', 'error': {'type': 'overloaded_error', 'message': 'Overloaded'}} File "/Users/hellno/.pyenv/versions/3.10.13/bin/sweep", line 8, in
anthropic.InternalServerError: Error code: 529 - {'type': 'error', 'error': {'type': 'overloaded_error', 'message': 'Overloaded'}} The above exception was the direct cause of the following exception: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): 2024-06-04 11:06:50.645 | ERROR | sweepai.core.sweep_bot:handle_modify_file_main:799 - 'NoneType' object has no attribute 'add_chat' The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Having the same error in production, exactly the same |
From Anthropic: Error events |
so what should we do in this case |
Details
here are my error logs:
{"client_error":false,"code":529,"detail":"Overloaded"}
raise self ._make_status_error_from_response(err.response) from None
anthropic. InternalServerError: Error code: 529 I'type, ' error, ' error, I'type, ' overloaded error, ' message, ' Overloaded, 11
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/users/hellno/.pyenv/versions/3.10.13/1ib/python3.10/site-packages/sweepai/agents/modify.py"
f unction_calls_string chat_gpt. chat_anthropic(
File "/users/hellno/.pyenv/versions/3.10.13/1ib/python3.1o/site-packages/sweepai/core/chat.py"
raise Exception("Anthropic call f ailed" ) from e
Exception: Anthropic call f ailed
line 583, in modify
line 482, in chat_anthropic
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/users/hellno/.pyenv/versions/3.10.13/1ib/python3.1o/site-packages/sweepai/agents/modify_f ile.py"
new f iles modify(
File "/users/hellno/.pyenv/versions/3.10.13/1ib/python3.10/site-packages/sweepai/agents/modify.py"
chat_logger. add_chat (
AttributeError: 'NoneType' object has no attribute 'add chat,
line 72, in modify_file
line 592, in modify
Branch
No response
The text was updated successfully, but these errors were encountered: