mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
(fix) proxy: config reading error
This commit is contained in:
parent
54c5736f81
commit
6866895a27
1 changed files with 1 additions and 1 deletions
|
|
@ -465,7 +465,7 @@ def load_router_config(router: Optional[litellm.Router], config_file_path: str):
|
|||
|
||||
## PRINT YAML FOR CONFIRMING IT WORKS
|
||||
printed_yaml = copy.deepcopy(config)
|
||||
printed_yaml.pop("environment_variables")
|
||||
printed_yaml.pop("environment_variables", None)
|
||||
for model in printed_yaml["model_list"]:
|
||||
model["litellm_params"].pop("api_key", None)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue