Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(llm): drop retired and superseded models from the Vertex AI default list (#18160)

Pushkar Kolhe81ac939d6f96
diff --git a/packages/shared/src/server/llm/types.ts b/packages/shared/src/server/llm/types.ts
index 29aeffdb24..a38684c0fe 100644
--- a/packages/shared/src/server/llm/types.ts
+++ b/packages/shared/src/server/llm/types.ts
@@ -425,30 +425,21 @@ export const anthropicModels = [
] as const;
// WARNING: The first entry in the array is chosen as the default model to add LLM API keys
+// Only models Vertex AI still serves. Gemini 3.x is served from the "global"
+// location only (the default for Vertex connections). Retired 1.0/1.5/2.0
+// models, superseded previews and the Live API audio model are not listed.
export const vertexAIModels = [
+ "gemini-3.5-flash",
"gemini-2.5-flash",
"gemini-2.5-pro",
"gemini-3.8-flash",
"gemini-3.7-flash",
"gemini-3.6-flash",
- "gemini-3.5-flash",
"gemini-3.5-flash-lite",
"gemini-3.1-pro-preview",
"gemini-3.1-flash-lite",
- "gemini-3.1-flash-lite-preview",
- "gemini-3-pro-preview",
"gemini-3-flash-preview",
- "gemini-2.5-flash-preview-09-2025",
"gemini-2.5-flash-lite",
- "gemini-2.5-flash-lite-preview-09-2025",
- "gemini-live-2.5-flash-native-audio",
- "gemini-2.0-flash",
- "gemini-2.0-pro-exp-02-05",
- "gemini-2.0-flash-001",
- "gemini-2.0-flash-exp",
- "gemini-1.5-pro",
- "gemini-1.5-flash",
- "gemini-1.0-pro",
] as const;
// WARNING: The first entry in the array is chosen as the default model to add LLM API keys. Make sure it supports top_p, max_tokens and temperature.