@ai-sdk/amazon-bedrock 4.0.78 → 4.0.80
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 +15 -0
- package/dist/anthropic/index.js +4 -4
- package/dist/anthropic/index.mjs +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/docs/08-amazon-bedrock.mdx +5 -0
- package/package.json +2 -2
- package/src/bedrock-prepare-tools.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -240,7 +240,8 @@ async function prepareTools({
|
|
|
240
240
|
} = await prepareAnthropicTools({
|
|
241
241
|
tools: ProviderTools,
|
|
242
242
|
toolChoice,
|
|
243
|
-
supportsStructuredOutput: false
|
|
243
|
+
supportsStructuredOutput: false,
|
|
244
|
+
supportsStrictTools: false
|
|
244
245
|
});
|
|
245
246
|
toolWarnings.push(...anthropicToolWarnings);
|
|
246
247
|
anthropicBetas.forEach((beta) => betas.add(beta));
|
|
@@ -1969,7 +1970,7 @@ import {
|
|
|
1969
1970
|
import { AwsV4Signer } from "aws4fetch";
|
|
1970
1971
|
|
|
1971
1972
|
// src/version.ts
|
|
1972
|
-
var VERSION = true ? "4.0.
|
|
1973
|
+
var VERSION = true ? "4.0.80" : "0.0.0-test";
|
|
1973
1974
|
|
|
1974
1975
|
// src/bedrock-sigv4-fetch.ts
|
|
1975
1976
|
function createSigV4FetchFunction(getCredentials, fetch = globalThis.fetch) {
|