@ai-sdk/amazon-bedrock 4.0.52 → 4.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/amazon-bedrock",
3
- "version": "4.0.52",
3
+ "version": "4.0.53",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -74,16 +74,6 @@ export async function prepareTools({
74
74
 
75
75
  // Handle Anthropic provider-defined tools for Anthropic models on Bedrock
76
76
  if (usingAnthropicTools) {
77
- if (functionTools.length > 0) {
78
- toolWarnings.push({
79
- type: 'unsupported',
80
- feature:
81
- 'mixing Anthropic provider-defined tools and standard function tools',
82
- details:
83
- 'Mixed Anthropic provider-defined tools and standard function tools are not supported in a single call to Bedrock. Only Anthropic tools will be used.',
84
- });
85
- }
86
-
87
77
  const {
88
78
  toolChoice: preparedAnthropicToolChoice,
89
79
  toolWarnings: anthropicToolWarnings,