fix error message on v2/model info

This commit is contained in:
Ishaan Jaff 2024-06-27 16:29:11 -07:00
parent 80d8bf5d8f
commit 0c6cd2c894

View file

@ -6284,7 +6284,7 @@ async def model_info_v2(
raise HTTPException(
status_code=500,
detail={
"error": f"Invalid llm model list. llm_model_list={llm_model_list}"
"error": f"No model list passed, models={llm_model_list}. You can add a model through the config.yaml or on the LiteLLM Admin UI."
},
)