Skip to content

fix(assistant): emit delta before done so /remind reply renders#15

Merged
sbeashwar merged 1 commit into
mainfrom
fix/pwa-remind-empty-render
May 3, 2026
Merged

fix(assistant): emit delta before done so /remind reply renders#15
sbeashwar merged 1 commit into
mainfrom
fix/pwa-remind-empty-render

Conversation

@sbeashwar

Copy link
Copy Markdown
Owner

Summary

  • The /remind prefix shortcut emitted only {type:"done"} to SSE. The PWA chat UI accumulates {type:"delta"} events into the visible message; done is a terminator only. Result: blank reply on screen even though the reminder file was created and the assistant message was persisted to the DB.
  • Emit a synthetic delta with the full content first, then done.

Test plan

  • Build clean
  • After merge: /remind ... from the PWA shows the "Created reminder ..." reply on screen

🤖 Generated with Claude Code

The /remind prefix shortcut emitted only a {type:"done"} SSE event with
the response text. The PWA chat UI accumulates {type:"delta"} chunks
into the visible message and treats `done` as a terminator only — so
zero deltas meant a blank reply on screen even though the reminder was
created and the assistant message was persisted to the DB.

Emit a synthetic delta with the full content first, then done.
@sbeashwar sbeashwar merged commit 9840a13 into main May 3, 2026
1 check passed
@sbeashwar sbeashwar deleted the fix/pwa-remind-empty-render branch May 3, 2026 01:19
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.

1 participant