openclaw - 💡(How to fix) Fix WebChat: Assistant messages rendered twice (duplicate bubbles) with streaming [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#71927Fetched 2026-04-27 05:37:21
View on GitHub
Comments
2
Participants
3
Timeline
3
Reactions
1
Timeline (top)
commented ×2closed ×1
RAW_BUFFERClick to expand / collapse

Describe the bug When receiving a streaming response in WebChat, the assistant message is displayed twice — once during streaming and again after the response completes, resulting in duplicate message bubbles.

To Reproduce

  1. Open WebChat
  2. Send any message to the assistant
  3. Observe the assistant reply appears duplicated

Expected behavior Each assistant message should appear exactly once.

Environment

  • OpenAWS version: 2026.4.24
  • OS: Linux (WSL2)
  • Channel: webchat

extent analysis

TL;DR

The issue can likely be resolved by modifying the WebChat code to handle streaming responses and completed responses differently to prevent duplicate message display.

Guidance

  • Review the WebChat code that handles streaming responses and completed responses to identify where the duplication is occurring.
  • Check if there are any event listeners or callbacks that are triggering the display of the assistant message twice.
  • Investigate if the issue is related to the OpenAWS version (2026.4.24) and if there are any known bugs or fixes related to this version.
  • Verify if the issue occurs in other channels or environments to determine if it's specific to WebChat or Linux (WSL2).

Example

No code snippet can be provided without more information about the WebChat codebase.

Notes

The issue may be related to the specific implementation of the WebChat streaming response handling, and more information about the code would be necessary to provide a more detailed solution.

Recommendation

Apply workaround: Modify the WebChat code to handle streaming responses and completed responses differently to prevent duplicate message display, as this is likely to be a more immediate solution than waiting for a potential fix in a future OpenAWS version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING