feat: Add Gemini 2.5 and 2.0 model metadata (#9277)

 (google_generative_ai_constants.py): add new Google Generative AI models (gemini-2.5 and gemini-2.0) to the list of supported models.

Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
This commit is contained in:
Cristhian Zanforlin Lousa 2025-08-01 10:37:46 -03:00 committed by GitHub
commit c807c3a663
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,6 +12,20 @@ GOOGLE_GENERATIVE_AI_MODELS_DETAILED = [
create_model_metadata(
provider="Google Generative AI", name="gemini-1.5-flash-8b", icon="GoogleGenerativeAI", tool_calling=True
),
# GEMINI 2.5
create_model_metadata(
provider="Google Generative AI", name="gemini-2.5-pro", icon="GoogleGenerativeAI", tool_calling=True
),
create_model_metadata(
provider="Google Generative AI", name="gemini-2.5-flash", icon="GoogleGenerativeAI", tool_calling=True
),
create_model_metadata(
provider="Google Generative AI", name="gemini-2.5-flash-lite", icon="GoogleGenerativeAI", tool_calling=True
),
# GEMINI 2.0
create_model_metadata(
provider="Google Generative AI", name="gemini-2.0-flash-lite", icon="GoogleGenerativeAI", tool_calling=True
),
# PREVIEW
create_model_metadata(
provider="Google Generative AI",