mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
fixed test_repo
This commit is contained in:
parent
a68d3d8a20
commit
2ed0c8fb66
2 changed files with 3 additions and 7 deletions
|
@ -29,6 +29,9 @@ CACHE = None
|
|||
),
|
||||
)
|
||||
def send_with_retries(client, model_name, messages, functions, stream):
|
||||
if not client:
|
||||
raise ValueError("No openai client provided")
|
||||
|
||||
kwargs = dict(
|
||||
model=model_name,
|
||||
messages=messages,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue