The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(solstice): offer Gemini 3.1 Pro, 3.8 Flash and 3.5 Flash Lite
Ben Barclayb605c79ab240
diff --git a/plugins/model-providers/solstice/__init__.py b/plugins/model-providers/solstice/__init__.pyindex 5ea1e954346..55dec5f228d 100644--- a/plugins/model-providers/solstice/__init__.py+++ b/plugins/model-providers/solstice/__init__.py@@ -21,10 +21,10 @@ from .auth import broker_token_request, discover_client# HTTP stack (PM's runtime reads config, which lists providers), so the transport loads on first use.INFERENCE_BASE_URL = "https://generativelanguage.googleapis.com/v1alpha"-# Verified on the per-user-quota endpoint, which has no model listing a user token may read (its+# 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 flash family is exhausted.-FALLBACK_MODELS = ("gemini-3.5-flash", "gemini-flash-latest", "gemini-flash-lite-latest")+# reserve once the larger models are exhausted.+FALLBACK_MODELS = ("gemini-3.1-pro", "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.jsonindex a5262861dfd..325e4a78b53 100644--- a/tests/fixtures/provider_wire_snapshot.json+++ b/tests/fixtures/provider_wire_snapshot.json@@ -10602,7 +10602,7 @@"role": "user"}],- "model": "gemini-3.5-flash",+ "model": "gemini-3.1-pro","timeout": 1800.0,"tools": [{@@ -10625,7 +10625,7 @@}]},- "model": "gemini-3.5-flash",+ "model": "gemini-3.1-pro","off": {"messages": [{@@ -10660,7 +10660,7 @@"role": "user"}],- "model": "gemini-3.5-flash",+ "model": "gemini-3.1-pro","timeout": 1800.0,"tools": [{@@ -10717,7 +10717,7 @@"role": "user"}],- "model": "gemini-3.5-flash",+ "model": "gemini-3.1-pro","timeout": 1800.0,"tools": [{