Skip to content

The agent that grows with you

fix(solstice): use the gemini-3.1-pro-preview model ID

Ben Barclaye5723d4dc9cb
diff --git a/plugins/model-providers/solstice/__init__.py b/plugins/model-providers/solstice/__init__.py
index 55dec5f228d..5ebd3df1f8e 100644
--- a/plugins/model-providers/solstice/__init__.py
+++ b/plugins/model-providers/solstice/__init__.py
@@ -24,7 +24,7 @@ INFERENCE_BASE_URL = "https://generativelanguage.googleapis.com/v1alpha"
# Hardcoded because the per-user-quota endpoint has no model listing a user token may read (its
# /models answers 403 ACCESS_TOKEN_SCOPE_INSUFFICIENT). Quota is per model, so lite stays last as the
# reserve once the larger models are exhausted.
-FALLBACK_MODELS = ("gemini-3.1-pro", "gemini-3.8-flash", "gemini-3.5-flash-lite")
+FALLBACK_MODELS = ("gemini-3.1-pro-preview", "gemini-3.8-flash", "gemini-3.5-flash-lite")
# The broker owns client_id/scope (discovered per login); refresh needs neither, the broker adds them.
_BASE_CFG = OAuthPKCEConfig(
diff --git a/tests/fixtures/provider_wire_snapshot.json b/tests/fixtures/provider_wire_snapshot.json
index 325e4a78b53..6d9f18cb172 100644
--- a/tests/fixtures/provider_wire_snapshot.json
+++ b/tests/fixtures/provider_wire_snapshot.json
@@ -10602,7 +10602,7 @@
"role": "user"
}
],
- "model": "gemini-3.1-pro",
+ "model": "gemini-3.1-pro-preview",
"timeout": 1800.0,
"tools": [
{
@@ -10625,7 +10625,7 @@
}
]
},
- "model": "gemini-3.1-pro",
+ "model": "gemini-3.1-pro-preview",
"off": {
"messages": [
{
@@ -10660,7 +10660,7 @@
"role": "user"
}
],
- "model": "gemini-3.1-pro",
+ "model": "gemini-3.1-pro-preview",
"timeout": 1800.0,
"tools": [
{
@@ -10717,7 +10717,7 @@
"role": "user"
}
],
- "model": "gemini-3.1-pro",
+ "model": "gemini-3.1-pro-preview",
"timeout": 1800.0,
"tools": [
{