7.0.91
Added 2
- Add configurable recovery for provider errors received after streamText response streaming begins through streamRetries option
- Add StreamTextOnErrorRetryCallback for bounded callback-directed recovery with streamRetries: 0
Changed 1
- Update @ai-sdk/gateway to 4.0.73
From AI SDK
Patch Changes
- 802af1e: Add configurable recovery for provider errors received after
streamTextresponse streaming begins. Explicitly configuringstreamRetriesenables isolated retry attempts, including one bounded callback-directed recovery throughStreamTextOnErrorRetryCallbackwithstreamRetries: 0; recovered results and metadata reflect only the successful attempt, while the existingStreamTextOnErrorCallbackcontract and logging-only observer behavior remain compatible. - Updated dependencies [5484f27]
- Updated dependencies [36eb7ee]
- Updated dependencies [622fa7f]
- @ai-sdk/gateway@4.0.73