Response Stream
Render complete responses at a chosen pace, while asynchronously arriving AI chunks appear immediately as the model yields them.
Installation
Copy the command below and run it in your terminal.
Usage
Live responses
Pass the async iterable returned by your model. A caret marks the wait before the first chunk; later chunks render as soon as they arrive.
Complete responses
For a complete string, use speed from 1 (slowest) to 100 (fastest) to control the reveal pace.
Anatomy
ResponseStream - Renders a streamed text response and a caret while waiting for the first chunk.
bunx @sivir-ui/svelte add response-stream