Skip to content

fix(ui): deduplicate cumulative streaming text in webchat segments#774

Open
BingqingLyu wants to merge 2 commits into
mainfrom
fork-pr-47377-fix-webchat-streaming-47188-v2
Open

fix(ui): deduplicate cumulative streaming text in webchat segments#774
BingqingLyu wants to merge 2 commits into
mainfrom
fork-pr-47377-fix-webchat-streaming-47188-v2

Conversation

@BingqingLyu

@BingqingLyu BingqingLyu commented Apr 27, 2026

Copy link
Copy Markdown
Owner

Fixes openclaw#47188

Problem

After upgrading to 2026.3.13, streaming responses in webchat create multiple duplicate message bubbles with growing text, instead of updating a single message in-place.

Root Cause

Each segment stored the full cumulative text rather than the delta, causing multiple overlapping bubbles.

Fix

Each segment now stores only the delta (new text since last segment), preventing visual duplication while preserving the correct text→tool→text rendering order.

Note: Resubmission of openclaw#47344 which was auto-closed due to PR queue limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Webchat streaming renders duplicate bubbles instead of updating in-place

2 participants