@ai-sdk/amazon-bedrock 4.0.0-beta.106 → 4.0.0-beta.107
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 +10 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @ai-sdk/amazon-bedrock
|
|
2
2
|
|
|
3
|
+
## 4.0.0-beta.107
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2625a04: feat(openai); update spec for mcp approval
|
|
8
|
+
- Updated dependencies [2625a04]
|
|
9
|
+
- @ai-sdk/anthropic@3.0.0-beta.96
|
|
10
|
+
- @ai-sdk/provider@3.0.0-beta.31
|
|
11
|
+
- @ai-sdk/provider-utils@4.0.0-beta.58
|
|
12
|
+
|
|
3
13
|
## 4.0.0-beta.106
|
|
4
14
|
|
|
5
15
|
### 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.
|
|
1732
|
+
var VERSION = true ? "4.0.0-beta.107" : "0.0.0-test";
|
|
1730
1733
|
|
|
1731
1734
|
// src/bedrock-sigv4-fetch.ts
|
|
1732
1735
|
function createSigV4FetchFunction(getCredentials, fetch = globalThis.fetch) {
|