mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
(fix) proxy: config reading error
This commit is contained in:
parent
34971ddcce
commit
9c0437cecf
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
Add a link
Reference in a new issue