Post

Trigger.dev
Trigger.dev@triggerdotdev·
Most AI streams fail the moment your user switches apps or walks into an elevator. Standard HTTP streams are fragile. If the connection drops, the generation is lost. We built a better way for production AI apps. 🧵
English
3
0
9
909
Trigger.dev
Trigger.dev@triggerdotdev·
Introducing Realtime v2 streams. Unlike a standard fetch stream, these are durable subscriptions. If a client disconnects (network drop, tab close), the AI task keeps running in the background. Trigger buffers the tokens.
English
1
0
2
227
Trigger.dev
Trigger.dev@triggerdotdev·
When the client reconnects? We automatically flush the buffered tokens and resume the stream exactly where it left off. No "Network Error". No lost compute costs. It works seamlessly with the Vercel AI SDK.
English
1
0
2
168
Paylaş