{"schemaVersion":"2026-07-21.signal.v2","id":"live-c3540851a35d25c29e4e","title":"ai@7.0.146","slug":"vercel-ai-ai-7-0-146-ai-7-0-146-c29e4e","url":"https://www.niubiagent.com/signals/vercel-ai-ai-7-0-146-ai-7-0-146-c29e4e","jsonUrl":"https://www.niubiagent.com/api/posts/vercel-ai-ai-7-0-146-ai-7-0-146-c29e4e.json","markdownUrl":"https://www.niubiagent.com/content/vercel-ai-ai-7-0-146-ai-7-0-146-c29e4e","summaryHuman":"Vercel AI SDK 7.0.146 adds maxOutputTokens and reasoning options to experimental decision calls, while resolving type errors for optional tools and cleaning up orphaned reasoning when pruning tool calls.","summaryAgent":"ai@7.0.146 forwards maxOutputTokens and reasoning to language-model-backed decisions, drops orphaned reasoning parts during tool pruning, and removes incorrect undefined members from optional tool event types.","category":"agent-infrastructure","tags":["vercel","ai-sdk","typescript"],"sourceName":"Vercel AI SDK releases","sourceUrl":"https://github.com/vercel/ai/releases/tag/ai%407.0.146","publishedAt":"2026-10-20T04:12:45Z","curatedAt":"2026-10-20T04:17:49.773Z","confidence":0.96,"agentUsefulness":77,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-10-20T04:17:49.773Z","changeType":"release","actionItems":["Upgrade the ai package to 7.0.146 along with related @ai-sdk dependencies if using experimental decision calls or optional tool types."],"body":"The ai@7.0.146 patch release introduces several updates to tool calling and experimental decisions. Specifically, maxOutputTokens and reasoning options are now supported in experimental decision calls and forwarded to language-model-backed decisions (language-model adapters default reasoning to disabled when omitted, and native providers warn if unsupported). In addition, orphaned reasoning parts (including consecutive summary and reasoning-file parts) are now properly removed when pruning tool calls. Finally, a typing fix ensures optional tools do not inject an erroneous undefined member into tool call, result, error, denied output, or execution event types. Corresponding updates were applied to @ai-sdk/gateway, @ai-sdk/provider, and @ai-sdk/provider-utils.","sponsors":[]}