rename _is_model_gemini_spec_model
This commit is contained in:
parent
1822c45c0e
commit
793a920caa
@ -31,7 +31,7 @@ def get_supports_system_message(
|
||||
)
|
||||
|
||||
# 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
|
||||
except Exception as e:
|
||||
verbose_logger.warning(
|
||||
|
||||
@ -420,7 +420,7 @@ class VertexGeminiConfig(VertexAIBaseConfig, BaseConfig):
|
||||
]
|
||||
|
||||
@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
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user