Footer ignores custom model displayName and drops Vertex AI model info despite hideModelInfo=false
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Lee packages/cli/src/ui/components/Footer.tsx, especialmente la visualización del modelo y el ajuste al ancho del footer mencionados en el issue; después, consulta packages/core/src/config/models.ts para ver getDisplayString. Sigue las pruebas existentes del footer para encontrar la cobertura de las etiquetas de modelo y las distribuciones con terminales estrechos. La tarea estará terminada cuando el footer muestre el displayName corto configurado si cabe, mientras que las solicitudes sigan usando el nombre completo del recurso de Vertex AI.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 109k
- Forks
- 15k
- Merge medio
- 1 d 24 min
- PR fusionados (30 d)
- 91
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de google-gemini/gemini-cli
-
npm ci fails with EALLOWREMOTE on npm 12Posiblemente ocupada @landry-kapgnep la tomó hoy. Abiertostatus/need-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
google-gemini/gemini-cli#30525 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
hooks migrate preserves regex SessionStart alternatives that native exact trigger matching never runsPosiblemente ocupada @ayam04 la tomó hoy. Abiertostatus/need-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
google-gemini/gemini-cli#30514 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
CLI reference documents unsupported bulk skills enable and disable commandsPosiblemente ocupada @jadelike-wine la tomó hace 1 día. Abiertostatus/need-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
google-gemini/gemini-cli#30505 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
fix(extensions): allowUnsafeConfigPaths missing in GIT_EXTENSION_OPTIONS causes `extensions update` failurePosiblemente ocupada @kccrcodes la tomó hace 4 días. Abiertostatus/need-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
google-gemini/gemini-cli#30416 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
MCP OAuth discovery requests have no per-request timeoutPosiblemente ocupada @Shanmukh-l33t la tomó hace 5 días. Abiertostatus/need-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
google-gemini/gemini-cli#30412 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de google-gemini/gemini-cli
Issues similares
-
enhancement from-app needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
nightly-labs/openbot#19162 ·
Los mantenedores suelen responder en 1 día
-
triage:in-progress
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Cotal-AI/Cotal#11229 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
omdsh-dev/DSH-better-sidebar#1290 ·
Los mantenedores suelen responder en 1 día
-
Suggest a wallet: WalletChanPosiblemente ocupada @apoorvlathey la tomó hoy. Abiertoawaiting changes needs triage 📥
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ethereum/ethereum-org-website#20000 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día