Patch Changes
-
2958540: fix(ui): export
isDynamicToolUIPartfromaipackage -
aa2dbe6: Fix:
convertToModelMessagesno longer emits an empty assistant message when a block contains only unknown data parts (e.g. a data part beforestep-startwith noconvertDataPartprovided) -
faaef7c: fix(ai): enforce
timeout.stepMsfor the whole step instreamTextPreviously
streamText's step timer was cleared synchronously right after the step's stream was registered, before the stream produced anything, sostepMsnever aborted a step that stalled before emitting content. The step timer now survives until the step's stream finishes or aborts, matchinggenerateText.chunkMs/totalMsand normal step-finish cleanup are unchanged. -
45a9cbf: Return validated elements from generateText array output
-
2706461: fix(ai): include tool input on tool result for provider executed dynamic tools
-
327642b: fix: more precise default message for tool execution denial
-
89df298: Preserve signed tool approval metadata when recording approval responses.
-
8ed1f83: fix(ai): tag step/chunk timeout aborts with
TimeoutErrorreasonWhen
timeout: { stepMs }ortimeout: { chunkMs }fires, the abort reason is now aTimeoutErrorDOMException, matching whatAbortSignal.timeout()produces natively. Consumers can distinguish a framework timeout from a user-initiated cancel viasignal.reason.name === 'TimeoutError'. -
Updated dependencies [d559de9]
-
Updated dependencies [9c54a9f]
-
Updated dependencies [bbc4bd5]
- @ai-sdk/provider-utils@4.0.37
- @ai-sdk/gateway@3.0.145