Skip to content

Bug: TUI status bar displays wrong provider prefix for active model #25408

@5toCode

Description

@5toCode

Description

The TUI status bar incorrectly displays the model as google-gemini-cli/claude-sonnet-4-6 when the active session model is anthropic/claude-sonnet-4-6.

Steps to Reproduce

  1. Set default model to google-gemini-cli/gemini-3-pro-preview
  2. Start a session that falls back to or uses anthropic/claude-sonnet-4-6
  3. Observe the status bar in the TUI

Expected Behavior

Status bar should show: anthropic/claude-sonnet-4-6

Actual Behavior

Status bar shows: google-gemini-cli/claude-sonnet-4-6

Analysis

Appears to be a display bug where the provider prefix is taken from the configured default_model (google-gemini-cli) instead of the active model's own provider (anthropic), then concatenated with the active model's ID (claude-sonnet-4-6).

Environment

  • OpenClaw version: 2026.2.22-2
  • OS: macOS Darwin 25.3.0 (arm64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions