mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
style: Fix formatting in sendchat.py
This commit is contained in:
parent
5ded503d2b
commit
2906dcb642
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ def simple_send_with_retries(model_name, messages, extra_headers=None):
|
||||||
}
|
}
|
||||||
if extra_headers is not None:
|
if extra_headers is not None:
|
||||||
kwargs["extra_headers"] = extra_headers
|
kwargs["extra_headers"] = extra_headers
|
||||||
|
|
||||||
_hash, response = send_completion(**kwargs)
|
_hash, response = send_completion(**kwargs)
|
||||||
return response.choices[0].message.content
|
return response.choices[0].message.content
|
||||||
except (AttributeError, litellm.exceptions.BadRequestError):
|
except (AttributeError, litellm.exceptions.BadRequestError):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue