[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offers

Aperta Adatta ai principianti
#9,037 1 commento 1 reazione 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
62/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
api, backend

Direzione di ricerca

La lista di seed è AGY_ACP_SEED_MODELS in src/providers/registry/agy-acp-models.ts, con il flag liveModels: false sulla voce del registro. Leggi proveModel e il filtro riservato a Gemini in src/adapters/agy-acp/options.ts per capire come vengono abbinate le opzioni pubblicizzate. È completato quando gemini-4-hydrogen e gemini-4-neon compaiono in GET /v1/models per antigravity-acp, con voci modelContextWindows corrispondenti.

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

Descrizione

catalog provider provider-compatibility
Client or integration

Other (omo agent harness, routing through the local OpenCodex gateway; confirmed with direct HTTP requests)

Provider or upstream service

Antigravity CLI over ACP (antigravity-acp, local agy acp)

OpenCodex version

2.100.6 (macOS arm64, Homebrew cask). src/providers/registry/agy-acp-models.ts is unchanged on main since #8794, so v2.100.7 and the current preview should behave the same.

Endpoint or capability

Model catalog for antigravity-acp (GET /v1/models, dashboard model list) and model routing.

Current behaviour

The antigravity-acp catalog only lists the static seed from src/providers/registry/agy-acp-models.ts:

export const AGY_ACP_SEED_MODELS = [AGY_ACP_DEFAULT_MODEL, "gemini-4-argon", "gemini-3.7-flash"] as const;

The registry entry sets liveModels: false, so gemini-4-hydrogen and gemini-4-neon never appear, even though agy acp offers them. Users have to discover and hand-add them.

Expected behaviour

Models that agy acp advertises in its session/new model selector should be selectable without manual config. This matches the design in #8480 ("model list read from the ACP session/new option set (Gemini only)").

Minimal redacted request or reproduction
  1. Add both models to the provider's configured models in config.json:
    "antigravity-acp": { "models": ["gemini-3.8-flash", "gemini-4-argon", "gemini-3.7-flash", "gemini-4-hydrogen", "gemini-4-neon"] }
    
  2. Restart, then send a trivial interactive Responses request ("Reply with the single word OK.") for each model.
Actual response or error

Before the config change, hydrogen and neon are absent from the catalog. After it:

model result
antigravity-acp/gemini-4-hydrogen HTTP 200, OK
antigravity-acp/gemini-4-neon HTTP 200, OK
antigravity-acp/gemini-4-argon (control) HTTP 200, OK

Because proveModel in src/adapters/agy-acp/options.ts rejects a request with requested_not_offered or not_requested when the advertised options do not contain the requested Gemini model, the 200s imply the CLI offered and selected both models. There was no silent fallback.

Upstream documentation

https://antigravity.google/docs/cli/acp

Suggested mapping or implementation notes

Either option would fix this:

  • Minimal: add gemini-4-hydrogen and gemini-4-neon to AGY_ACP_SEED_MODELS (plus modelContextWindows entries).
  • Durable: populate the catalog from the Gemini options in the ACP session/new model selector (cached after the first session), so future model families appear without a release. The Gemini-only filter in options.ts already exists.
Additional context and attachments

Related: #8480 (ACP transport design), #8794 (implementation), #8954 / #8957 (same models surfaced for google-antigravity live discovery).

Lingua principale
TypeScript
Stelle
16.9k
Fork
1.3k
Merge medio
1g 2h
PR unite (30g)
844

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 lidge-jun/opencodex

Tutte le issue di lidge-jun/opencodex

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.