mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
basic cohere rerank logging
This commit is contained in:
parent
15eb4f1f67
commit
b67354b756
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