AI SDK 7.0.50

7.0.50
Added 3
  • Add asynchronous start/status flow to the experimental video model interface (VideoModelV4) with doStart, doStatus, and handleWebhookOption methods
  • Add poll and webhook options to experimental_generateVideo for asynchronous completion orchestration
  • Add custom delay implementation support for polling configuration to enable durable workflow compatibility
Changed 1
  • Simplify tool caller configuration in code-mode
Patch Changes
  • 79e133c: async APIs for generateVideo (poll, webhook)

    Adds an asynchronous start/status flow to the experimental video model interface (VideoModelV4): models may now implement doStart, doStatus, and handleWebhookOption instead of (or in addition to) doGenerate, and experimental_generateVideo accepts poll and webhook options to orchestrate completion via polling or webhooks. Polling configuration can use a custom delay implementation for durable workflow compatibility.

  • da64b51: feat(code-mode): simplify tool caller configuration

  • Updated dependencies [79e133c]

    • @ai-sdk/provider@4.0.5
    • @ai-sdk/gateway@4.0.39
    • @ai-sdk/provider-utils@5.0.19
View original

Discussion