Skip to content

Commit a70bb78

Browse files
committed
fix(google): route Gemini Flash to the renamed -tiered wire ids
Google renamed the live Flash model ids on both Cloud Code Assist and the Generative Language API, appending a `-tiered` suffix. `gemini-3.7-flash` now 404s on both surfaces, which took out the Antigravity default model: gemini-3.7-flash -> 404 Requested entity was not found gemini-3.7-flash-tiered -> 200 The failure was invisible from the picker, because the base id is still the name the catalog, the usage log and the price overlays are keyed on. Only the request path was wrong, so the fix is confined to the wire: - Antigravity: GEMINI_FLASH_WIRE_ID carries the CCA spelling. The picker id stays gemini-3.7-flash (pickerModelIdForDiscoveredWireId already strips the suffix on discovery), and resolveAntigravityEffortWireModel emits the wire id for both the thinkingLevel rule and the retired-tier rule. - Direct AI Studio: resolveDirectGeminiWireModelId maps the renamed ids before they reach the URL path. 3.5 is deliberately absent — it is not deprecated, and a blanket suffix would break the generation that still works. - The wire context-window key moves with the rename; the retired-id aliases derive their window from that table, so leaving it stale would silently blank the context window for every retired selection. - Registry/free-directory publish gemini-3.7-flash on the direct Google surface. Verified live against the running proxy: 3.5-flash, 3.6-flash, 3.7-flash and the retired 3.5/3.6 aliases all return 200 on both Antigravity and direct, and the effort ladder reaches the wire (reasoning_tokens 0/27/84 for low/medium/high). Regression tests pin the URL path and the picker/usage/price separation; both were driven red against the pre-fix tree.
1 parent 36aed0b commit a70bb78

10 files changed

Lines changed: 181 additions & 32 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# 000 — gemini-tiered-wire-ids: Plan
2+
3+
## Objective
4+
5+
Google renamed Gemini model wire IDs. gemini-3.7-flash is now gemini-3.7-flash-tiered,
6+
gemini-3.6-flash is now gemini-3.6-flash-tiered. gemini-3.5-flash is unchanged.
7+
Evidence: live API 404 on gemini-3.7-flash, 200 on gemini-3.7-flash-tiered.
8+
9+
## Loop-spec
10+
11+
- Loop archetype: verifier-defined (API returns 200 or 404)
12+
- Write scope: antigravity-models, registry, free-directory, google adapter, oauth, expected-prices, model-rename-migration, generated metadata, tests
13+
- Budget: single PABCD cycle
14+
15+
## Work-phase map
16+
17+
| WP | Doc | Slice | Depends on |
18+
|----|-----|-------|------------|
19+
| 1 | 010 | Wire ID updates across all source + tests | none |
20+
21+
## Accept criteria
22+
23+
- gemini-3.5-flash works via OCX proxy (200)
24+
- gemini-3.6-flash-tiered works via OCX proxy direct google (200)
25+
- gemini-3.7-flash-tiered works via OCX proxy antigravity (200)
26+
- bun run test passes
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# 010 — Phase 1 (gemini-tiered-wire-ids)
2+
3+
> DIFFLEVEL-ROADMAP-01: write this doc to full diff-level precision (exact paths,
4+
> NEW/MODIFY/DELETE, before/after diffs) BEFORE P -> A. An empty scaffold does not
5+
> satisfy the rule; the A-phase reviewer FAILS outline-only phase docs.
6+
7+
## MODIFY / NEW / DELETE map
8+
9+
(fill in: exact file paths with before/after diffs — a copy-paste-executable PRD)
10+
11+
## TESTS
12+
13+
(fill in: test files + cases)
14+
15+
## Verification (C)
16+
17+
(fill in: exact commands + expected exit codes)

‎src/adapters/google.ts‎

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,25 @@ const GOOGLE_BREVITY_INSTRUCTION = [
4545
"- This applies only to intermediate progress text. Your final answer after the work is done is exempt: write it in full and at whatever length the task requires.",
4646
].join("\n");
4747

