Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: Antigravity usage omits Gemini and Gemini Argon quota windows

Aperta Adatta ai principianti
#24,800 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
api, backend

Direzione di ricerca

Inizia da apps/server/src/provider/antigravityUsageLimits.ts e confronta lo User-Agent della sonda con l’identità ACP descritta nell’issue. Segui come i risultati di retrieveUserQuotaSummary arrivano a summaryWindows, inclusa la mappatura delle etichette Gemini Argon. Il lavoro è completato quando tutte e cinque le finestre previste sono memorizzate nella cache con etichette distinte; verificalo con usageLimits.windows per un account con quei gruppi di quota.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Area: apps/server (apps/server/src/provider/antigravityUsageLimits.ts)

Problem

The Antigravity usage indicator shows only the Claude & GPT (shared) windows. The Gemini and Gemini 4 Argon quota windows never appear, so the indicator reads 100% left while Gemini quota is partly used.

Steps to reproduce

  1. Sign in to Antigravity in T3 Code with an account that has Gemini, Gemini 4 Argon, and Claude/GPT quota groups.
  2. Open ~/.t3/caches/antigravity.json and read usageLimits.windows.
  3. Compare with a direct v1internal:retrieveUserQuotaSummary call using the antigravity/acp User-Agent.

Expected

Windows for gemini-5h, gemini-weekly, gemini-argon-wtu-weekly, 3p-5h, and 3p-weekly, each with a distinct label.

Actual

Only 3p-5h and 3p-weekly are cached.

Cause

  1. The probe sends User-Agent: antigravity/hub/1.0.0 .... In my testing the backend returns only the Claude and GPT models group for that subclient. The ACP server identifies as antigravity/acp/1.3.0, and that identity returns all three groups.
  2. retrieveUserQuotaSummary returns two 3p-* buckets, so the fetchAvailableModels fallback never runs.
  3. summaryWindows maps every gemini-* bucket ID to the family Gemini. gemini-argon-wtu-weekly therefore gets the same Gemini · Weekly label as gemini-weekly.

Proposed fix

Send the antigravity/acp/1.3.0 User-Agent, and label gemini-argon-* buckets with the group display name. PR to follow.

Lingua principale
TypeScript
Stelle
24.8k
Fork
6.4k
Merge medio
4h 29m
PR unite (30g)
305

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pingdotgg/t3code

Tutte le issue di pingdotgg/t3code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.