From cb52e3347ed3dae7913c5569a66a2acb3988a5e6 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Tue, 5 Dec 2023 17:59:57 -0800 Subject: [PATCH] (fix) proxy: make yaml load print_verbose --- litellm/proxy/proxy_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index 80f19986b..a90530068 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -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)