48+
/**
49+
* Google renamed the current Gemini Flash generations on the Generative Language API,
50+
* appending a `-tiered` suffix (`gemini-3.7-flash` -> `gemini-3.7-flash-tiered`). The
51+
* old `gemini-3.7-flash` path 404s, so a saved config or registry entry naming the base
52+
* id must be resolved here before it reaches the URL. The user-facing id is deliberately
53+
* left alone: the picker, the catalog, the usage log and the price overlays all stay
54+
* keyed on the base id, and only the wire path learns the new spelling.
55+
*/
56+
const GEMINI_DIRECT_WIRE_RENAMES: Record<string, string> = {
57+
"gemini-3.7-flash": "gemini-3.7-flash-tiered",
58+
"gemini-3.6-flash": "gemini-3.6-flash-tiered",
59+
};
60+
61+
function resolveDirectGeminiWireModelId(modelId: string): string {
62+
return Object.hasOwn(GEMINI_DIRECT_WIRE_RENAMES, modelId)
63+
? GEMINI_DIRECT_WIRE_RENAMES[modelId]!
64+
: modelId;
65+
}
66+
4867
/** Vertex API key: provider.apiKey if it looks real (not a sentinel), else GOOGLE_CLOUD_API_KEY env. */
4968
function resolveVertexApiKey(optKey?: string): string | undefined {
5069
const realKey = optKey && !optKey.startsWith("<") && optKey !== "N/A" ? optKey : undefined;
@@ -353,7 +372,7 @@ export function createGoogleAdapter(provider: OcxProviderConfig): ProviderAdapte
353372
parsed.modelId,
354373
mapReasoningEffort(provider, parsed.modelId, parsed.options.reasoning),
355374
).wireModelId
356-
: parsed.modelId;
375+
: resolveDirectGeminiWireModelId(parsed.modelId);
357376
const { systemInstruction, contents } = messagesToGeminiFormat(parsed, routedModelId);
358377
const tools = toolsToGeminiFormat(parsed);
359378

@@ -501,7 +520,7 @@ export function createGoogleAdapter(provider: OcxProviderConfig): ProviderAdapte
501520
}
502521

503522
// ai-studio (default): Generative Language API + x-goog-api-key.
504-
const url = `${provider.baseUrl}/v1beta/models/${parsed.modelId}:${method}${streamParam}`;
523+
const url = `${provider.baseUrl}/v1beta/models/${routedModelId}:${method}${streamParam}`;
505524
const apiKey = provider.apiKey?.trim();
506525
if (!apiKey) throw new Error("google (AI Studio) requires a non-empty API key");
507526
headers["x-goog-api-key"] = apiKey;

‎src/providers/antigravity-models.ts‎

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ import { isValidModelDiscoveryModelId, MODEL_DISCOVERY_MAX_MODELS } from "./mode
1414
/** Current Antigravity Flash generation. */
1515
const GEMINI_FLASH_CURRENT = "gemini-3.7-flash";
1616

