@ai-sdk/workflow@2.0.71
Fixes URL-backed input handling in @ai-sdk/workflow by moving download logic from the workflow context into model steps.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
In release @ai-sdk/workflow@2.0.71, URL-backed image and file inputs are no longer downloaded within the workflow context where fetch is unavailable. Instead, model steps handle downloading unsupported URLs based on the resolved model's supportedUrls configuration for both stream() and generate() . Custom experimental download functions now execute within the model step rather than the workflow context and must be annotated with 'use step' to be passed into the step. Accompanied by ai@7.0.139.
可执行摘要
@ai-sdk/workflow@2.0.71 shifts download of URL-backed inputs from the fetch-restricted workflow context into model steps, utilizing resolved model's supportedUrls and requiring custom experimental download functions to be marked with 'use step'.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Mark any custom experimental download functions with 'use step' when passing them to workflow model steps.
- Verify URL-backed file and image processing in workflows utilizing stream() and generate().