refactor: Move retry logic from base_coder to sendchat module

This commit is contained in:
Paul Gauthier 2024-10-28 15:05:06 -07:00 committed by Paul Gauthier (aider)
parent 54d55c857b
commit f9c45432e6
2 changed files with 3 additions and 1 deletions

View file

@ -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 = {