Unverified 提交 2f138312 authored 作者: Adeniji Adekunle James's avatar Adeniji Adekunle James 提交者: GitHub

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

上级 0c4ffeb1
...@@ -152,7 +152,7 @@ export const MODEL_OPTIONS: Record<string, ModelOption[]> = { ...@@ -152,7 +152,7 @@ export const MODEL_OPTIONS: Record<string, ModelOption[]> = {
}, },
// https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview // 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", displayName: "Gemini 2.5 Flash",
description: "Google's Gemini 2.5 Flash model (free tier available)", 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. // 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[]> = { ...@@ -175,7 +175,7 @@ export const MODEL_OPTIONS: Record<string, ModelOption[]> = {
}, },
// Vertex Gemini 2.5 Flash // Vertex Gemini 2.5 Flash
{ {
name: "gemini-2.5-flash", name: "gemini-flash-latest",
displayName: "Gemini 2.5 Flash", displayName: "Gemini 2.5 Flash",
description: "Vertex Gemini 2.5 Flash", description: "Vertex Gemini 2.5 Flash",
maxOutputTokens: 65_536 - 1, maxOutputTokens: 65_536 - 1,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论