AI SDK 7.0.79

7.0.79
Added 1
  • Add batch completion webhooks where experimental_startTextBatch accepts a webhookUrl, and the gateway provider registers it through the batch callbackUrl contract and exports typed async-job metadata
Changed 1
  • Direct Anthropic and OpenAI batch providers return an unsupported warning when the webhookUrl option is provided
Fixed 2
  • Preserve active text and reasoning parts when another merged UI message stream finishes a step, and align workflow stream normalization with the explicit part end chunks
  • Parse structured generateText output when providers omit finishReason but return text

From AI SDK

Patch Changes
  • b251584: Preserve active text and reasoning parts when another merged UI message stream finishes a step, and align workflow stream normalization with the explicit part end chunks.
  • 591d25b: feat: add batch completion webhooks. experimental_startTextBatch accepts a webhookUrl, and the gateway provider registers it through the batch callbackUrl contract and exports typed async-job metadata. Direct Anthropic and OpenAI batch providers return an unsupported warning when the option is provided.
  • 9de0baf: Parse structured generateText output when providers omit finishReason but return text.
  • Updated dependencies [591d25b]
    • @ai-sdk/gateway@4.0.64
    • @ai-sdk/provider@4.0.8
    • @ai-sdk/provider-utils@5.0.30
View original

Upgraded? How did it go?

Discussion