6.0.314
Changed 1
- experimental_repairToolCall is no longer invoked for tool calls rejected under toolChoice 'none'
Fixed 2
- Fixed toolChoice 'none' by forwarding it to the Hugging Face Responses API and rejecting tool calls before local execution in generateText and streamText
- Streamed tool parts are withheld so client-side tools cannot act on them when toolChoice is 'none'
From AI SDK
Patch Changes
- 6572f26: Fix
toolChoice: 'none'by forwarding it to the Hugging Face Responses API and rejecting tool calls before local execution ingenerateTextandstreamText. Streamed tool parts are withheld so client-side tools cannot act on them, andexperimental_repairToolCallis not invoked for rejected tool calls.