Vercel AI SDK ai@7.0.171
This patch improves validation of malformed UI messages to prevent excessive memory and CPU use. It also changes failed tool-call errors sent through UI streams to preserve the text seen by the model by default, adds download transport and cancellation support, and introduces an experimental extraction API and model specification.
Applications using UI message streams may now expose full failed tool-call error text to clients, while applications validating untrusted UI messages or downloading files may benefit from the resource and transport safeguards.
Review failed tool-call error handling for sensitive details and use safe tool error messages or `redactToolErrors: true` where appropriate.
# community_signal
How useful is this release to your stack?
Sign in with GitHub to cast your vote.
You’ll return to this release, then choose your vote.