mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
build(litellm_server/utils.py): add support for general settings + num retries as a module variable
This commit is contained in:
parent
3f1b4c0759
commit
e3a1c58dd9
7 changed files with 52 additions and 33 deletions
|
@ -270,6 +270,7 @@ def completion(
|
|||
non_default_params = {k: v for k,v in kwargs.items() if k not in default_params} # model-specific params - pass them straight to the model/provider
|
||||
if mock_response:
|
||||
return mock_completion(model, messages, stream=stream, mock_response=mock_response)
|
||||
|
||||
try:
|
||||
logging = litellm_logging_obj
|
||||
fallbacks = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue