Merge pull request #4661 from BerriAI/litellm_fix_mh

[Fix] Model Hub - Show supports vision correctly
This commit is contained in:
Ishaan Jaff 2024-07-11 15:03:37 -07:00 committed by GitHub
commit 8bf50ac5db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 2 deletions

View file

@ -4829,6 +4829,7 @@ def get_model_info(model: str, custom_llm_provider: Optional[str] = None) -> Mod
supports_response_schema=_model_info.get(
"supports_response_schema", None
),
supports_vision=_model_info.get("supports_vision", None),
)
except Exception:
raise Exception(