Files
plugins/packages/agy-cli/test
yetone 857d43a8c9 agy-cli 0.1.7: Gemini 4 Carbon (Ultra) gets its limits, 1M context and 262144 output (jinzheio on X)
Antigravity's fetchAvailableModels names Gemini 4 Carbon (id gemini-4-carbon,
"available to Ultra plan subscribers", maxTokens 1048576, maxOutputTokens
262144). agy-cli listed the model from `agy models` but gave it no limit, as
modelLimits knew only Argon and 3.8 Flash. Added the family with Google's own
numbers.

Run: bun test agy-cli.test.mjs (all pass) with HOME a temp dir. The new
catalog test is red on the old code (limit undefined) and green with the fix.
Real account: the owner's Antigravity account is free-tier and lists Carbon
as disabled ("Unavailable"); no Ultra account was available, so a Carbon
request was not sent. No region error from this machine (a gemini-3.8-flash
request through the live gateway answered).
Not tried: agy with an Ultra account; the reporter's region restriction.
2026-11-13 00:49:04 +08:00
..