5a4c10fb071022403fc0276cdaab37aba1feac24
ChatStream and StreamObject were issuing one extra unscheduled provider call after MaxAttempts was exhausted, billing MaxAttempts+1 calls instead of MaxAttempts on permanent-failure retries. Capture the last stream/err across iterations and return them after the loop instead. Adds middleware/retry_test.go with exact call-count assertions for all four retry paths (Chat, ChatStream, GenerateObject, StreamObject), MaxAttempts=1 short-circuit, non-retryable short-circuit, success-after- retries, and ctx-cancellation paths. Refs ai-sdk-5jb.1
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
132 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.7%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%