Repository navigation
fix(cloud-account): group Gemini 4 Argon and 3.8 Flash quota families - #367
Merged
Draculabo merged 1 commit intoOct 23, 2026
Merged
Conversation
Antigravity advertises gemini-4-argon-{low,medium,high} and
gemini-3.8-flash-{low,medium,high}, but the quota model registry only
knew families up to Gemini 3.7 Flash. Unknown ids stay independent, so
each family rendered as three rows with raw ids and the conservative
family summary counted every tier as a separate model.
Register both families with their product display names and map the
family ids to their physical tiers for the availability badge lookup.
Both families keep the conservative aggregation instead of joining
EXACT_PRESENTATION_FAMILIES because each draws from one shared allowance.
Summary of ChangesLGTM. The pull request correctly registers and collapses the
🤖 Reviewed by codereviewbot.ai - Catch bugs before your team does. |
Contributor
Author
|
Both That is a dependency mismatch in the current lockfile ( How the affected behavior was verified instead, on Windows 11 with Node
|
Draculabo
approved these changes
Oct 23, 2026
Draculabo
pushed a commit
that referenced
this pull request
Oct 23, 2026
# 🚀 Antigravity Manager Release v0.26.0 **Release Date:** 2026-10-23 **Since v0.25.2:** 15 commits · 6 merged PRs · 3 verified contributors > This release includes updates in Tooling & Maintenance, Desktop & User Experience, Documentation, Accounts & Core. --- ## ✨ Highlights - **Feature** — add evidence-backed agent lessons ([dbd2b25](dbd2b25)) - **Feature** — add weekly quota summary and support Claude/GPT items in minima… ([#364](#364)) - **Fix** — improve client detection and switch failure diagnostics ([d472eaa](d472eaa)) - **Fix** — group Gemini 4 Argon and 3.8 Flash quota families ([#367](#367)) - **Fix** — apply AppImage maker patch with pnpm ([420ea77](420ea77)) --- ## 🔧 Tooling & Maintenance - **Maintenance** — unify agent checks and document lifecycle ([78910c9](78910c9)) - **Feature** — add evidence-backed agent lessons ([dbd2b25](dbd2b25)) - **Change** — Further optimize the display effect of the minimal mode. ([#357](#357)) - **Build** — migrate to pnpm and Node 24 ([ccec07e](ccec07e)) - **Fix** — improve client detection and switch failure diagnostics ([d472eaa](d472eaa)) - **Feature** — add weekly quota summary and support Claude/GPT items in minima… ([#364](#364)) - **Change** — Dev/d1021 2 ([#365](#365)) - **Fix** — apply AppImage maker patch with pnpm ([420ea77](420ea77)) --- ## 🖥️ Desktop & User Experience - **Maintenance** — update package metadata to v0.25.2 ([#353](#353)) --- ## 📚 Documentation - **Documentation** — organize guides by module ownership ([2f029a3](2f029a3)) - **Documentation** — refresh bilingual READMEs and application screenshots ([c97c8a8](c97c8a8)) - **Documentation** — clarify contribution workflow and onboarding ([3db10bf](3db10bf)) - **Documentation** — split development security and testing guides by owner ([f3225fa](f3225fa)) - **Documentation** — add Swiftproxy sponsor ([#362](#362)) --- ## 🏗️ Accounts & Core - **Fix** — group Gemini 4 Argon and 3.8 Flash quota families ([#367](#367)) --- ## 👥 Contributors Thanks to everyone who contributed to this release. @FisherMS · @Draculabo · @timacek <details> <summary>Merged pull requests and authors</summary> - chore(linux): update package metadata to v0.25.2 by @Draculabo ([#353](#353)) - Further optimize the display effect of the minimal mode. by @FisherMS ([#357](#357)) - docs: add Swiftproxy sponsor by @Draculabo ([#362](#362)) - feat: add weekly quota summary and support Claude/GPT items in minima… by @FisherMS ([#364](#364)) - Dev/d1021 2 by @FisherMS ([#365](#365)) - fix(cloud-account): group Gemini 4 Argon and 3.8 Flash quota families by @timacek ([#367](#367)) </details> --- **Full Changelog:** v0.25.2...v0.26.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Antigravity now advertises two Gemini families that the quota model registry does not know:
gemini-4-argon-{low,medium,high}andgemini-3.8-flash-{low,medium,high}.Because
getQuotaModelFamilyIdreturns the raw id for unknown models, each family falls through asthree unrelated quota entries:
Gemini 4 Argon High,Gemini 4 Argon Low, ...)instead of one family row with the product display name, and each row gets its own percentage;
separate model, so one family can dominate the list and the aggregate is not comparable with
Gemini 3.7 Flash,Gemini 3.5 FlashorGemini 3.1 Pro;getAvailabilityModelCandidateshas no candidates for the family id, so the live-availabilitybadge cannot resolve physical ids for the aggregated row.
Both families draw from a shared upstream allowance (Argon is documented as one separate weekly-only
allowance; 3.8 Flash shares the Gemini pool), so the existing conservative family aggregation
(minimum remaining percentage, earliest reset) is the correct presentation for them.
Changes
src/modules/cloud-account/utils/quota-model-families.tsFAMILY_DISPLAY_NAMES: addgemini-4-argon→Gemini 4 Argon,gemini-3.8-flash→Gemini 3.8 Flash.getQuotaModelFamilyId: register both families before the 3.7/3.6 Flash rule.EXACT_PRESENTATION_FAMILIES: the families are rendered as one row, matching thedocumented shared allowance, rather than one row per physical tier.
src/modules/cloud-account/components/CloudAccountCard.tsxgetAvailabilityModelCandidates: map the two family ids to their physical tier ids.src/tests/unit/quota-model-families.test.tsPhysical ids and display names were confirmed from a live Google AI Pro account (
agy models).Validation
Run on Windows 11, Node
24.22.0, pnpm10.34.6.node ./node_modules/vitest/vitest.mjs runonsrc/tests/unit/quota-model-families.test.ts(vitest 4.1.8, harness pointed at this worktree because
maincurrently failspnpm run check:ci tests:the lockfile pairs
vitest@4.1.8withvite@5.4.21, and vitest importsvite/module-runner,which Vite 5 does not export. Both
tests-unitjobs fail onmainat that step).Result: 12/12 pass.
9 existing ones, so the new assertions cover the behavior.
prettier --checkon the three changed files: pass.eslinton the three changed files: pass.tsc --noEmit: pass.Limitations
The exact quota-summary payload for Argon was not captured from a live account, so the change is
verified at unit level plus the live model list. If Google reports the Argon allowance as a quota
group instead of per-model entries, the existing group path already renders it and this mapping is
unaffected.
No packaged-app screenshot: the change is limited to family aggregation keys and has unit coverage.
The change is focused and excludes unrelated edits.
Relevant behavior and documentation have been checked for this change.
The diff and attachments contain no credentials, private data or generated application artifacts.