releases.shpreview

Empty assistant UI message parts now valid; pending tool results prevented after stream error

ai@6.0.226

July 14, 2026AI SDKView original ↗
2 fixesThis release2 fixesBug fixesAI-tallied from the release notes
From the original release noteView original ↗

Patch Changes

  • 94219a2: Allow validating assistant UI messages with empty parts so persisted errored responses remain loadable.
  • b1be847: Prevent pending tool executions from enqueueing results after a model stream error closes the result stream.
  • Updated dependencies [06fb54c]
  • Updated dependencies [bc46977]
    • @ai-sdk/provider-utils@4.0.39
    • @ai-sdk/gateway@3.0.150

Fetched July 14, 2026

Empty assistant UI message parts now valid; pending tool… — releases.sh