AI SDK 5.0.241

5.0.241
Fixed 3
  • Reject `streamObject` result promises and report failed completion when the provider stream errors
  • Filter preliminary tool outputs when `ignoreIncompleteToolCalls` is enabled
  • Prevent automatic tool execution when a model call ends with an unsafe finish reason

From AI SDK

Patch Changes
  • 9d0b84c: fix: reject streamObject result promises and report failed completion when the provider stream errors
  • 05df123: Filter preliminary tool outputs when ignoreIncompleteToolCalls is enabled.
  • e532644: Prevent automatic tool execution when a model call ends with an unsafe finish reason.
View original

Upgraded? How did it go?

Discussion