rename _is_model_gemini_spec_model

This commit is contained in:
Ishaan Jaff 2025-03-26 11:14:51 -07:00
parent 107abb6cd4
commit 654536b561
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ def get_supports_system_message(
) )
# Vertex Models called in the `/gemini` request/response format also support system messages # Vertex Models called in the `/gemini` request/response format also support system messages
if litellm.VertexGeminiConfig._is_model_gemini_gemini_spec_model(model): if litellm.VertexGeminiConfig._is_model_gemini_spec_model(model):
supports_system_message = True supports_system_message = True
except Exception as e: except Exception as e:
verbose_logger.warning( verbose_logger.warning(

View file

@ -420,7 +420,7 @@ class VertexGeminiConfig(VertexAIBaseConfig, BaseConfig):
] ]
@staticmethod @staticmethod
def _is_model_gemini_gemini_spec_model(model: Optional[str]) -> bool: def _is_model_gemini_spec_model(model: Optional[str]) -> bool:
""" """
Returns true if user is trying to call custom model in `/gemini` request/response format Returns true if user is trying to call custom model in `/gemini` request/response format
""" """