Skip to content

[ Bug ]: Web UI agent dropdown shows agent.id instead of identity.name #57822

@write31bug

Description

@write31bug

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

When multiple agents are configured with distinct identity.name values in openclaw.json, the Web UI agent switcher dropdown displays agent.id (e.g., "main", "dev", "writer") instead of the human-readable identity.name (e.g., "小金", "开发助手").

Steps to reproduce

  1. Configure multiple agents with distinct identity.name values in openclaw.json
  2. Open the Gateway Web UI (http://127.0.0.1:18789)
  3. Locate the agent switcher dropdown in the sidebar
  4. Observe the dropdown items

Expected behavior

The dropdown shows identity.name (e.g., "小金", "开发助手"), making it easy to identify agents at a glance.

Actual behavior

The dropdown shows agent.id (e.g., "main", "dev"), which is less user-friendly. Note: openclaw agents list CLI command correctly displays identity names (e.g., Identity: 🤖 小金 (IDENTITY.md)), so the data exists but the Web UI doesn't use it.

OpenClaw version

Version: 2026.3.24 (cff6dc9)

Operating system

Operating system: Windows 10

Install method

Install method: npm global

Model

minimax-portal/MiniMax-M2.7

Provider / routing chain

openclaw -> cloudflare-ai-gateway -> minimax

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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