forked from phoenix/litellm-mirror
(fix) proxy: better debugging when -debug is on
This commit is contained in:
parent
48aa00d6c0
commit
642c62f7b7
1 changed files with 0 additions and 3 deletions
|
@ -427,9 +427,6 @@ 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", None)
|
||||
if "model_list" in printed_yaml:
|
||||
for model in printed_yaml["model_list"]:
|
||||
model["litellm_params"].pop("api_key", None)
|
||||
|
||||
print_verbose(f"Loaded config YAML (api_key and environment_variables are not shown):\n{json.dumps(printed_yaml, indent=2)}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue