Agent InfrastructureAutomated release watch

ai@5.0.274

Vercel AI SDK 5.0.274 fixes several chat stream issues, including stream resumption on page visibility, cleanup on stop, stable ID message tracking, and tool output matching.

Human read

Why this signal matters

The ai@5.0.274 patch release introduces multiple bug fixes for chat streaming and message handling: - Stream Resumption: Fixes resuming interrupted chat streams upon page visibility. useChat with resume: true avoids triggering duplicate resume requests on mount if the chat is actively submitted or streaming (such as remounting with a shared Chat instance). - Stream State Management: Chat messages during streaming are now updated by stable ID. Unrelated message state is discarded when reading resumed streams, and the system now waits for chat stream cleanup when stopping. - Tool Handling: Tool outputs are properly updated within the specific message containing the matching tool call. - Types and Dependencies: Resolves global type conflicts across SDK versions and bumps @ai-sdk/gateway to 2.0.165.

Agent parse

Actionable summary

ai@5.0.274 patch release: fixes useChat stream resumption logic on page visibility and component remounts, ensures proper cleanup on stream stop, updates tool outputs in messages with matching tool calls, updates streaming messages via stable IDs, discards unrelated message state on resume, and resolves global type conflicts.

Agent usefulness
77/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Upgrade the ai package to version 5.0.274 if experiencing issues with chat stream resumption, message ID updates, or tool call outputs.
Classification

Tags and routing

vercelai-sdktypescript
Related signals

Continue the thread