@ai-sdk/amazon-bedrock 4.0.129 → 4.0.131
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 +23 -0
- package/dist/anthropic/index.js +1 -1
- package/dist/anthropic/index.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/mantle/index.js +1 -1
- package/dist/mantle/index.mjs +1 -1
- package/package.json +4 -4
- package/src/convert-to-bedrock-chat-messages.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -581,7 +581,7 @@ async function convertToBedrockChatMessages(prompt, isMistral = false) {
|
|
|
581
581
|
break;
|
|
582
582
|
case "execution-denied":
|
|
583
583
|
toolResultContent = [
|
|
584
|
-
{ text: (_a = output.reason) != null ? _a : "Tool execution denied." }
|
|
584
|
+
{ text: (_a = output.reason) != null ? _a : "Tool call execution denied." }
|
|
585
585
|
];
|
|
586
586
|
break;
|
|
587
587
|
case "json":
|
|
@@ -2044,7 +2044,7 @@ import {
|
|
|
2044
2044
|
import { AwsV4Signer } from "aws4fetch";
|
|
2045
2045
|
|
|
2046
2046
|
// src/version.ts
|
|
2047
|
-
var VERSION = true ? "4.0.
|
|
2047
|
+
var VERSION = true ? "4.0.131" : "0.0.0-test";
|
|
2048
2048
|
|
|
2049
2049
|
// src/bedrock-sigv4-fetch.ts
|
|
2050
2050
|
function createSigV4FetchFunction(getCredentials, fetch, service = "bedrock") {
|