From 1a4a23f1314d8001d05c0111ecf986e797dfd963 Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 1 Jun 2026 00:03:13 -0700 Subject: [PATCH] [eric] models: gemini 3.5 flash is api-key only since pinned 9router 0.3.60 has no gc/ route for it (verified against the 0.3.60 model registry); opus 4.8 cc/ confirmed via passthrough --- backend/apps/agents/providers/registry.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/backend/apps/agents/providers/registry.py b/backend/apps/agents/providers/registry.py index afa8570b..54504b5d 100644 --- a/backend/apps/agents/providers/registry.py +++ b/backend/apps/agents/providers/registry.py @@ -114,11 +114,12 @@ BUILTIN_MODELS: dict[str, list[dict[str, Any]]] = { # but tools and thinking work). 3-pro / 3-flash route via Antigravity when # the AG OAuth lane is active; gc/ otherwise. "Google": [ - # Gemini 3.5 Flash (GA 2026-05-19): Google's current recommended flash, most - # intelligent for sustained agentic/coding work. New flagship flash slot. - {"value": "gemini-3.5-flash", "label": "Gemini 3.5 Flash", - "context_window": 1_000_000, "router_model_id": "gc/gemini-3.5-flash", - "api": "gemini-cli", "subscription_only": True, "reasoning": True}, + # Gemini 3.5 Flash (GA 2026-05-19) is offered on the API-key route ONLY (see + # the api entry below). Its gc/ subscription entry was pulled because the + # pinned 9Router 0.3.60 registry has no gemini-3.5-flash and the gc/ route + # allowlists (every other shipped Gemini sub model IS in 0.3.60), so gc/ + # gemini-3.5-flash would 404. Re-add the gc/ entry once 9Router is bumped + # past 0.3.60 (gated by the WebSearch-translation regression; see CLAUDE.md). {"value": "gemini-3.1-pro", "label": "Gemini 3.1 Pro", "context_window": 1_000_000, "router_model_id": "gc/gemini-3.1-pro-preview", "api": "gemini-cli", "subscription_only": True, "reasoning": True},