Skip to content

fix(antigravity): merge Pro and Flash into shared Gemini pool - #2

Merged
yesme merged 1 commit into
mainfrom
fix/antigravity-shared-gemini-pool
Jul 21, 2026
Merged

fix(antigravity): merge Pro and Flash into shared Gemini pool#2
yesme merged 1 commit into
mainfrom
fix/antigravity-shared-gemini-pool

Conversation

@yesme

@yesme yesme commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Antigravity IDE treats Gemini Pro and Flash as one shared quota pool (GetUserStatus returns identical remaining for all Gemini variants; RetrieveUserQuotaSummary groups them under "Gemini Models").
  • onWatch previously split them into "Gemini Pro Quota" and "Gemini Flash Quota" cards, so both always showed the same usage and looked broken.
  • This PR groups all Gemini models under a single Gemini Quota pool alongside Claude + GPT.

Changes

  • Canonical group: antigravity_gemini ("Gemini Quota")
  • Legacy keys antigravity_gemini_pro / antigravity_gemini_flash normalize to the shared pool
  • Session table / cycle overview / chart labels updated to 2 pools
  • Tests updated for 2-group layout

Test plan

  • go test -race for api/store/agent/web antigravity-related suites
  • go vet on touched packages
  • After merge: rebuild binary, restart daemon, confirm IDE mode shows 2 cards (Claude+GPT + Gemini) with matching live LS numbers

IDE GetUserStatus and RetrieveUserQuotaSummary both treat Gemini Pro and
Flash as one shared quota. Splitting them into two cards showed identical
usage and looked like a bug. Group all Gemini models under a single
"Gemini Quota" pool; keep legacy pro/flash keys as aliases.

Co-authored-by: Grok <grok@x.ai>
@yesme
yesme merged commit 21d3e8c into main Jul 21, 2026
@yesme
yesme deleted the fix/antigravity-shared-gemini-pool branch July 21, 2026 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant