How to make SSE token streams resumable, cancellable, and multi-device — /dev/knill
Agents used to be a thing you talked to synchronously. Now they’re a thing that runs in the
background while you work. When you make that change, the transport breaks.But a lot of folks are saying: “No, you can just use Server-Sent Events (SSE) with Last-Event-ID to
get a durable stream, it’s easy”. And yes, all of this is do-able. But I contest that it’s easy.
So let’s walk through how to do it, and you can decide for yourself.Catch up on the previous article and discussionThe advanced chatbot ...
Read more at zknill.io