Files
magpie/internal/catalog
yetone af3334533d catalog: a Gemini models.dev doesn't list yet takes its generation's window (stockAAAAA on X)
gemini-4-carbon read no context window while gemini-4-argon had 1M:
models.dev lists a new Gemini a day after Google's lists name it, and
magpie's bundled copy (11-10) and a fresh cache lacked it. ContextOf now
ends on geminiKinWindow: the window every listed gemini-<N>-* agrees on,
none when they differ or for a point release (gemini-3.8-flash). Google's
model page (aistudio.google.com/docs/models) gives both 4 Argon and 4
Carbon 1M. Reaches every route that asks ContextOf: Antigravity and
Gemini API lists with no limit, Code Assist, Vertex, Copilot, relays.

Run (mote): go test ./internal/catalog ok; go vet darwin/linux/windows
ok; gofmt clean. Broken by hand: with the fallback returning 0 the new
test is red (carbon and nova read 0). Full ./internal/provider has 3 reds
(TestAddSameKeyOtherFormat, TestQuotaSpanCarriesEveryWindowField,
TestKeptQuotaReportAsksNobody) that fail identically with my change
stashed, on origin/main c43314792; not mine. Not tried: a real
Antigravity account listing carbon.
2026-11-12 00:01:06 +08:00
..