mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
4d31619eb7
* fix(ai): preserve provider tool identity across step boundaries
Port of vercel/ai#14229. Provider tools (e.g. anthropic.tools.webSearch)
were converted to plain function tools in toolsToModelTools, stripping
type, id, and args fields. This caused providers like Anthropic Gateway
to not recognize them as provider-executed tools.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* DCO Remediation Commit for Gregor Martynus <39992+gr2m@users.noreply.github.com>
I, Gregor Martynus <39992+gr2m@users.noreply.github.com>, hereby add my Signed-off-by to this commit: b1930b307d
Signed-off-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
---------
Signed-off-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
358 B
358 B
@workflow/ai
| @workflow/ai |
|---|
| patch |
fix(ai): preserve provider tool identity across step boundaries
Provider tools (e.g. anthropic.tools.webSearch) were being converted to plain function tools in toolsToModelTools, stripping type: 'provider', id, and args. This caused providers like Anthropic Gateway to not recognize them as provider-executed tools.