Description
When the agent sends a message that includes a tool call mid-response (e.g. text → tool call → more text), the webchat UI initially streams the full message but then collapses to only display the content after the last tool call. The earlier text disappears from view.
Steps to Reproduce
- Open webchat UI
- Ask the agent something that triggers a tool call mid-response (e.g. a question where the agent writes some text, calls a tool, then continues with more text)
- Observe the streamed message during generation — full content is visible
- After completion, only the tail portion (after the last tool call) remains visible
Expected Behaviour
The full message content (before and after tool calls) should remain visible after streaming completes.
Environment
- OpenClaw version: 2026.2.26 (latest)
- Browser: Chrome (desktop)
- Channel: webchat
Description
When the agent sends a message that includes a tool call mid-response (e.g. text → tool call → more text), the webchat UI initially streams the full message but then collapses to only display the content after the last tool call. The earlier text disappears from view.
Steps to Reproduce
Expected Behaviour
The full message content (before and after tool calls) should remain visible after streaming completes.
Environment