mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
10 retries
This commit is contained in:
parent
96b9e49a77
commit
3857a09a70
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ class Coder:
|
|||
RateLimitError,
|
||||
requests.exceptions.ConnectionError,
|
||||
),
|
||||
max_tries=5,
|
||||
max_tries=10,
|
||||
on_backoff=lambda details: print(f"Retry in {details['wait']} seconds."),
|
||||
)
|
||||
def send_with_retries(self, model, messages, functions):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue