@ai-sdk/amazon-bedrock 4.0.100 → 4.0.101

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.100",
3
+ "version": "4.0.101",
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.74",
41
+ "@ai-sdk/anthropic": "3.0.75",
42
42
  "@ai-sdk/provider": "3.0.10",
43
43
  "@ai-sdk/provider-utils": "4.0.26"
44
44
  },
@@ -1013,7 +1013,7 @@ const BedrockAdditionalModelResponseFieldsSchema = z
1013
1013
  const BedrockToolUseSchema = z.object({
1014
1014
  toolUseId: z.string(),
1015
1015
  name: z.string(),
1016
- input: z.unknown(),
1016
+ input: z.unknown().optional(),
1017
1017
  });
1018
1018
 
1019
1019
  const BedrockReasoningTextSchema = z.object({