@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.
- package/CHANGELOG.md +15 -0
- package/dist/anthropic/index.js +4 -4
- package/dist/anthropic/index.mjs +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/docs/08-amazon-bedrock.mdx +5 -0
- package/package.json +2 -2
- package/src/bedrock-prepare-tools.ts +1 -0
|
@@ -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.
|
|
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.
|
|
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
|
},
|