Footer ignores custom model displayName and drops Vertex AI model info despite hideModelInfo=false
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
packages/cli/src/ui/components/Footer.tsxを読み、特にissueで言及されているモデル表示とfooter幅への調整を確認し、次にpackages/core/src/config/models.tsでgetDisplayStringを調べてください。既存のfooterテストをたどり、モデルラベルと幅の狭い端末レイアウトのテスト範囲を確認してください。footerに設定済みの短いdisplayNameが収まる場合に表示され、リクエストでは引き続きVertex AIの完全なリソース名が使われる状態になれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What happened?
In Gemini CLI 0.70.0, the footer does not show the selected model even though ui.footer.hideModelInfo is false.
I use Vertex AI with fully qualified model resource names and custom entries in modelConfigs.modelDefinitions. Each entry has a short displayName. Dynamic model configuration is enabled.
The footer shows workspace, branch, sandbox, and context usage, followed by an ellipsis, but no model information.
Relevant configuration, reduced to one model with the project ID redacted:
{
"security": {
"auth": {
"selectedType": "vertex-ai"
}
},
"experimental": {
"dynamicModelConfiguration": true
},
"model": {
"name": "projects/REDACTED_PROJECT/locations/us/publishers/google/models/gemini-3.8-flash"
},
"modelConfigs": {
"modelDefinitions": {
"projects/REDACTED_PROJECT/locations/us/publishers/google/models/gemini-3.8-flash": {
"displayName": "gemini-3.8-flash",
"tier": "custom",
"isVisible": true
}
}
},
"ui": {
"footer": {
"hideModelInfo": false,
"hideContextPercentage": false
}
}
}
Steps to reproduce:
- Configure a supported Vertex AI model using its fully qualified resource name and a short custom
displayName. - Enable dynamic model configuration and set
ui.footer.hideModelInfotofalse. - Start Gemini CLI in a Git repository, with the default footer order.
- Use a terminal width where the short display name would fit alongside the other items, but the full resource path would not.
- Observe that the model item disappears and an ellipsis is shown.
What did you expect to happen?
The footer should use the configured displayName, so the model remains visible when that short name fits. The full Vertex resource path should still be used for API requests.
Client information
- Gemini CLI: 0.70.0, installed via Homebrew
- Platform: macOS 26.5, arm64
- Node.js available in the reporting environment: v22.22.0
- Authentication:
vertex-ai - Observed in Plan mode, without sandboxing
These details were collected from the installation and environment; they are not a full /about transcript.
Login information
Vertex AI, using custom model definitions keyed by fully qualified model resource names.
Anything else we need to know?
Source inspection suggests the following cause:
- Footer.tsx calls
getDisplayString(model)without passing the configuration. - getDisplayString requires that configuration to read a custom
displayName. - Footer width fitting consequently budgets for the full resource path and drops the entire column if it does not fit.
An isolated check using the installed 0.70.0 functions reproduced this behavior: with a representative 120-column layout, the 80-character redacted resource path was dropped, whereas the 16-character display name fit.
The same footer call is present in v0.71.1 and current main at the time of reporting. Those versions were inspected, not tested interactively.
Widening the terminal or moving the model item earlier using /footer can expose the full path, but does not make the footer honor displayName.
- 主要言語
- 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 日以内に返信
-
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 日以内に返信
-
MCP OAuth discovery requests have no per-request timeout対応中かも @Shanmukh-l33t が 5 日前に担当しました。 オープンstatus/need-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
google-gemini/gemini-cli#30412 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
google-gemini/gemini-cli の issue をすべて見る
似ている issue
-
enhancement from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nightly-labs/openbot#19162 ·
メンテナーはふだん 1 日以内に返信
-
triage:in-progress
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Cotal-AI/Cotal#11229 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
omdsh-dev/DSH-better-sidebar#1290 ·
メンテナーはふだん 1 日以内に返信
-
Suggest a wallet: WalletChan対応中かも @apoorvlathey が今日担当しました。 オープンawaiting changes needs triage 📥
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ethereum/ethereum-org-website#20000 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信