mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
fixed test_sendchat
This commit is contained in:
parent
2ed0c8fb66
commit
5b21d5704a
2 changed files with 25 additions and 20 deletions
|
@ -2,8 +2,8 @@ import hashlib
|
|||
import json
|
||||
|
||||
import backoff
|
||||
import httpx
|
||||
import openai
|
||||
import requests
|
||||
|
||||
# from diskcache import Cache
|
||||
from openai import APIConnectionError, InternalServerError, RateLimitError
|
||||
|
@ -21,7 +21,7 @@ CACHE = None
|
|||
InternalServerError,
|
||||
RateLimitError,
|
||||
APIConnectionError,
|
||||
requests.exceptions.ConnectionError,
|
||||
httpx.ConnectError,
|
||||
),
|
||||
max_tries=10,
|
||||
on_backoff=lambda details: print(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue