@ai-sdk/anthropic 4.0.76 → 4.0.78

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/anthropic",
3
- "version": "4.0.76",
3
+ "version": "4.0.78",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -35,8 +35,8 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@ai-sdk/provider": "4.0.25",
39
- "@ai-sdk/provider-utils": "5.0.57"
38
+ "@ai-sdk/provider": "4.0.26",
39
+ "@ai-sdk/provider-utils": "5.0.58"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@ai-sdk/test-server": "2.0.4",
@@ -99,7 +99,7 @@ export async function prepareTools({
99
99
  const deferLoading = anthropicOptions?.deferLoading;
100
100
  const allowedCallers = anthropicOptions?.allowedCallers;
101
101
 
102
- if (!supportsStrictTools && tool.strict != null) {
102
+ if (!supportsStrictTools && tool.strict === true) {
103
103
  toolWarnings.push({
104
104
  type: 'unsupported',
105
105
  feature: 'strict',