mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
Automatically retry on Anthropic overloaded_error
This commit is contained in:
parent
d229b27bb0
commit
2cd680cba7
2 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
- Enabled [image support](https://aider.chat/docs/images-urls.html) for 3.5 Sonnet and for GPT-4o & 3.5 Sonnet via OpenRouter (by @yamitzky).
|
||||
- Added `--attribute-commit-message` to prefix aider's commit messages with "aider:".
|
||||
- Fixed regression in quality of one-line commit messages.
|
||||
- Automatically retry on Anthropic `overloaded_error`.
|
||||
- Bumped dependency versions.
|
||||
|
||||
### Aider v0.40.6
|
||||
|
|
|
@ -40,6 +40,7 @@ def should_giveup(e):
|
|||
litellm.exceptions.RateLimitError,
|
||||
litellm.exceptions.ServiceUnavailableError,
|
||||
litellm.exceptions.Timeout,
|
||||
litellm.llms.anthropic.AnthropicError,
|
||||
),
|
||||
giveup=should_giveup,
|
||||
max_time=60,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue