Update Gemini 2.5 Flash to point to latest (#1392)

This commit is contained in:
Adeniji Adekunle James
2025-10-03 00:58:22 +01:00
committed by GitHub
parent 0c4ffeb152
commit 2f138312a5

View File

@@ -152,7 +152,7 @@ export const MODEL_OPTIONS: Record<string, ModelOption[]> = {
},
// https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview
{
name: "gemini-2.5-flash",
name: "gemini-flash-latest",
displayName: "Gemini 2.5 Flash",
description: "Google's Gemini 2.5 Flash model (free tier available)",
// Weirdly for Vertex AI, the output token limit is *exclusive* of the stated limit.
@@ -175,7 +175,7 @@ export const MODEL_OPTIONS: Record<string, ModelOption[]> = {
},
// Vertex Gemini 2.5 Flash
{
name: "gemini-2.5-flash",
name: "gemini-flash-latest",
displayName: "Gemini 2.5 Flash",
description: "Vertex Gemini 2.5 Flash",
maxOutputTokens: 65_536 - 1,