Repository navigation
feat(antigravity): add Gemini 4 Argon model variants and enums - #448
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Reviewed P2 — Respect discovered Argon unavailability before enabling the shipped variants. The additions at wire.ts:24–26 enable Argon for every subscription, including accounts whose successful discovery returns Reproduced with the real plugin host and model registry using a normal mock OAuth credential and a stubbed successful Validation
Limits / test gap: The new continuation test checks unwrapped response text, then manually constructs the next assistant message with signatures; it does not pass the first response through the parser and durable Session history to build the continuation. Existing Gemini protocol tests pass, but an Argon Session round trip would provide stronger coverage of Google's signature-preservation requirement. Google's official agy 1.3.4 artifact (SHA-512 matched its release manifest) contains all six added/updated model IDs; I did not independently establish the numeric enum-to-ID pairings or token limits from public documentation. Full monorepo |
Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
agy1.3.4 (gemini-4-argon-high,gemini-4-argon-medium,gemini-4-argon-low) toGoogleAntigravityWire.shippedModelswith their authoritative Cloud Code model enums (MODEL_PLACEHOLDER_M417,MODEL_PLACEHOLDER_M418,MODEL_PLACEHOLDER_M419) and1,048,576/65,536limits.gemini-3.8-flash-high(MODEL_PLACEHOLDER_M318),gemini-3.8-flash-medium(MODEL_PLACEHOLDER_M319), andgemini-3.8-flash-low(MODEL_PLACEHOLDER_M320).disabledonfetchAvailableModelscatalog entries and filter out disabled /-disabledplaceholder entries (such asgemini-4-argon-disabled/MODEL_PLACEHOLDER_M421returned to non-Ultra tiers).a7e864f739) model-specific 5h quota attribution (gemini:5hvs3p:5h) and add unit + core host/session coverage for Gemini 4 Argon request wrapping, thinking config, tool-call/continuation withthoughtSignature, and 429 error classification.Made with Cursor