github vercel/ai ai@5.0.281

latest releases: @ai-sdk/harness-pi@1.0.166, @ai-sdk/harness-fx@1.0.79, @ai-sdk/harness-cline@1.0.91...
4 hours ago

Patch Changes

  • 9ec221d: Fix toolChoice: 'none' by forwarding it to the Hugging Face Responses API and rejecting tool calls before local execution in generateText and streamText with a new ToolChoiceViolationError. Streamed tool parts are withheld so client-side tools cannot act on them, and experimental_repairToolCall is not invoked for rejected tool calls.
  • Updated dependencies [0a444c6]
  • Updated dependencies [6120af2]
    • @ai-sdk/gateway@2.0.172

Don't miss a new ai release

NewReleases is sending notifications on new releases.