@ai-sdk/bytedance@2.0.27
Patch Changes
-
8b6d615: feat (provider/bytedance): implement async video operations (doStart/doStatus) on the video model, replacing the internal doGenerate polling loop.
Polling is now orchestrated by
generateVideovia itspoll: { intervalMs, timeoutMs }option. ThepollIntervalMsandpollTimeoutMsprovider options are deprecated and ignored; passing either emits a warning. The polling defaults change accordingly (interval 3000ms to 5000ms, timeout 300000ms to 600000ms), and a failed or cancelled task now rejects with a plainErrorrather than anAISDKError. Failure reasons reported by the task are now included in the error message. -
Updated dependencies [ad6a650]
-
Updated dependencies [81cd026]
- @ai-sdk/provider@4.0.7
- @ai-sdk/provider-utils@5.0.25