Skip to main content
Defined in: streaming/types.ts:36 How a stream is rendered:
  • 'draft' native ephemeral preview updated in place, then one final message.
  • 'edit' send the first text, then throttled edits of that message.
  • 'chunk' no live preview: sentence-sized messages with typing between them.
  • 'buffer' collect everything (typing meanwhile), then send it once (split if long).