@ai-sdk/amazon-bedrock 4.0.78 → 4.0.80

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.
@@ -546,6 +546,11 @@ Via Anthropic, Amazon Bedrock provides three provider-defined tools that can be
546
546
 
547
547
  They are available via the `tools` property of the provider instance.
548
548
 
549
+ <Note>
550
+ Amazon Bedrock does not support strict mode on tool definitions. Setting
551
+ `strict: true` on a tool will be ignored and a warning will be emitted.
552
+ </Note>
553
+
549
554
  ### Bash Tool
550
555
 
551
556
  The Bash Tool allows running bash commands. Here's how to create and use it:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/amazon-bedrock",
3
- "version": "4.0.78",
3
+ "version": "4.0.80",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -38,7 +38,7 @@
38
38
  "@smithy/eventstream-codec": "^4.0.1",
39
39
  "@smithy/util-utf8": "^4.0.0",
40
40
  "aws4fetch": "^1.0.20",
41
- "@ai-sdk/anthropic": "3.0.59",
41
+ "@ai-sdk/anthropic": "3.0.61",
42
42
  "@ai-sdk/provider": "3.0.8",
43
43
  "@ai-sdk/provider-utils": "4.0.20"
44
44
  },
@@ -82,6 +82,7 @@ export async function prepareTools({
82
82
  tools: ProviderTools,
83
83
  toolChoice,
84
84
  supportsStructuredOutput: false,
85
+ supportsStrictTools: false,
85
86
  });
86
87
 
87
88
  toolWarnings.push(...anthropicToolWarnings);