feat(models): Support Gemini 4 Neon & Gemini 4 Hydrogen for Enterprise Gemini CLI users
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- cli
調査の方向性
Start with packages/core/src/config/models.ts and packages/core/src/config/defaultModelConfigs.ts, then check how existing Gemini 4 models are exposed in packages/cli/src/ui/components/ModelDialog.tsx and validated by schemas/settings.schema.json. Done means both model IDs, configurations, picker entries, and schema support are covered; backend routing and enterprise entitlements may require maintainer coordination.
索引モデルが issue の本文から書いたものです。
説明
What would you like to be added?
We would like official support for Google's latest Gemini 4 series models — Gemini 4 Neon (gemini-4-neon) and Gemini 4 Hydrogen (gemini-4-hydrogen) — in Gemini CLI for users authenticated via Gemini Code Assist Enterprise / Standard (OAuth) and Gemini API Keys.
Specifically, this includes:
- Model ID Registration: Adding
gemini-4-neonandgemini-4-hydrogen(along with relevant aliases/variants) toVALID_GEMINI_MODELSinpackages/core/src/config/models.ts. - Model Configurations: Defining model configuration (family
gemini-4, tier, thinking levelslow/medium/high/xhigh, tool capabilities) for both models inpackages/core/src/config/defaultModelConfigs.ts. - Model Picker UI: Adding both models to the
/modelselector dialog (packages/cli/src/ui/components/ModelDialog.tsx). - Schema Update: Updating
schemas/settings.schema.jsonto allow configuration and validation without schema errors. - Backend Coordination: Enabling corresponding model routing/entitlements in the Gemini Code Assist backend (
cloudcode-pa.googleapis.com/ Vertex AI enterprise endpoints).
Why is this needed?
-
Complete High-Efficiency & Agentic Execution Tier:
- Gemini 4 Hydrogen (
gemini-4-hydrogen): Serves as Google's ultra-fast, cost-effective model (successor to Gemini 3.8 Flash) optimized for rapid everyday execution, iterative tasks, and fast tool-calling/sub-agent loops. - Gemini 4 Neon (
gemini-4-neon): Adapted from the Gemini 4 Carbon architecture, specifically engineered for repo-scale refactoring, multi-turn debugging, and tight agentic tool-calling loops with low latency and minimal hallucination.
Together, Hydrogen and Neon form the high-efficiency foundation for terminal agent workflows, complementing the frontier reasoning models (Argon and Carbon).
- Gemini 4 Hydrogen (
-
Parity with Antigravity CLI (
agy) & Modern Gemini Ecosystem:
Both Gemini 4 Neon and Hydrogen are already available in Antigravity CLI (agy), Google AI Studio, and the Gemini API. Enterprise users of Gemini CLI are currently unable to select or leverage either model, creating a capability gap between preview tools and licensed enterprise environments. -
Enterprise Commitment & InfoSec Constraints:
During the migration announcement on May 19, 2026, Google affirmed:"If your organization uses Gemini CLI or our IDE extensions via a Gemini Code Assist Standard or Enterprise license, your access remains unchanged. We’ll continue to support Gemini CLI and Gemini Code Assist with access to the latest Gemini models and other updates."
Many regulated enterprise organizations have strict InfoSec review and compliance constraints that prevent deploying newer preview tools (such as Antigravity CLI) until comprehensive vendor security assessments conclude. Gemini CLI remains the primary approved, enterprise-compliant terminal agent for these teams. Adding Neon and Hydrogen ensures enterprise users can benefit from Google's latest agentic and efficiency model advancements.
Additional context
- Reference Issues:
- #29689 (Support Gemini 4 Argon / Gemini 4 Pro for Enterprise Gemini CLI users)
- #30125 (Support Gemini 4 Carbon for Enterprise Gemini CLI users)
- Auth Method: Gemini Code Assist Enterprise (Google OAuth) and
gemini-api-key. - Key Implementation Files:
packages/core/src/config/models.tspackages/core/src/config/defaultModelConfigs.tspackages/cli/src/ui/components/ModelDialog.tsxschemas/settings.schema.json
If maintainers are open to community PRs registering these model IDs and configs, please consider adding the help wanted label so that a community contribution can be submitted and reviewed under the repo guidelines.
- 主要言語
- TypeScript
- スター
- 109k
- フォーク
- 15k
- 平均マージ
- 1日 24分
- マージ済み PR(30日)
- 91
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google-gemini/gemini-cli のほかの issue
-
npm ci fails with EALLOWREMOTE on npm 12対応中かも @landry-kapgnep が今日担当しました。 オープンstatus/need-triage
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
google-gemini/gemini-cli#30525 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
hooks migrate preserves regex SessionStart alternatives that native exact trigger matching never runs対応中かも @ayam04 が今日担当しました。 オープンstatus/need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
google-gemini/gemini-cli#30514 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
CLI reference documents unsupported bulk skills enable and disable commands対応中かも @jadelike-wine が 1 日前に担当しました。 オープンstatus/need-triage
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
google-gemini/gemini-cli#30505 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Footer ignores custom model displayName and drops Vertex AI model info despite hideModelInfo=false対応中かも @bitwizard25 が 2 日前に担当しました。 オープンstatus/need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
google-gemini/gemini-cli#30482 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
fix(extensions): allowUnsafeConfigPaths missing in GIT_EXTENSION_OPTIONS causes `extensions update` failure対応中かも @kccrcodes が 4 日前に担当しました。 オープンstatus/need-triage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
google-gemini/gemini-cli#30416 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
google-gemini/gemini-cli の issue をすべて見る
似ている issue
-
agentic-workflows
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
opencollective/opencollective-frontend#12789 ·
メンテナーはふだん 1 日以内に返信
-
Web download page shows a file as Completed when its download from S3 fails with an error responseオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
awslabs/visual-asset-management-system#2097 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
openwatersio/slackwater#591 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
compiler-explorer/compiler-explorer#9738 ·
メンテナーはふだん 2 日以内に返信