mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix(proxy/utils.py): check cache before alerting user
This commit is contained in:
parent
75f2b9dd73
commit
2926d5a8eb
2 changed files with 22 additions and 9 deletions
|
@ -2775,7 +2775,6 @@ def client(original_function):
|
|||
or isinstance(e, openai.Timeout)
|
||||
or isinstance(e, openai.APIConnectionError)
|
||||
):
|
||||
print_verbose(f"RETRY TRIGGERED!")
|
||||
kwargs["num_retries"] = num_retries
|
||||
return litellm.completion_with_retries(*args, **kwargs)
|
||||
elif (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue