github vercel/ai ai@7.0.0-canary.168

latest releases: @ai-sdk/google-vertex@5.0.31, @ai-sdk/anthropic-aws@2.0.13, @ai-sdk/anthropic@4.0.21...
pre-releaseone month ago

Patch Changes

  • 1e4b350: Honor tool.toModelOutput in WorkflowAgent.

    WorkflowAgent now routes successful local, provider-executed, and approved tool results through each tool's optional toModelOutput hook, matching generateText, streamText, and ToolLoopAgent. Previously the hook was ignored and results were always serialized as text or json.

    Internally exports the shared tool-result model-output helpers from ai/internal, and uses the shared getErrorMessage behavior for workflow tool error results.

  • Updated dependencies [a3bb04a]

    • @ai-sdk/gateway@4.0.0-canary.102

Don't miss a new ai release

NewReleases is sending notifications on new releases.