Repository navigation
Description
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.
Activity
gemini-cli commentedon Nov 26, 2026
There is a problem with the Gemini CLI issue triaging. Please check the action logs for details.
gemini-cli commentedon Nov 26, 2026
👋 @hungnguyen1607, thanks for your interest in this issue! We're reserving self-assignment for issues that have been marked with the
help wantedlabel. Feel free to check out our list of issues that need attention.bitwizard25 commentedon Nov 27, 2026
Opened #30490 to fix this.
Root cause
packages/cli/src/ui/components/Footer.tsxcalledgetDisplayString(model)without passingconfig(already in scope viauseConfig()). Withoutconfig,getDisplayStringskippedmodelConfigServicedisplayNameresolution and returned the raw Vertex AI model resource path verbatim, exceeding the footer width budget at 120 columns and dropping themodel-namecolumn to….How it's solved
Passed
configtogetDisplayString(model, config)inpackages/cli/src/ui/components/Footer.tsxso configured customdisplayNamevalues are resolved and measured accurately during footer width-fitting.Verification
packages/cli/src/ui/components/Footer.test.tsxwith a full Vertex AI resource path and configureddisplayNameat 120 columns (reproduced the dropped column with…before the fix, passes after).npx vitest run packages/cli/src/ui/components/Footer.test.tsx(41/41 passing), Prettier, and ESLint (--max-warnings 0).