@ai-sdk/amazon-bedrock 3.0.35 → 3.0.37

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
+ ## 3.0.37
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [07274ad]
8
+ - @ai-sdk/anthropic@2.0.28
9
+
10
+ ## 3.0.36
11
+
12
+ ### Patch Changes
13
+
14
+ - 8107334: Fix reasoning with Bedrock when additionalModelRequestFields is used
15
+
3
16
  ## 3.0.35
4
17
 
5
18
  ### Patch Changes
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ module.exports = __toCommonJS(src_exports);
30
30
  var import_provider_utils8 = require("@ai-sdk/provider-utils");
31
31
 
32
32
  // src/version.ts
33
- var VERSION = true ? "3.0.35" : "0.0.0-test";
33
+ var VERSION = true ? "3.0.37" : "0.0.0-test";
34
34
 
35
35
  // src/bedrock-provider.ts
36
36
  var import_internal2 = require("@ai-sdk/anthropic/internal");
@@ -819,7 +819,11 @@ var BedrockChatLanguageModel = class {
819
819
  }
820
820
  }
821
821
  const { system, messages } = await convertToBedrockChatMessages(filteredPrompt);
822
- const { reasoningConfig: _, ...filteredBedrockOptions } = (providerOptions == null ? void 0 : providerOptions.bedrock) || {};
822
+ const {
823
+ reasoningConfig: _,
824
+ additionalModelRequestFields: __,
825
+ ...filteredBedrockOptions
826
+ } = (providerOptions == null ? void 0 : providerOptions.bedrock) || {};
823
827
  return {
824
828
  command: {
825
829
  system,