[Bug]: Antigravity Gemini Enterprise (oauth-business) renders 32 per-model-variant 100% quota rows in the limits panel and Usage → Limits #40101
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/server
Steps to reproduce#
- Configure the Antigravity provider with a Gemini Enterprise (
oauth-business) sign-in. - Open any Antigravity thread and click the top-right thread details popover, or open Usage → Limits.
Expected behavior#
Antigravity usage limits should show concise, aggregated quota windows (e.g. by model family or reset window), or report limits as unavailable if the account has no metered quota windows — not dozens of duplicate-looking 100% rows per model and thinking level.
Actual behavior#
Both the thread details popover and Usage → Limits show 32 separate 100% rows — one for every model × thinking level variant (Low, Medium, High, Max, XHigh) — with redundant/broken labels:
- In Usage → Limits:
Gemini · Gemini 3.1 Pro (High),Gemini · Gemini 3.1 Pro (Low),Gemini · Gemini 3.6 Flash (High), …,All Models · Claude Opus 5.5 (High), etc. (32 cards total, all100% left, no reset time). - In the thread details popover: labels truncate (
max-w-28 truncate), producing a long vertical wall of identical-looking lines:All Models · Claud... 100%(×8)Gemini · Gemini 3... 100%(×11)Gemini · Gemini 4... 100%(×13)
Cause:
For oauth-business (Gemini Enterprise), Google's v1internal:retrieveUserQuotaSummary returns an "All Models" group containing one bucket per model+effort variant (e.g. claude-opus-5-5-high, gemini-3.1-pro-high, gemini-4-neon-xhigh) with remainingFraction: 1 and no "5h" / "weekly" window field.
In apps/server/src/provider/antigravityUsageLimits.ts (summaryWindows), T3 assumes the consumer pool format (gemini-5h, gemini-weekly, 3p-5h, 3p-weekly) and converts every non-disabled bucket directly into a ServerProviderUsageWindow:
- Buckets starting with
gemini-are forced to family"Gemini"→ redundantGemini · Gemini 3.1 Pro (High). - Buckets starting with
claude-(not3p-) fall back togroup.displayName("All Models") →All Models · Claude Opus 5.5 (High). - Because
bucket.windowis neither"5h"nor"weekly",bucket.displayNameis used as the suffix andkindbecomes"other". - Unlike the
modelWindowsfallback (which folds models intoGemini/Claude/GPT),summaryWindowsperforms no grouping or filtering, andapps/web/src/components/chat/ThreadDetailsUsage.tsxrenders every window verbatim.
Impact#
Minor bug or occasional failure
Version or commit#
0.1.11 (verified unchanged on main @ 26d81d88c1)
Environment#
Debian 13 (Linux x86_64), T3 Code 0.1.11, Antigravity 1.5.13 (auth.type: oauth-business / Gemini Enterprise)
Logs or stack traces#
# Excerpt from ~/.t3/caches/antigravity.json (32 windows total, all kind: "other", usedPercent: 0, no resetsAt)
{
"auth": {
"status": "authenticated",
"type": "oauth-business",
"label": "Gemini Enterprise"
},
"usageLimits": {
"windows": [
{ "id": "claude-opus-5-5-high", "label": "All Models · Claude Opus 5.5 (High)", "kind": "other", "usedPercent": 0 },
{ "id": "claude-opus-5-5-low", "label": "All Models · Claude Opus 5.5 (Low)", "kind": "other", "usedPercent": 0 },
{ "id": "gemini-3.1-pro-high", "label": "Gemini · Gemini 3.1 Pro (High)", "kind": "other", "usedPercent": 0 },
{ "id": "gemini-3.1-pro-low", "label": "Gemini · Gemini 3.1 Pro (Low)", "kind": "other", "usedPercent": 0 },
{ "id": "gemini-4-neon-xhigh", "label": "Gemini · Gemini 4 Neon (XHigh)", "kind": "other", "usedPercent": 0 }
]
}
}
Screenshots, recordings, or supporting files#
Workaround#
No response
Artem-B(GitHub profile, opens in a new tab) added labelsbug
Artem-B(GitHub profile, opens in a new tab) added labelsneeds-triage
juliusmarminge closed this
Sign in to join this conversation.
Closing this: #43026 removed the Antigravity usage-limit reads entirely. The Antigravity team confirmed that only ACP is supported for external clients and that calling internal APIs (
cloudcode-pa.googleapis.com/v1internal) can flag a user's account, so T3 Code no longer shows Antigravity limits, locally or from CLIProxyAPI hubs. They will come back only if Antigravity exposes them over ACP.