AI SDK 6.0.313

6.0.313
Fixed 3
  • Process only the first approval response per tool call, so repeated or conflicting responses in the final tool message no longer execute a tool twice or both execute and deny it
  • Remove orphaned reasoning, including consecutive reasoning parts, when pruning tool calls
  • Preserve repaired tool names in streamed UI message parts

From AI SDK

Patch Changes
  • 52803fb: fix(ai): process only the first approval response per tool call, so repeated or conflicting responses in the final tool message no longer execute a tool twice or both execute and deny it
  • a0f7494: fix(ai): remove orphaned reasoning, including consecutive reasoning parts, when pruning tool calls
  • a48e8a9: fix(ai): preserve repaired tool names in streamed UI message parts
  • Updated dependencies [fa49238]
  • Updated dependencies [d301a16]
  • Updated dependencies [965effe]
  • Updated dependencies [4f82ab0]
    • @ai-sdk/gateway@3.0.220
View original

Upgraded? How did it go?

Discussion