17+
/**
18+
* Wire ID that CCA actually accepts for the current Flash generation.
19+
* Google renamed the model to include a `-tiered` suffix; the picker-visible
20+
* ID stays `gemini-3.7-flash` (stripped by `pickerModelIdForDiscoveredWireId`).
21+
*/
22+
const GEMINI_FLASH_WIRE_ID = "gemini-3.7-flash-tiered";
23+
1724
/**
1825
* Retired Flash ids → the reasoning tier they used to encode.
1926
*
@@ -42,7 +49,7 @@ const RETIRED_FLASH_TIERS: Record<string, string> = {
4249
};
4350

4451
const ANTIGRAVITY_WIRE_MODELS = [
45-
"gemini-3.7-flash",
52+
"gemini-3.7-flash-tiered",
4653
"gemini-3.1-pro-low",
4754
"gemini-pro-agent",
4855
"gemini-3.1-flash-image",
@@ -133,6 +140,19 @@ const ANTIGRAVITY_THINKING_LEVEL_MODELS: Record<string, string> = {
133140
// Flash generation, where it is an error rather than a quieter tier.
134141
const ANTIGRAVITY_THINKING_LEVELS = new Set(["low", "medium", "high"]);
135142

143+
/**
144+
* Picker-visible model IDs whose CCA wire ID differs (the `-tiered` rename).
145+
* Models not listed here use themselves as the wire ID.
146+
*/
147+
const ANTIGRAVITY_PICKER_TO_WIRE: Record<string, string> = {
148+
"gemini-3.7-flash": GEMINI_FLASH_WIRE_ID,
149+
};
150+
151+
/** Map a picker-visible base model to its CCA wire ID. Identity when no mapping exists. */
152+
function pickerToWireId(pickerId: string): string {
153+
return ANTIGRAVITY_PICKER_TO_WIRE[pickerId] ?? pickerId;
154+
}
155+
136156
function resolveAntigravityThinkingLevel(effort: string): string | undefined {
137157
if (effort === "xhigh" || effort === "max" || effort === "ultra") return "high";
138158
return ANTIGRAVITY_THINKING_LEVELS.has(effort) ? effort : undefined;
@@ -157,7 +177,7 @@ const ANTIGRAVITY_COMPATIBILITY_MODEL_ALIASES: Record<string, string> = {
157177
// because `parseAntigravityAvailableModels` uses THIS map to keep a stale CCA
158178
// payload from republishing a dead wire id as a picker row.
159179
...Object.fromEntries(
160-
Object.keys(RETIRED_FLASH_TIERS).map(retired => [retired, GEMINI_FLASH_CURRENT]),
180+
Object.keys(RETIRED_FLASH_TIERS).map(retired => [retired, GEMINI_FLASH_WIRE_ID]),
161181
),
162182
};
163183

@@ -182,7 +202,7 @@ function isKnownAntigravityPickerModelId(value: string): boolean {
182202

183203
// Context windows from the upstream `:fetchAvailableModels` maxTokens per model.
184204
const ANTIGRAVITY_WIRE_MODEL_CONTEXT_WINDOWS: Record<string, number> = {
185-
"gemini-3.7-flash": 1_048_576,
205+
"gemini-3.7-flash-tiered": 1_048_576,
186206
"gemini-3.1-pro-low": 1_048_576,
187207
"gemini-pro-agent": 1_048_576,
188208
"gemini-3.1-flash-image": 1_048_576,
@@ -357,7 +377,7 @@ export function resolveAntigravityEffortWireModel(
357377
const retiredTier = retiredAntigravityFlashTier(modelId);
358378
if (retiredTier) {
359379
return {
360-
wireModelId: GEMINI_FLASH_CURRENT,
380+
wireModelId: GEMINI_FLASH_WIRE_ID,
361381
thinkingLevel: effort ? resolveAntigravityThinkingLevel(effort) ?? retiredTier : retiredTier,
362382
};
363383
}
@@ -372,7 +392,7 @@ export function resolveAntigravityEffortWireModel(
372392
const defaultLevel = ANTIGRAVITY_THINKING_LEVEL_MODELS[modelId];
373393
if (defaultLevel) {
374394
return {
375-
wireModelId: modelId,
395+
wireModelId: pickerToWireId(modelId),
376396
thinkingLevel: effort ? resolveAntigravityThinkingLevel(effort) ?? defaultLevel : defaultLevel,
377397
};
378398
}

‎src/providers/free-directory.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const CONNECTABLE: Record<string, ConnectableOverride> = {
8282
"cloudflare-ai": openAi("https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1", "https://dash.cloudflare.com/?to=/:account/ai/workers-ai", { supportLevel: "supported", verification: "official", documentationUrl: "https://developers.cloudflare.com/workers-ai/configuration/open-ai-compatibility/", discovery: "static", liveModels: false, models: ["@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/qwen/qwq-32b"] }),
8383
cohere: openAi("https://api.cohere.com/compatibility/v1", "https://dashboard.cohere.com/api-keys", { supportLevel: "supported", verification: "official", documentationUrl: "https://docs.cohere.com/reference/list-models", modelsUrl: "https://api.cohere.com/compatibility/v1/models" }),
8484
friendliai: openAi("https://api.friendli.ai/serverless/v1", "https://suite.friendli.ai", { modelsUrl: "https://api.friendli.ai/serverless/v1/models" }),
85-
gemini: { baseUrl: "https://generativelanguage.googleapis.com", dashboardUrl: "https://aistudio.google.com/apikey", adapter: "google", authKind: "key", supportLevel: "supported", verification: "official", documentationUrl: "https://ai.google.dev/api/models", lastVerified: LAST_VERIFIED, discovery: "live", liveModels: true, googleMode: "ai-studio", models: ["gemini-3.6-flash", "gemini-3.5-flash", "gemini-3.5-flash-lite", "gemini-3.1-pro-preview"] },
85+
gemini: { baseUrl: "https://generativelanguage.googleapis.com", dashboardUrl: "https://aistudio.google.com/apikey", adapter: "google", authKind: "key", supportLevel: "supported", verification: "official", documentationUrl: "https://ai.google.dev/api/models", lastVerified: LAST_VERIFIED, discovery: "live", liveModels: true, googleMode: "ai-studio", models: ["gemini-3.7-flash", "gemini-3.6-flash", "gemini-3.5-flash", "gemini-3.5-flash-lite", "gemini-3.1-pro-preview"] },
8686
"github-models": openAi("https://models.github.ai/inference", "https://github.com/settings/tokens", { supportLevel: "supported", verification: "official", documentationUrl: "https://docs.github.com/en/github-models/prototyping-with-ai-models", discovery: "static", liveModels: false, models: ["openai/gpt-4.1", "meta/llama-4-scout-17b-16e-instruct"] }),
8787
groq: openAi("https://api.groq.com/openai/v1", "https://console.groq.com/keys", { supportLevel: "supported", verification: "official", documentationUrl: "https://console.groq.com/docs/api-reference#models" }),
8888
hackclub: openAi("https://ai.hackclub.com/proxy/v1", "https://ai.hackclub.com", { modelsUrl: "https://ai.hackclub.com/proxy/v1/models" }),

‎src/providers/registry.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,12 +1438,13 @@ export const PROVIDER_REGISTRY: readonly ProviderRegistryEntry[] = [
14381438
// devlog/_plan/260710_provider_hardening/001_research_frontier.md.
14391439
{
14401440
id: "google", label: "Google Gemini", adapter: "google", baseUrl: "https://generativelanguage.googleapis.com", authKind: "key", featured: true,
1441-
dashboardUrl: "https://aistudio.google.com/apikey", defaultModel: "gemini-3.5-flash", models: ["gemini-3.6-flash", "gemini-3.5-flash", "gemini-3.5-flash-lite", "gemini-3.1-pro-preview"],
1442-
modelContextWindows: { "gemini-3.6-flash": 1_048_576, "gemini-3.5-flash": 1_000_000, "gemini-3.5-flash-lite": 1_048_576 },
1443-
modelInputModalities: { "gemini-3.6-flash": ["text", "image"], "gemini-3.5-flash-lite": ["text", "image"] },
1441+
dashboardUrl: "https://aistudio.google.com/apikey", defaultModel: "gemini-3.5-flash", models: ["gemini-3.6-flash", "gemini-3.5-flash", "gemini-3.5-flash-lite", "gemini-3.1-pro-preview", "gemini-3.7-flash"],
1442+
modelContextWindows: { "gemini-3.6-flash": 1_048_576, "gemini-3.5-flash": 1_000_000, "gemini-3.5-flash-lite": 1_048_576, "gemini-3.7-flash": 1_048_576 },
1443+
modelInputModalities: { "gemini-3.6-flash": ["text", "image"], "gemini-3.5-flash-lite": ["text", "image"], "gemini-3.7-flash": ["text", "image"] },
14441444
modelReasoningEfforts: {
14451445
"gemini-3.6-flash": ["minimal", "low", "medium", "high"],
14461446
"gemini-3.5-flash": ["minimal", "low", "medium", "high"],
1447+
"gemini-3.7-flash": ["minimal", "low", "medium", "high"],
14471448
"gemini-3.1-pro-preview": ["low", "medium", "high"],
14481449
},
14491450
jawcodeBundle: "google", extraMetadataAliases: ["gemini"],

‎tests/gemini-37-flash-migration.test.ts‎

Lines changed: 66 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ import { projectModelRenames } from "../src/providers/model-rename-migration";
1414
import { EXPECTED_PRICE_OVERLAYS } from "../src/usage/expected-prices";
1515
import { mapReasoningEffort } from "../src/reasoning-effort";
1616
import { resolveMatchedPrice } from "../src/usage/cost";
17-
import type { OcxConfig } from "../src/types";
17+
import { createGoogleAdapter } from "../src/adapters/google";
18+
import type { OcxConfig, OcxParsedRequest, OcxProviderConfig } from "../src/types";
1819

1920
// Google takes the previous Antigravity Flash generation off Cloud Code Assist almost
2021
// immediately once the next one ships. That makes 3.6 -> 3.7 a REPLACEMENT, and the
@@ -64,14 +65,14 @@ describe("retired Flash ids keep routing AND keep their tier", () => {
6465
"%s routes to 3.7 carrying thinkingLevel %s",
6566
(retired, expectedLevel) => {
6667
const resolved = resolveAntigravityEffortWireModel(retired);
67-
expect(resolved.wireModelId).toBe("gemini-3.7-flash");
68+
expect(resolved.wireModelId).toBe("gemini-3.7-flash-tiered");
6869
expect(resolved.thinkingLevel).toBe(expectedLevel);
6970
},
7071
);
7172

7273
test("an explicit effort still wins over the id's historical tier", () => {
7374
const resolved = resolveAntigravityEffortWireModel("gemini-3.6-flash-low", "high");
74-
expect(resolved.wireModelId).toBe("gemini-3.7-flash");
75+
expect(resolved.wireModelId).toBe("gemini-3.7-flash-tiered");
7576
expect(resolved.thinkingLevel).toBe("high");
7677
});
7778

@@ -86,7 +87,7 @@ describe("retired Flash ids keep routing AND keep their tier", () => {
8687
describe("3.7 reasoning control", () => {
8788
test("an unset effort still sends the documented medium default", () => {
8889
const resolved = resolveAntigravityEffortWireModel("gemini-3.7-flash");
89-
expect(resolved.wireModelId).toBe("gemini-3.7-flash");
90+
expect(resolved.wireModelId).toBe("gemini-3.7-flash-tiered");
9091
// Without an explicit branch this model falls through to the resolver's final rule
9192
// and returns no thinkingConfig at all, silently ignoring reasoning effort.
9293
expect(resolved.thinkingLevel).toBe("medium");
@@ -218,7 +219,7 @@ describe("a saved config survives the retirement", () => {
218219
const prov = config.providers["google-antigravity"]!;
219220
const mapped = mapReasoningEffort(prov, "gemini-3.6-flash", "high");
220221
expect(resolveAntigravityEffortWireModel("gemini-3.6-flash", mapped)).toEqual({
221-
wireModelId: "gemini-3.7-flash",
222+
wireModelId: "gemini-3.7-flash-tiered",
222223
thinkingLevel: "high",
223224
});
224225
});
@@ -262,3 +263,63 @@ describe("retirement does not rewrite history", () => {
262263
expect(matched?.source).not.toBe("jawcode");
263264
});
264265
});
266+
267+
// Google renamed the live Flash wire ids to a `-tiered` spelling. The base id keeps
268+
// 404ing, and the failure is invisible from the picker: the catalog, the usage log and
269+
// the price overlays all still name the base id, so only the request path can prove the
270+
// rename landed. These tests were driven red against the pre-fix tree — every one of
271+
// them returned the un-suffixed id.
272+
describe("the -tiered wire rename reaches the request path", () => {
273+
function directProvider(): OcxProviderConfig {
274+
return {
275+
adapter: "google",
276+
baseUrl: "https://generativelanguage.googleapis.com",
277+
apiKey: "google-test-key",
278+
authMode: "key",
279+
} as OcxProviderConfig;
280+
}
281+
282+
function directRequest(modelId: string): OcxParsedRequest {
283+
return {
284+
modelId,
285+
context: { messages: [{ role: "user", content: "hi" }] },
286+
stream: false,
287+
options: {},
288+
} as OcxParsedRequest;
289+
}
290+
291+
test.each([
292+
["gemini-3.7-flash", "gemini-3.7-flash-tiered"],
293+
["gemini-3.6-flash", "gemini-3.6-flash-tiered"],
294+
])("direct AI Studio sends %s as %s in the URL path", async (requested, wire) => {
295+
const req = await createGoogleAdapter(directProvider()).buildRequest(directRequest(requested));
296+
expect(req.url).toContain(`/v1beta/models/${wire}:generateContent`);
297+
// Not vacuous: the dead base id must not survive anywhere in the path.
298+
expect(req.url).not.toContain(`/models/${requested}:`);
299+
});
300+
301+
test("a model without a rename keeps its own id on the wire", async () => {
302+
// 3.5 is not deprecated; a blanket suffix would break the generation that still works.
303+
const req = await createGoogleAdapter(directProvider()).buildRequest(directRequest("gemini-3.5-flash"));
304+
expect(req.url).toContain("/v1beta/models/gemini-3.5-flash:generateContent");
305+
expect(req.url).not.toContain("-tiered");
306+
});
307+
308+
test("the rename is confined to the wire, leaving the user-facing id intact", () => {
309+
// The picker, the usage rows and the price overlays are all keyed on the base id.
310+
// If the rename leaked into them, saved selections and historical spend would move.
311+
expect(ANTIGRAVITY_MODELS).toContain("gemini-3.7-flash");
312+
expect(ANTIGRAVITY_MODELS).not.toContain("gemini-3.7-flash-tiered");
313+
expect(canonicalAntigravityUsageModel("gemini-3.7-flash")).toBe("gemini-3.7-flash");
314+
expect(resolveMatchedPrice("google-antigravity", "gemini-3.7-flash")?.cost4).toBeDefined();
315+
});
316+
317+
test("the collapsed picker row still carries a context window after the rename", () => {
318+
// The map derives alias entries from the WIRE table, so renaming the wire key without
319+
// keeping the picker entry would silently blank the window for every retired id.
320+
expect(ANTIGRAVITY_MODEL_CONTEXT_WINDOWS["gemini-3.7-flash"]).toBe(1_048_576);
321+
for (const retired of Object.keys(RETIRED_TIERS)) {
322+
expect(ANTIGRAVITY_MODEL_CONTEXT_WINDOWS[retired]).toBe(1_048_576);
323+
}
324+
});
325+
});

0 commit comments

Comments
 (0)