openclaw/ui
SidQin-cyber 15226b0b83 fix(gateway): persist streamed text when webchat final event lacks message
When an agent streams text and then immediately runs tool calls, the
webchat UI drops the streamed content: the "final" event arrives with
message: undefined (buffer consumed by sub-run), and the client clears
chatStream without saving it to chatMessages.

Before clearing chatStream on a "final" event, check whether the stream
buffer has content. If no finalMessage was provided but the stream is
non-empty, synthesize an assistant message from the buffered text —
mirroring the existing "aborted" handler's preservation logic.

Closes #31895
2026-03-02 19:54:26 +00:00
..
public fix: migrate legacy gateway services 2026-01-30 04:01:31 +01:00
src fix(gateway): persist streamed text when webchat final event lacks message 2026-03-02 19:54:26 +00:00
index.html revert(ui): remove UI portions of mixed commits from main 2026-02-22 13:01:22 -06:00
package.json chore: update workspace dependencies 2026-02-21 14:35:13 +01:00
vite.config.ts chore: silence onboard warning noise 2026-02-26 22:47:35 +01:00
vitest.config.ts chore: update deps and add control ui routing tests 2025-12-30 14:30:46 +01:00
vitest.node.config.ts chore: fix vitest standalone configs and update package description (#11865) 2026-02-08 05:24:50 -08:00