Skip to content

Commit 23e6d7e

Browse files
Oht8wooWi8yait9nAaron Sells
andauthored
Update gemini model names. (#5262)
Co-authored-by: Aaron Sells <aaron.b.sells@nasa.gov>
1 parent ed81e75 commit 23e6d7e

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

backend/onyx/llm/llm_provider_options.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,11 @@ class WellKnownLLMProviderDescriptor(BaseModel):
121121
VERTEXAI_DEFAULT_FAST_MODEL = "gemini-2.0-flash-lite"
122122
VERTEXAI_MODEL_NAMES = [
123123
# 2.5 pro models
124-
"gemini-2.5-pro-preview-06-05",
125-
"gemini-2.5-pro-preview-05-06",
124+
"gemini-2.5-pro",
125+
"gemini-2.5-flash",
126+
"gemini-2.5-flash-lite",
127+
#"gemini-2.5-pro-preview-06-05",
128+
#"gemini-2.5-pro-preview-05-06",
126129
# 2.0 flash-lite models
127130
VERTEXAI_DEFAULT_FAST_MODEL,
128131
"gemini-2.0-flash-lite-001",

web/src/lib/hooks.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,10 @@ const MODEL_DISPLAY_NAMES: { [key: string]: string } = {
882882
// Google Models
883883

884884
// 2.5 pro models
885-
"gemini-2.5-pro-preview-05-06": "Gemini 2.5 Pro (Preview May 6th)",
885+
"gemini-2.5-pro": "Gemini 2.5 Pro",
886+
"gemini-2.5-flash": "Gemini 2.5 Flash",
887+
"gemini-2.5-flash-lite": "Gemini 2.5 Flash Lite",
888+
// "gemini-2.5-pro-preview-05-06": "Gemini 2.5 Pro (Preview May 6th)",
886889

887890
// 2.0 flash lite models
888891
"gemini-2.0-flash-lite": "Gemini 2.0 Flash Lite",
@@ -894,7 +897,7 @@ const MODEL_DISPLAY_NAMES: { [key: string]: string } = {
894897
"gemini-2.0-flash": "Gemini 2.0 Flash",
895898
"gemini-2.0-flash-001": "Gemini 2.0 Flash (v1)",
896899
"gemini-2.0-flash-exp": "Gemini 2.0 Flash (Experimental)",
897-
"gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash (Preview May 20th)",
900+
// "gemini-2.5-flash-preview-05-20": "Gemini 2.5 Flash (Preview May 20th)",
898901
// "gemini-2.0-flash-thinking-exp-01-02":
899902
// "Gemini 2.0 Flash Thinking (Experimental January 2nd)",
900903
// "gemini-2.0-flash-thinking-exp-01-21":

0 commit comments

Comments
 (0)