285c618f748611b183628a296625ce45a094a0af
Streamed chat replies hung on the first token: the draft rendered an empty cursor, the typing indicator never cleared, and the turn never completed. RouteStream consumed stream.TextStream, but ai-sdk's channel contract makes FullStream authoritative and requires draining it until close -- its writes are synchronous, so an unread FullStream applies backpressure and stalls the producer. Once its buffer filled, the producer blocked, TextStream stopped yielding, and the range loop blocked forever. TextStream was the wrong source regardless: it is explicitly best-effort and drops deltas when not drained, so a reply reconstructed from it can silently lose text. Range over FullStream and collect StreamPartTextDelta parts, exactly as the SDK documents. Also bumps ai-sdk v0.1.17 -> v0.1.18 (build, full suite and lint clean).
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.8%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%