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

オープン 初心者向け
#9,037 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
62/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
api, backend

調査の方向性

シードリストは AGY_ACP_SEED_MODELS で、src/providers/registry/agy-acp-models.ts にあり、レジストリエントリには liveModels: false フラグがあります。proveModel と src/adapters/agy-acp/options.ts にあるGemini専用フィルターを読み、公開されたオプションがどのように照合されるかを確認してください。gemini-4-hydrogen と gemini-4-neon が GET /v1/models(antigravity-acp 向け)に表示され、対応する modelContextWindows のエントリがあれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
TypeScript
スター
16.9k
フォーク
1.3k
平均マージ
1日 2時間
マージ済み PR(30日)
844

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lidge-jun/opencodex のほかの issue

lidge-jun/opencodex の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。