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

Abierto Apto para principiantes
#9,037 1 comentario 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
62/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript
Área
api, backend

Línea de trabajo

La lista de semillas es AGY_ACP_SEED_MODELS en src/providers/registry/agy-acp-models.ts, con la marca liveModels: false en la entrada del registro. Lee proveModel y el filtro solo para Gemini en src/adapters/agy-acp/options.ts para ver cómo se emparejan las opciones anunciadas. Está listo cuando gemini-4-hydrogen y gemini-4-neon aparecen en GET /v1/models para antigravity-acp, con entradas coincidentes en modelContextWindows.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
16.9k
Forks
1.3k
Merge medio
1 d 2 h
PR fusionados (30 d)
844

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de lidge-jun/opencodex

Todos los issues de lidge-jun/opencodex

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.