@ai-sdk/amazon-bedrock 4.0.65 → 4.0.67

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,18 @@
1
1
  # @ai-sdk/amazon-bedrock
2
2
 
3
+ ## 4.0.67
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [2164cdf]
8
+ - @ai-sdk/anthropic@3.0.48
9
+
10
+ ## 4.0.66
11
+
12
+ ### Patch Changes
13
+
14
+ - 91f8777: fix(bedrock/groq): pass strict mode for tools
15
+
3
16
  ## 4.0.65
4
17
 
5
18
  ### Patch Changes
@@ -35,7 +35,7 @@ var import_provider_utils = require("@ai-sdk/provider-utils");
35
35
  var import_aws4fetch = require("aws4fetch");
36
36
 
37
37
  // src/version.ts
38
- var VERSION = true ? "4.0.65" : "0.0.0-test";
38
+ var VERSION = true ? "4.0.67" : "0.0.0-test";
39
39
 
40
40
  // src/bedrock-sigv4-fetch.ts
41
41
  function createSigV4FetchFunction(getCredentials, fetch = globalThis.fetch) {
@@ -24,7 +24,7 @@ import {
24
24
  import { AwsV4Signer } from "aws4fetch";
25
25
 
26
26
  // src/version.ts
27
- var VERSION = true ? "4.0.65" : "0.0.0-test";
27
+ var VERSION = true ? "4.0.67" : "0.0.0-test";
28
28
 
29
29
  // src/bedrock-sigv4-fetch.ts
30
30
  function createSigV4FetchFunction(getCredentials, fetch = globalThis.fetch) {
package/dist/index.js CHANGED
@@ -285,6 +285,7 @@ async function prepareTools({
285
285
  toolSpec: {
286
286
  name: tool.name,
287
287
  ...((_a = tool.description) == null ? void 0 : _a.trim()) !== "" ? { description: tool.description } : {},
288
+ ...tool.strict != null ? { strict: tool.strict } : {},
288
289
  inputSchema: {
289
290
  json: tool.inputSchema
290
291
  }
@@ -1933,7 +1934,7 @@ var import_provider_utils7 = require("@ai-sdk/provider-utils");
1933
1934
  var import_aws4fetch = require("aws4fetch");
1934
1935
 
1935
1936
  // src/version.ts
1936
- var VERSION = true ? "4.0.65" : "0.0.0-test";
1937
+ var VERSION = true ? "4.0.67" : "0.0.0-test";
1937
1938
 
1938
1939
  // src/bedrock-sigv4-fetch.ts
1939
1940
  function createSigV4FetchFunction(getCredentials, fetch = globalThis.fetch) {