-
-
Notifications
You must be signed in to change notification settings - Fork 69k
Webchat session picker shows raw keys instead of displayName #6645
Description
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