Footer ignores custom model displayName and drops Vertex AI model info despite hideModelInfo=false
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 78/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
Leggi packages/cli/src/ui/components/Footer.tsx, in particolare la visualizzazione del modello e l’adattamento alla larghezza del footer citati nell’issue, poi controlla packages/core/src/config/models.ts per getDisplayString. Segui i test esistenti del footer per trovare la copertura delle etichette dei modelli e dei layout per terminali stretti. Il lavoro è completato quando il footer mostra il displayName breve configurato se ci sta, mentre le richieste continuano a usare il nome completo della risorsa Vertex AI.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 109k
- Fork
- 15k
- Merge medio
- 1g 24m
- PR unite (30g)
- 91
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di google-gemini/gemini-cli
-
npm ci fails with EALLOWREMOTE on npm 12Forse già presa @landry-kapgnep l’ha presa oggi. Apertastatus/need-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
google-gemini/gemini-cli#30525 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
hooks migrate preserves regex SessionStart alternatives that native exact trigger matching never runsForse già presa @ayam04 l’ha presa oggi. Apertastatus/need-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
google-gemini/gemini-cli#30514 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
CLI reference documents unsupported bulk skills enable and disable commandsForse già presa @jadelike-wine l’ha presa 1 giorno fa. Apertastatus/need-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
google-gemini/gemini-cli#30505 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
fix(extensions): allowUnsafeConfigPaths missing in GIT_EXTENSION_OPTIONS causes `extensions update` failureForse già presa @kccrcodes l’ha presa 4 giorni fa. Apertastatus/need-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
google-gemini/gemini-cli#30416 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
MCP OAuth discovery requests have no per-request timeoutForse già presa @Shanmukh-l33t l’ha presa 5 giorni fa. Apertastatus/need-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
google-gemini/gemini-cli#30412 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di google-gemini/gemini-cli
Issue simili
-
enhancement from-app needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
nightly-labs/openbot#19162 ·
I maintainer di solito rispondono entro 1 giorno
-
triage:in-progress
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Cotal-AI/Cotal#11229 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
omdsh-dev/DSH-better-sidebar#1290 ·
I maintainer di solito rispondono entro 1 giorno
-
Suggest a wallet: WalletChanForse già presa @apoorvlathey l’ha presa oggi. Apertaawaiting changes needs triage 📥
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ethereum/ethereum-org-website#20000 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno