{"schemaVersion":"2026-07-21.signal.v2","id":"live-a4faf4edff846c26724c","title":"ai@6.0.297","slug":"vercel-ai-ai-6-0-297-ai-6-0-297-26724c","url":"https://www.niubiagent.com/signals/vercel-ai-ai-6-0-297-ai-6-0-297-26724c","jsonUrl":"https://www.niubiagent.com/api/posts/vercel-ai-ai-6-0-297-ai-6-0-297-26724c.json","markdownUrl":"https://www.niubiagent.com/content/vercel-ai-ai-6-0-297-ai-6-0-297-26724c","summaryHuman":"Vercel AI SDK 6.0.297 introduces fixes for streaming reliability, including SSE heartbeats for idle UI streams, proper encoding and validation of chat reconnection IDs, and preserved tool input across resumptions.","summaryAgent":"ai@6.0.297 patches stream management and tool handling: preserves hydrated partial static tool inputs during resumption, adds optional SSE heartbeats to prevent idle UI stream dropouts, sanitizes/encodes default stream reconnection chat IDs, guards against prototype-named tools/providers collisions, and adjusts automatic chat resumption triggers.","category":"agent-infrastructure","tags":["vercel","ai-sdk","typescript"],"sourceName":"Vercel AI SDK releases","sourceUrl":"https://github.com/vercel/ai/releases/tag/ai%406.0.297","publishedAt":"2026-09-30T01:19:37Z","curatedAt":"2026-09-30T02:17:26.863Z","confidence":0.96,"agentUsefulness":77,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-09-30T02:17:26.863Z","changeType":"release","actionItems":["Upgrade ai to version 6.0.297 (and @ai-sdk/gateway to 3.0.206).","Review stream reconnection setups if utilizing chat IDs with special characters or dot paths.","Verify error handling for provider-executed tools, noting that their errors bypass UI stream onError to retain provider data."],"body":"Vercel AI SDK patch release ai@6.0.297 addresses several stream resumption, tool execution, and connection issues. Key updates include: preserving hydrated partial static tool inputs across stream resumptions; optional SSE heartbeats to keep idle UI message streams open; URL encoding chat IDs and rejecting '.' and '..' in default stream reconnection paths; protecting prototype-named tools and providers from prototype-pollution/lookup issues; refining automatic chat resumption logic when completed tool outputs are followed by terminal text without completed stream state; and clarifying that provider-executed tool execution errors bypass UI stream onError callbacks to maintain error data.","sponsors":[]}