fix model hub not loading

This commit is contained in:
Ishaan Jaff 2024-06-12 19:38:31 -07:00
parent 8987f16507
commit 490f5265ac

View file

@ -3618,6 +3618,7 @@ class Router:
except Exception:
model_info = None
# get llm provider
model, llm_provider = "", ""
try:
model, llm_provider, _, _ = litellm.get_llm_provider(
model=litellm_params.model,