@ai-sdk/amazon-bedrock 4.0.0-beta.19 → 4.0.0-beta.21

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @ai-sdk/amazon-bedrock
2
2
 
3
+ ## 4.0.0-beta.21
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [d116b4b]
8
+ - @ai-sdk/provider-utils@4.0.0-beta.13
9
+ - @ai-sdk/anthropic@3.0.0-beta.18
10
+
11
+ ## 4.0.0-beta.20
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [7e32fea]
16
+ - @ai-sdk/provider-utils@4.0.0-beta.12
17
+ - @ai-sdk/anthropic@3.0.0-beta.17
18
+
3
19
  ## 4.0.0-beta.19
4
20
 
5
21
  ### Patch Changes
package/dist/index.js CHANGED
@@ -40,7 +40,7 @@ module.exports = __toCommonJS(src_exports);
40
40
  var import_provider_utils8 = require("@ai-sdk/provider-utils");
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "4.0.0-beta.19" : "0.0.0-test";
43
+ var VERSION = true ? "4.0.0-beta.21" : "0.0.0-test";
44
44
 
45
45
  // src/bedrock-provider.ts
46
46
  var import_internal2 = require("@ai-sdk/anthropic/internal");
@@ -268,7 +268,7 @@ async function prepareTools({
268
268
  toolSpec: {
269
269
  name: tool.name,
270
270
  inputSchema: {
271
- json: (0, import_provider_utils2.asSchema)(fullToolDefinition.inputSchema).jsonSchema
271
+ json: await (0, import_provider_utils2.asSchema)(fullToolDefinition.inputSchema).jsonSchema
272
272
  }
273
273
  }
274
274
  });