@ai-sdk/amazon-bedrock 4.0.65 → 4.0.67
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 +13 -0
- package/dist/anthropic/index.js +1 -1
- package/dist/anthropic/index.mjs +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/bedrock-api-types.ts +1 -0
- package/src/bedrock-prepare-tools.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -279,6 +279,7 @@ async function prepareTools({
|
|
|
279
279
|
toolSpec: {
|
|
280
280
|
name: tool.name,
|
|
281
281
|
...((_a = tool.description) == null ? void 0 : _a.trim()) !== "" ? { description: tool.description } : {},
|
|
282
|
+
...tool.strict != null ? { strict: tool.strict } : {},
|
|
282
283
|
inputSchema: {
|
|
283
284
|
json: tool.inputSchema
|
|
284
285
|
}
|
|
@@ -1950,7 +1951,7 @@ import {
|
|
|
1950
1951
|
import { AwsV4Signer } from "aws4fetch";
|
|
1951
1952
|
|
|
1952
1953
|
// src/version.ts
|
|
1953
|
-
var VERSION = true ? "4.0.
|
|
1954
|
+
var VERSION = true ? "4.0.67" : "0.0.0-test";
|
|
1954
1955
|
|
|
1955
1956
|
// src/bedrock-sigv4-fetch.ts
|
|
1956
1957
|
function createSigV4FetchFunction(getCredentials, fetch = globalThis.fetch) {
|