Skip to content

WebChat UI: agent responses rendered as duplicate messages #72641

Description

@yangli3348-Git

Bug Description

In the OpenClaw WebChat control UI (openclaw-control-ui), agent responses are sometimes rendered as two identical chat bubbles. Both duplicates carry the same metadata (token counts, context usage percentage), confirming this is a client-side rendering bug — the server only sends the message once.

Steps to Reproduce

  1. Use OpenClaw WebChat UI (webchat surface)
  2. Send a message to the agent and wait for a reply
  3. Observe the reply appearing twice with identical reply stats

Expected Behavior

Each agent reply should render exactly once.

Screenshot

(Screenshot available showing two identical messages with same ↑↓ R ctx stats)

Environment

  • OpenClaw version: 2026.4.24 (cbcfdf6)
  • Channel: webchat (openclaw-control-ui)

Reported via Xiake agent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions