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

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/dist/index.mjs CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  } from "@ai-sdk/provider-utils";
9
9
 
10
10
  // src/version.ts
11
- var VERSION = true ? "4.0.0-beta.19" : "0.0.0-test";
11
+ var VERSION = true ? "4.0.0-beta.20" : "0.0.0-test";
12
12
 
13
13
  // src/bedrock-provider.ts
14
14
  import { anthropicTools as anthropicTools2 } from "@ai-sdk/anthropic/internal";
@@ -252,7 +252,7 @@ async function prepareTools({
252
252
  toolSpec: {
253
253
  name: tool.name,
254
254
  inputSchema: {
255
- json: asSchema(fullToolDefinition.inputSchema).jsonSchema
255
+ json: await asSchema(fullToolDefinition.inputSchema).jsonSchema
256
256
  }
257
257
  }
258
258
  });