@ai-sdk/anthropic 3.0.94 → 3.0.95

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": "3.0.94",
3
+ "version": "3.0.95",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@ai-sdk/provider": "3.0.13",
40
- "@ai-sdk/provider-utils": "4.0.36"
40
+ "@ai-sdk/provider-utils": "4.0.37"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "20.17.24",
@@ -437,7 +437,8 @@ export async function convertToAnthropicMessagesPrompt({
437
437
  contentValue = output.value;
438
438
  break;
439
439
  case 'execution-denied':
440
- contentValue = output.reason ?? 'Tool execution denied.';
440
+ contentValue =
441
+ output.reason ?? 'Tool call execution denied.';
441
442
  break;
442
443
  case 'json':
443
444
  case 'error-json':