forked from phoenix/litellm-mirror
(feat) proxy set num_retries=3
This commit is contained in:
parent
60a4906505
commit
3ca4487e77
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ def load_router_config(router: Optional[litellm.Router], config_file_path: str):
|
||||||
## MODEL LIST
|
## MODEL LIST
|
||||||
model_list = config.get('model_list', None)
|
model_list = config.get('model_list', None)
|
||||||
if model_list:
|
if model_list:
|
||||||
router = litellm.Router(model_list=model_list, num_retries=2)
|
router = litellm.Router(model_list=model_list, num_retries=3)
|
||||||
print(f"\033[32mLiteLLM: Proxy initialized with Config, Set models:\033[0m")
|
print(f"\033[32mLiteLLM: Proxy initialized with Config, Set models:\033[0m")
|
||||||
for model in model_list:
|
for model in model_list:
|
||||||
print(f"\033[32m {model.get('model_name', '')}\033[0m")
|
print(f"\033[32m {model.get('model_name', '')}\033[0m")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue