mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +00:00
refactor(proxy_server.py): make print statements into print_verbose
This commit is contained in:
parent
f3846d4c30
commit
1a7a7b0cc1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
# Save the updated config
|
||||||
with open(f"{user_config_file_path}", "w") as config_file:
|
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
|
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"}
|
return {"message": "Model added successfully"}
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue