mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
fixed test_coder
This commit is contained in:
parent
fb07b784f6
commit
23e6c4ee55
3 changed files with 15 additions and 16 deletions
|
@ -6,13 +6,9 @@ import openai
|
|||
import requests
|
||||
|
||||
# from diskcache import Cache
|
||||
from openai import (
|
||||
APIConnectionError,
|
||||
APIError,
|
||||
InternalServerError,
|
||||
RateLimitError,
|
||||
Timeout,
|
||||
)
|
||||
from openai import APIConnectionError, InternalServerError, RateLimitError
|
||||
|
||||
from aider.dump import dump # noqa: F401
|
||||
|
||||
CACHE_PATH = "~/.aider.send.cache.v1"
|
||||
CACHE = None
|
||||
|
@ -22,8 +18,6 @@ CACHE = None
|
|||
@backoff.on_exception(
|
||||
backoff.expo,
|
||||
(
|
||||
Timeout,
|
||||
APIError,
|
||||
InternalServerError,
|
||||
RateLimitError,
|
||||
APIConnectionError,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue