mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
basic cohere rerank logging
This commit is contained in:
parent
4626c5a365
commit
1852e1cd9a
3 changed files with 32 additions and 1 deletions
|
@ -745,6 +745,7 @@ def client(original_function):
|
|||
or kwargs.get("amoderation", False) == True
|
||||
or kwargs.get("atext_completion", False) == True
|
||||
or kwargs.get("atranscription", False) == True
|
||||
or kwargs.get("arerank", False) == True
|
||||
):
|
||||
# [OPTIONAL] CHECK MAX RETRIES / REQUEST
|
||||
if litellm.num_retries_per_request is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue