@ai-sdk/anthropic 4.0.39 → 4.0.41
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 +14 -0
- package/dist/index.js +1 -1
- package/docs/05-anthropic.mdx +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @ai-sdk/anthropic
|
|
2
2
|
|
|
3
|
+
## 4.0.41
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [b74971f]
|
|
8
|
+
- @ai-sdk/provider-utils@5.0.29
|
|
9
|
+
|
|
10
|
+
## 4.0.40
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [e6087c9]
|
|
15
|
+
- @ai-sdk/provider-utils@5.0.28
|
|
16
|
+
|
|
3
17
|
## 4.0.39
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -7131,7 +7131,7 @@ var AnthropicSkills = class {
|
|
|
7131
7131
|
};
|
|
7132
7132
|
|
|
7133
7133
|
// src/version.ts
|
|
7134
|
-
var VERSION = true ? "4.0.
|
|
7134
|
+
var VERSION = true ? "4.0.41" : "0.0.0-test";
|
|
7135
7135
|
|
|
7136
7136
|
// src/anthropic-provider.ts
|
|
7137
7137
|
var ANTHROPIC_API_URL = "https://api.anthropic.com";
|
package/docs/05-anthropic.mdx
CHANGED
|
@@ -1110,7 +1110,7 @@ import { generateText } from 'ai';
|
|
|
1110
1110
|
|
|
1111
1111
|
const result = await generateText({
|
|
1112
1112
|
model: anthropic('claude-sonnet-4-6'),
|
|
1113
|
-
|
|
1113
|
+
instructions:
|
|
1114
1114
|
'You have access to an `advisor` tool backed by a stronger reviewer model.',
|
|
1115
1115
|
prompt:
|
|
1116
1116
|
'Build a concurrent worker pool in Go with graceful shutdown. Outline the design first.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/anthropic",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.41",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@ai-sdk/provider": "4.0.7",
|
|
39
|
-
"@ai-sdk/provider-utils": "5.0.
|
|
39
|
+
"@ai-sdk/provider-utils": "5.0.29"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/node": "22.19.19",
|