Skip to content

Commit

Permalink
Added support for medlm-large-1.5@001 in vertexai GoogleModelFamily (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
AmarjotSingh24 authored Nov 14, 2024
1 parent f199127 commit 8bc67d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/vertexai/langchain_google_vertexai/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def _missing_(cls, value: Any) -> "GoogleModelFamily":
gemini_advanced_models = {
"medlm-large-1.5-preview",
"medlm-large-1.5-001",
"medlm-large-1.5@001",
}
if "gemini-1.5" in model_name or model_name in gemini_advanced_models:
return GoogleModelFamily.GEMINI_ADVANCED
Expand Down

0 comments on commit 8bc67d8

Please sign in to comment.