Post

One of my favorite features of the `useStream` hook we released yesterday: If you are reading/writing from the same stream across multiple components, you can simply pass the same `id` to all of the hooks and everything will stay in sync. Automagically. ✨

2 reposts14 likes

Wondering: we used to do the echo buffer flush thing when streaming OpenAI responses, but recently switched over to Reverb and websockets to more intuitively capture all the events and send them to frontend. Works great—but is this approach somehow better?