Skip to content

Webchat session picker shows raw keys instead of displayName #6645

@boyangwang

Description

@boyangwang

Summary
The webchat session picker dropdown displays raw session keys (e.g., agent:main:lark:oc_3a6b0f1cb741db5d406b3da24c7ba2d0) instead of human-readable names.

Current Behavior
The session picker shows:

agent:main:main
agent:main:lark:oc_3a6b0f1cb741db5d406b3da24c7ba2d0
Expected Behavior
Display displayName (or fall back to label, then key), matching the logic in acp/translator.js:

title: session.displayName ?? session.label ?? session.key
Context
sessions.json store schema supports displayName and origin.label
ACP translator already has the correct fallback logic
Webchat UI bypasses this and shows raw keys
Suggested Fix
Apply the same displayName ?? label ?? key fallback to the webchat session picker.

Environment: OpenClaw 2026.1.30, webchat

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