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

[Bug]: Antigravity API key instance shows Google "Sign in" wording, and the user does not know that a click is necessary to load models

Aperta Adatta ai principianti
#25,885 0 commenti 0 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
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend, desktop

Direzione di ricerca

Inizia con AntigravityProvider.ts ed esamina AUTH_UNCHECKED_MESSAGE, antigravityAuthLabel() e il testo del pulsante di accesso della scheda del provider. Segui come il metodo di autenticazione selezionato controlla lo stato non verificato e l’azione del pulsante. Il lavoro è completo quando un’istanza con chiave API spiega che la connessione avvia il runtime e carica i modelli, mentre le istanze con account Google mantengono una dicitura appropriata; verifica entrambi i flussi nelle impostazioni del provider.

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

Descrizione

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce
  1. Settings > Providers > Add provider > Antigravity.
  2. Set Sign-in method to gemini-api-key and enter a valid Gemini API key. The field then shows "Stored secret, enter a new value to replace".
  3. Look at the provider card and the model picker.
Expected behavior

The card uses words that match the API key method. For example: status "Installed · Not connected yet", and a button labelled Connect or Verify API key that starts the runtime with the stored key and loads the model list.

Actual behavior

The card shows Google account wording for an API key instance:

  • Status: Needs attention · Antigravity is installed. Google account access is not checked yet.
  • Account section: "Sign in on " with a Sign in button.
  • Models: "0 models. No models reported for this provider yet." Thus the instance does not appear in the model picker and the user cannot start a thread with it.

With an API key already stored, "Sign in" reads like a Google OAuth step that is not necessary. I thought the key was not used, and I did not click it. In fact, for gemini-api-key this button only starts the runtime with GEMINI_API_KEY and then loads the models. Nothing on the card says that this click is necessary to use the instance.

In the bundled server, AUTH_UNCHECKED_MESSAGE in AntigravityProvider.ts is the same for all auth methods, and the status changes to authenticated only after a runtime session starts. antigravityAuthLabel() already knows the method ("Gemini API key"), so the unchecked message and the button label can use the method too.

Related: #12751 (the "Needs attention" styling for an unchecked Google account, partly fixed in #18623).

Impact

Minor bug or occasional failure

Version or commit

0.1.0

Environment

macOS 15.2 (Darwin 24.2.0) arm64, T3 Code desktop with local server, Antigravity runtime v1.3.0

Logs or stack traces
No error is logged. The health check succeeds (checkAntigravityProvider: Success),
but the status stays "not checked yet" until a session starts.
Workaround

Click Sign in on each API key instance. For gemini-api-key it connects without a browser, and then the status is "Authenticated · Gemini API key" and the models show.

Lingua principale
TypeScript
Stelle
24.8k
Fork
6.4k
Merge medio
2h 54m
PR unite (30g)
350

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.