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

Đang mở Phù hợp với người mới
#9,037 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
62/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
api, backend

Hướng nghiên cứu

Danh sách seed là AGY_ACP_SEED_MODELS trong src/providers/registry/agy-acp-models.ts, với cờ liveModels: false trên mục registry. Đọc proveModel và bộ lọc chỉ dành cho Gemini trong src/adapters/agy-acp/options.ts để xem các tùy chọn được quảng bá được khớp như thế nào. Hoàn thành khi gemini-4-hydrogen và gemini-4-neon xuất hiện trong GET /v1/models cho antigravity-acp, cùng với các mục modelContextWindows tương ứng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
16.9k
Fork
1.3k
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
844

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của lidge-jun/opencodex

Tất cả issue của lidge-jun/opencodex

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.