fix: use Gemini 3.1 Pro preview handles (#1326)

Co-authored-by: Letta Code <noreply@letta.com>
This commit is contained in:
Kevin Lin
2026-03-10 10:14:54 -07:00
committed by GitHub
parent a1cdda9467
commit 49dc155cdf
2 changed files with 5 additions and 16 deletions

View File

@@ -250,7 +250,7 @@ function getModelForToolLoading(
return "openai/gpt-4";
}
if (specifiedToolset === "gemini") {
return "google/gemini-3-pro";
return "google_ai/gemini-3.1-pro-preview";
}
if (specifiedToolset === "default") {
return "anthropic/claude-sonnet-4";

View File

@@ -1282,17 +1282,6 @@
"parallel_tool_calls": true
}
},
{
"id": "gemini-3",
"handle": "google_ai/gemini-3-pro-preview",
"label": "Gemini 3 Pro",
"description": "Google's smartest model",
"updateArgs": {
"context_window": 180000,
"temperature": 1.0,
"parallel_tool_calls": true
}
},
{
"id": "gemini-3-flash",
"handle": "google_ai/gemini-3-flash-preview",
@@ -1365,10 +1354,10 @@
}
},
{
"id": "gemini-3-vertex",
"handle": "google_vertex/gemini-3-pro-preview",
"label": "Gemini 3 Pro",
"description": "Google's smartest Gemini 3 Pro model (via Vertex AI)",
"id": "gemini-3.1-vertex",
"handle": "google_vertex/gemini-3.1-pro-preview",
"label": "Gemini 3.1 Pro",
"description": "Google's latest Gemini 3.1 Pro model (via Vertex AI)",
"updateArgs": {
"context_window": 180000,
"temperature": 1.0,