@ai-sdk/amazon-bedrock 4.0.0-beta.106 → 4.0.0-beta.108

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,24 @@
1
1
  # @ai-sdk/amazon-bedrock
2
2
 
3
+ ## 4.0.0-beta.108
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [475189e]
8
+ - @ai-sdk/provider@3.0.0-beta.32
9
+ - @ai-sdk/anthropic@3.0.0-beta.97
10
+ - @ai-sdk/provider-utils@4.0.0-beta.59
11
+
12
+ ## 4.0.0-beta.107
13
+
14
+ ### Patch Changes
15
+
16
+ - 2625a04: feat(openai); update spec for mcp approval
17
+ - Updated dependencies [2625a04]
18
+ - @ai-sdk/anthropic@3.0.0-beta.96
19
+ - @ai-sdk/provider@3.0.0-beta.31
20
+ - @ai-sdk/provider-utils@4.0.0-beta.58
21
+
3
22
  ## 4.0.0-beta.106
4
23
 
5
24
  ### Patch Changes
package/dist/index.js CHANGED
@@ -454,6 +454,9 @@ async function convertToBedrockChatMessages(prompt) {
454
454
  }
455
455
  case "tool": {
456
456
  for (const part of content) {
457
+ if (part.type === "tool-approval-response") {
458
+ continue;
459
+ }
457
460
  let toolResultContent;
458
461
  const output = part.output;
459
462
  switch (output.type) {
@@ -1726,7 +1729,7 @@ var import_provider_utils7 = require("@ai-sdk/provider-utils");
1726
1729
  var import_aws4fetch = require("aws4fetch");
1727
1730
 
1728
1731
  // src/version.ts
1729
- var VERSION = true ? "4.0.0-beta.106" : "0.0.0-test";
1732
+ var VERSION = true ? "4.0.0-beta.108" : "0.0.0-test";
1730
1733
 
1731
1734
  // src/bedrock-sigv4-fetch.ts
1732
1735
  function createSigV4FetchFunction(getCredentials, fetch = globalThis.fetch) {