forked from phoenix/litellm-mirror
fix error message on v2/model info
This commit is contained in:
parent
80d8bf5d8f
commit
0c6cd2c894
1 changed files with 1 additions and 1 deletions
|
@ -6284,7 +6284,7 @@ async def model_info_v2(
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
status_code=500,
|
status_code=500,
|
||||||
detail={
|
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."
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue