@ai-sdk/anthropic 4.0.76 → 4.0.77
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 +6 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.js.map +1 -1
- package/package.json +1 -1
- package/src/anthropic-prepare-tools.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1490,7 +1490,7 @@ async function prepareTools({ tools, toolChoice, disableParallelToolUse, cacheCo
|
|
|
1490
1490
|
const eagerInputStreaming = anthropicOptions?.eagerInputStreaming ?? defaultEagerInputStreaming;
|
|
1491
1491
|
const deferLoading = anthropicOptions?.deferLoading;
|
|
1492
1492
|
const allowedCallers = anthropicOptions?.allowedCallers;
|
|
1493
|
-
if (!supportsStrictTools && tool.strict
|
|
1493
|
+
if (!supportsStrictTools && tool.strict === true) toolWarnings.push({
|
|
1494
1494
|
type: "unsupported",
|
|
1495
1495
|
feature: "strict",
|
|
1496
1496
|
details: `Tool '${tool.name}' has strict: ${tool.strict}, but strict mode is not supported by this provider. The strict property will be ignored.`
|
|
@@ -6869,7 +6869,7 @@ var AnthropicSkills = class {
|
|
|
6869
6869
|
};
|
|
6870
6870
|
//#endregion
|
|
6871
6871
|
//#region src/version.ts
|
|
6872
|
-
const VERSION = "4.0.
|
|
6872
|
+
const VERSION = "4.0.77";
|
|
6873
6873
|
//#endregion
|
|
6874
6874
|
//#region src/anthropic-provider.ts
|
|
6875
6875
|
const ANTHROPIC_API_URL = "https://api.anthropic.com";
|