(fix) proxy: make yaml load print_verbose

This commit is contained in:
ishaan-jaff 2023-12-05 17:59:57 -08:00
parent 648d41c96f
commit cb52e3347e

View file

@ -431,7 +431,7 @@ def load_router_config(router: Optional[litellm.Router], config_file_path: str):
for model in printed_yaml["model_list"]:
model["litellm_params"].pop("api_key", None)
print(f"Loaded config YAML (api_key and environment_variables are not shown):\n{json.dumps(printed_yaml, indent=2)}")
print_verbose(f"Loaded config YAML (api_key and environment_variables are not shown):\n{json.dumps(printed_yaml, indent=2)}")
## ENVIRONMENT VARIABLES
environment_variables = config.get('environment_variables', None)