@ai-sdk/workflow@1.0.0-canary.85
Pre-release
Pre-release
·
132 commits
to main
since this release
Patch Changes
-
1e4b350: Honor
tool.toModelOutputinWorkflowAgent.WorkflowAgentnow routes successful local, provider-executed, and approved tool results through each tool's optionaltoModelOutputhook, matchinggenerateText,streamText, andToolLoopAgent. Previously the hook was ignored and results were always serialized astextorjson.Internally exports the shared tool-result model-output helpers from
ai/internal, and uses the sharedgetErrorMessagebehavior for workflow tool error results. -
Updated dependencies [1e4b350]
- ai@7.0.0-canary.168