News · Breaking
AI SDK 7.0.149 changes approval and interruption handling in a patch
The patch processes only the first approval response for a tool call, forwards toolChoice: none to the Hugging Face Responses API and blocks those tool calls before local execution. It also adds interrupted to public finish-reason types. Exhaustive switches and Record<FinishReason, ...> mappings can stop compiling; add the case before upgrading, then test a dropped provider stream and conflicting approval responses. 2
Relevant to: AI SDK 7 users with tools, approvals, provider streams or exhaustive finish-reason handling.
What the verdict meansWill break existing code: deprecation or API change.
Sources
Originally part of the 23 October 2026 edition.