@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/dist/index.mjs CHANGED
@@ -450,6 +450,9 @@ async function convertToBedrockChatMessages(prompt) {
450
450
  }
451
451
  case "tool": {
452
452
  for (const part of content) {
453
+ if (part.type === "tool-approval-response") {
454
+ continue;
455
+ }
453
456
  let toolResultContent;
454
457
  const output = part.output;
455
458
  switch (output.type) {
@@ -1743,7 +1746,7 @@ import {
1743
1746
  import { AwsV4Signer } from "aws4fetch";
1744
1747
 
1745
1748
  // src/version.ts
1746
- var VERSION = true ? "4.0.0-beta.106" : "0.0.0-test";
1749
+ var VERSION = true ? "4.0.0-beta.108" : "0.0.0-test";
1747
1750
 
1748
1751
  // src/bedrock-sigv4-fetch.ts
1749
1752
  function createSigV4FetchFunction(getCredentials, fetch = globalThis.fetch) {