Skip to content

Footer ignores custom model displayName and drops Vertex AI model info despite hideModelInfo=false #30482

Backlog

Description

@rlaqltmxm

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.

스크린샷 2026-11-26 오전 10 36 43

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:

  1. Configure a supported Vertex AI model using its fully qualified resource name and a short custom displayName.
  2. Enable dynamic model configuration and set ui.footer.hideModelInfo to false.
  3. Start Gemini CLI in a Git repository, with the default footer order.
  4. Use a terminal width where the short display name would fit alongside the other items, but the full resource path would not.
  5. 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

  1. added
    status/need-triage
    on Nov 26, 2026
  2. gemini-cli commented on Nov 26, 2026

    @gemini-cli
    Contributor

    There is a problem with the Gemini CLI issue triaging. Please check the action logs for details.

  3. gemini-cli commented on Nov 26, 2026

    @gemini-cli
    Contributor

    👋 @hungnguyen1607, thanks for your interest in this issue! We're reserving self-assignment for issues that have been marked with the help wanted label. Feel free to check out our list of issues that need attention.

  4. bitwizard25 commented on Nov 27, 2026

    @bitwizard25

    Opened #30490 to fix this.

    Root cause
    packages/cli/src/ui/components/Footer.tsx called getDisplayString(model) without passing config (already in scope via useConfig()). Without config, getDisplayString skipped modelConfigService displayName resolution and returned the raw Vertex AI model resource path verbatim, exceeding the footer width budget at 120 columns and dropping the model-name column to ….

    How it's solved
    Passed config to getDisplayString(model, config) in packages/cli/src/ui/components/Footer.tsx so configured custom displayName values are resolved and measured accurately during footer width-fitting.

    Verification

    • Added a regression test in packages/cli/src/ui/components/Footer.test.tsx with a full Vertex AI resource path and configured displayName at 120 columns (reproduced the dropped column with … before the fix, passes after).
    • Ran npx vitest run packages/cli/src/ui/components/Footer.test.tsx (41/41 passing), Prettier, and ESLint (--max-warnings 0).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/need-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions