Skip to content

fix(amazon-bedrock): remove misleading warning when mixing tool types#12318

Merged
dancer merged 2 commits intovercel:mainfrom
muraliavarma:fix/remove-misleading-bedrock-mixed-tools-warning
Feb 9, 2026
Merged

fix(amazon-bedrock): remove misleading warning when mixing tool types#12318
dancer merged 2 commits intovercel:mainfrom
muraliavarma:fix/remove-misleading-bedrock-mixed-tools-warning

Conversation

@muraliavarma
Copy link
Contributor

Summary

  • Removes misleading warning that claimed "Only Anthropic tools will be used" when mixing Anthropic provider-defined tools and standard function tools on Bedrock
  • The warning was incorrect — both tool types are added to bedrockTools and sent to Bedrock, which handles them correctly together

Test plan

  • Verified all 276 existing tests pass (node + edge) in @ai-sdk/amazon-bedrock
  • Confirmed the warning block was the only code removed — no behavior change, just removing a false warning

Fixes #12189

The warning incorrectly stated "Only Anthropic tools will be used" when
mixing Anthropic provider-defined tools with standard function tools,
but the code actually sends both tool types to Bedrock and they work
correctly together.

Fixes vercel#12189
@dancer dancer merged commit aebbebd into vercel:main Feb 9, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider provider/amazon-bedrock Issues related to the @ai-sdk/amazon-bedrock provider provider/anthropic

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Misleading warning in amazon-bedrock package

2 participants