refactor(proxy_server.py): make print statements into print_verbose

This commit is contained in:
Krrish Dholakia 2023-12-28 15:08:23 +05:30
parent e5a287379a
commit 71a8b95710

View file

@ -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: