Skip to content

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

Open
yesme wants to merge 1 commit into
onllm-dev:mainfrom
yesme:fix/antigravity-shared-gemini-pool-upstream
Open

fix(antigravity): merge Pro and Flash into shared Gemini pool#103
yesme wants to merge 1 commit into
onllm-dev:mainfrom
yesme:fix/antigravity-shared-gemini-pool-upstream

Conversation

@yesme

@yesme yesme commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

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
  • Local rebuild + restart; IDE mode shows Claude+GPT + Gemini only

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>
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