From 71a8b95710fba23386a058971d047507d040af09 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Thu, 28 Dec 2023 15:08:23 +0530 Subject: [PATCH] refactor(proxy_server.py): make print statements into print_verbose --- litellm/proxy/proxy_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index d7c318b21..9f32b9367 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -1754,7 +1754,7 @@ async def add_new_model(model_params: ModelParams): } ) - print(f"updated model list: {config['model_list']}") + print_verbose(f"updated model list: {config['model_list']}") # Save the updated config with open(f"{user_config_file_path}", "w") as config_file: @@ -1765,7 +1765,7 @@ async def add_new_model(model_params: ModelParams): router=llm_router, config_file_path=user_config_file_path ) - print(f"llm_model_list: {llm_model_list}") + print_verbose(f"llm_model_list: {llm_model_list}") return {"message": "Model added successfully"} except Exception as e: