mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
refactor: Move retry logic from base_coder to sendchat module
This commit is contained in:
parent
54d55c857b
commit
f9c45432e6
2 changed files with 3 additions and 1 deletions
|
@ -102,7 +102,7 @@ def send_completion(
|
|||
return hash_object, res
|
||||
|
||||
|
||||
@lazy_litellm_retry_decorator
|
||||
# ai: in this function!
|
||||
def simple_send_with_retries(model_name, messages, extra_params=None):
|
||||
try:
|
||||
kwargs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue