@ai-sdk/anthropic 2.0.0-canary.9 → 2.0.1
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 +488 -0
- package/README.md +2 -2
- package/dist/index.d.mts +129 -421
- package/dist/index.d.ts +129 -421
- package/dist/index.js +1173 -408
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1149 -392
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +178 -394
- package/dist/internal/index.d.ts +178 -394
- package/dist/internal/index.js +1159 -396
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +1135 -382
- package/dist/internal/index.mjs.map +1 -1
- package/internal.d.ts +1 -0
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,493 @@
|
|
|
1
1
|
# @ai-sdk/anthropic
|
|
2
2
|
|
|
3
|
+
## 2.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [90d212f]
|
|
8
|
+
- @ai-sdk/provider-utils@3.0.1
|
|
9
|
+
|
|
10
|
+
## 2.0.0
|
|
11
|
+
|
|
12
|
+
### Major Changes
|
|
13
|
+
|
|
14
|
+
- d5f588f: AI SDK 5
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- ad66c0e: feat (provider/anthropic): json response schema support via tool calls
|
|
19
|
+
- 8f2854f: feat (provider/anthropic): send web search tool calls
|
|
20
|
+
- 5d959e7: refactor: updated openai + anthropic tool use server side
|
|
21
|
+
- 8dfcb11: feat(anthropic/citation): text support for citations
|
|
22
|
+
- 9f73965: feat (provider/anthropic): parse websearch tool args
|
|
23
|
+
- e2aceaf: feat: add raw chunk support
|
|
24
|
+
- fdff8a4: fix(provider/anthropic): correct Claude 4 model ID format
|
|
25
|
+
- eb173f1: chore (providers): remove model shorthand deprecation warnings
|
|
26
|
+
- 4f26d59: feat(provider/anthropic): add disable parallel tool use option
|
|
27
|
+
- 25f3454: feat(provider/anthropic): add PDF citation support with document sources for streamText
|
|
28
|
+
- a85c85f: fix (provider/anthropic): streaming json output
|
|
29
|
+
- 5c9eec4: chore(providers/anthropic): switch to providerOptions
|
|
30
|
+
- 2e13791: feat(anthropic): add server-side web search support
|
|
31
|
+
- 66962ed: fix(packages): export node10 compatible types
|
|
32
|
+
- 075711d: fix (provider/anthropic): return stop finish reason for json output with tool
|
|
33
|
+
- 269683f: Add raw Anthropic usage information to provider metadata
|
|
34
|
+
- d601ed9: fix (provider/anthropic): send tool call id in tool-input-start chunk
|
|
35
|
+
- b9ddcdd: feat(anthropic): add text_editor_20250429 tool for Claude 4 models
|
|
36
|
+
- 91715e5: fix (provider/google-vertex): fix anthropic support for image urls in messages
|
|
37
|
+
- ca8aac6: feat (providers/anthropic): add claude v4 models
|
|
38
|
+
- 61ab528: Add support for URL-based PDF documents in the Anthropic provider
|
|
39
|
+
- 84577c8: fix (providers/anthropic): remove fine grained tool streaming beta
|
|
40
|
+
- d1a034f: feature: using Zod 4 for internal stuff
|
|
41
|
+
- 6392f60: fix(anthropic): resolve web search API validation errors with partial location + provider output
|
|
42
|
+
- 205077b: fix: improve Zod compatibility
|
|
43
|
+
- ee5a9c0: feat: streamText onChunk raw chunk support
|
|
44
|
+
- f418dd7: Added anthropic provider defined tool support to amazon bedrock
|
|
45
|
+
- 362b048: add web search tool support
|
|
46
|
+
- 399e056: fix: anthropic computer tool
|
|
47
|
+
- 0b678b2: feat (provider/anthropic): enable streaming tool calls
|
|
48
|
+
- f10304b: feat(tool-calling): don't require the user to have to pass parameters
|
|
49
|
+
- a753b3a: feat (provider/anthropic): cache control for tools
|
|
50
|
+
- Updated dependencies [a571d6e]
|
|
51
|
+
- Updated dependencies [742b7be]
|
|
52
|
+
- Updated dependencies [e7fcc86]
|
|
53
|
+
- Updated dependencies [7cddb72]
|
|
54
|
+
- Updated dependencies [ccce59b]
|
|
55
|
+
- Updated dependencies [e2b9e4b]
|
|
56
|
+
- Updated dependencies [95857aa]
|
|
57
|
+
- Updated dependencies [45c1ea2]
|
|
58
|
+
- Updated dependencies [6f6bb89]
|
|
59
|
+
- Updated dependencies [060370c]
|
|
60
|
+
- Updated dependencies [dc714f3]
|
|
61
|
+
- Updated dependencies [b5da06a]
|
|
62
|
+
- Updated dependencies [d1a1aa1]
|
|
63
|
+
- Updated dependencies [63f9e9b]
|
|
64
|
+
- Updated dependencies [5d142ab]
|
|
65
|
+
- Updated dependencies [d5f588f]
|
|
66
|
+
- Updated dependencies [e025824]
|
|
67
|
+
- Updated dependencies [0571b98]
|
|
68
|
+
- Updated dependencies [b6b43c7]
|
|
69
|
+
- Updated dependencies [4fef487]
|
|
70
|
+
- Updated dependencies [48d257a]
|
|
71
|
+
- Updated dependencies [0c0c0b3]
|
|
72
|
+
- Updated dependencies [0d2c085]
|
|
73
|
+
- Updated dependencies [40acf9b]
|
|
74
|
+
- Updated dependencies [9222aeb]
|
|
75
|
+
- Updated dependencies [e2aceaf]
|
|
76
|
+
- Updated dependencies [411e483]
|
|
77
|
+
- Updated dependencies [8ba77a7]
|
|
78
|
+
- Updated dependencies [7b3ae3f]
|
|
79
|
+
- Updated dependencies [a166433]
|
|
80
|
+
- Updated dependencies [26735b5]
|
|
81
|
+
- Updated dependencies [443d8ec]
|
|
82
|
+
- Updated dependencies [a8c8bd5]
|
|
83
|
+
- Updated dependencies [abf9a79]
|
|
84
|
+
- Updated dependencies [14c9410]
|
|
85
|
+
- Updated dependencies [e86be6f]
|
|
86
|
+
- Updated dependencies [9bf7291]
|
|
87
|
+
- Updated dependencies [2e13791]
|
|
88
|
+
- Updated dependencies [9f95b35]
|
|
89
|
+
- Updated dependencies [66962ed]
|
|
90
|
+
- Updated dependencies [0d06df6]
|
|
91
|
+
- Updated dependencies [472524a]
|
|
92
|
+
- Updated dependencies [dd3ff01]
|
|
93
|
+
- Updated dependencies [d9c98f4]
|
|
94
|
+
- Updated dependencies [05d2819]
|
|
95
|
+
- Updated dependencies [9301f86]
|
|
96
|
+
- Updated dependencies [0a87932]
|
|
97
|
+
- Updated dependencies [c4a2fec]
|
|
98
|
+
- Updated dependencies [957b739]
|
|
99
|
+
- Updated dependencies [79457bd]
|
|
100
|
+
- Updated dependencies [a3f768e]
|
|
101
|
+
- Updated dependencies [7435eb5]
|
|
102
|
+
- Updated dependencies [8aa9e20]
|
|
103
|
+
- Updated dependencies [4617fab]
|
|
104
|
+
- Updated dependencies [ac34802]
|
|
105
|
+
- Updated dependencies [0054544]
|
|
106
|
+
- Updated dependencies [cb68df0]
|
|
107
|
+
- Updated dependencies [ad80501]
|
|
108
|
+
- Updated dependencies [68ecf2f]
|
|
109
|
+
- Updated dependencies [9e9c809]
|
|
110
|
+
- Updated dependencies [32831c6]
|
|
111
|
+
- Updated dependencies [6dc848c]
|
|
112
|
+
- Updated dependencies [6b98118]
|
|
113
|
+
- Updated dependencies [d0f9495]
|
|
114
|
+
- Updated dependencies [63d791d]
|
|
115
|
+
- Updated dependencies [87b828f]
|
|
116
|
+
- Updated dependencies [3f2f00c]
|
|
117
|
+
- Updated dependencies [bfdca8d]
|
|
118
|
+
- Updated dependencies [0ff02bb]
|
|
119
|
+
- Updated dependencies [7979f7f]
|
|
120
|
+
- Updated dependencies [39a4fab]
|
|
121
|
+
- Updated dependencies [44f4aba]
|
|
122
|
+
- Updated dependencies [9bd5ab5]
|
|
123
|
+
- Updated dependencies [57edfcb]
|
|
124
|
+
- Updated dependencies [faf8446]
|
|
125
|
+
- Updated dependencies [7ea4132]
|
|
126
|
+
- Updated dependencies [d1a034f]
|
|
127
|
+
- Updated dependencies [5c56081]
|
|
128
|
+
- Updated dependencies [fd65bc6]
|
|
129
|
+
- Updated dependencies [023ba40]
|
|
130
|
+
- Updated dependencies [ea7a7c9]
|
|
131
|
+
- Updated dependencies [26535e0]
|
|
132
|
+
- Updated dependencies [e030615]
|
|
133
|
+
- Updated dependencies [5e57fae]
|
|
134
|
+
- Updated dependencies [393138b]
|
|
135
|
+
- Updated dependencies [c57e248]
|
|
136
|
+
- Updated dependencies [88a8ee5]
|
|
137
|
+
- Updated dependencies [41fa418]
|
|
138
|
+
- Updated dependencies [205077b]
|
|
139
|
+
- Updated dependencies [71f938d]
|
|
140
|
+
- Updated dependencies [3795467]
|
|
141
|
+
- Updated dependencies [28a5ed5]
|
|
142
|
+
- Updated dependencies [7182d14]
|
|
143
|
+
- Updated dependencies [c1e6647]
|
|
144
|
+
- Updated dependencies [1766ede]
|
|
145
|
+
- Updated dependencies [811dff3]
|
|
146
|
+
- Updated dependencies [f10304b]
|
|
147
|
+
- Updated dependencies [dd5fd43]
|
|
148
|
+
- Updated dependencies [33f4a6a]
|
|
149
|
+
- Updated dependencies [383cbfa]
|
|
150
|
+
- Updated dependencies [27deb4d]
|
|
151
|
+
- Updated dependencies [c4df419]
|
|
152
|
+
- @ai-sdk/provider-utils@3.0.0
|
|
153
|
+
- @ai-sdk/provider@2.0.0
|
|
154
|
+
|
|
155
|
+
## 2.0.0-beta.13
|
|
156
|
+
|
|
157
|
+
### Patch Changes
|
|
158
|
+
|
|
159
|
+
- Updated dependencies [88a8ee5]
|
|
160
|
+
- @ai-sdk/provider-utils@3.0.0-beta.10
|
|
161
|
+
|
|
162
|
+
## 2.0.0-beta.12
|
|
163
|
+
|
|
164
|
+
### Patch Changes
|
|
165
|
+
|
|
166
|
+
- f418dd7: Added anthropic provider defined tool support to amazon bedrock
|
|
167
|
+
- Updated dependencies [27deb4d]
|
|
168
|
+
- @ai-sdk/provider@2.0.0-beta.2
|
|
169
|
+
- @ai-sdk/provider-utils@3.0.0-beta.9
|
|
170
|
+
|
|
171
|
+
## 2.0.0-beta.11
|
|
172
|
+
|
|
173
|
+
### Patch Changes
|
|
174
|
+
|
|
175
|
+
- eb173f1: chore (providers): remove model shorthand deprecation warnings
|
|
176
|
+
- Updated dependencies [dd5fd43]
|
|
177
|
+
- @ai-sdk/provider-utils@3.0.0-beta.8
|
|
178
|
+
|
|
179
|
+
## 2.0.0-beta.10
|
|
180
|
+
|
|
181
|
+
### Patch Changes
|
|
182
|
+
|
|
183
|
+
- 269683f: Add raw Anthropic usage information to provider metadata
|
|
184
|
+
- Updated dependencies [e7fcc86]
|
|
185
|
+
- @ai-sdk/provider-utils@3.0.0-beta.7
|
|
186
|
+
|
|
187
|
+
## 2.0.0-beta.9
|
|
188
|
+
|
|
189
|
+
### Patch Changes
|
|
190
|
+
|
|
191
|
+
- 4f26d59: feat(provider/anthropic): add disable parallel tool use option
|
|
192
|
+
- a753b3a: feat (provider/anthropic): cache control for tools
|
|
193
|
+
- Updated dependencies [ac34802]
|
|
194
|
+
- @ai-sdk/provider-utils@3.0.0-beta.6
|
|
195
|
+
|
|
196
|
+
## 2.0.0-beta.8
|
|
197
|
+
|
|
198
|
+
### Patch Changes
|
|
199
|
+
|
|
200
|
+
- Updated dependencies [57edfcb]
|
|
201
|
+
- Updated dependencies [383cbfa]
|
|
202
|
+
- @ai-sdk/provider-utils@3.0.0-beta.5
|
|
203
|
+
|
|
204
|
+
## 2.0.0-beta.7
|
|
205
|
+
|
|
206
|
+
### Patch Changes
|
|
207
|
+
|
|
208
|
+
- 205077b: fix: improve Zod compatibility
|
|
209
|
+
- Updated dependencies [205077b]
|
|
210
|
+
- @ai-sdk/provider-utils@3.0.0-beta.4
|
|
211
|
+
|
|
212
|
+
## 2.0.0-beta.6
|
|
213
|
+
|
|
214
|
+
### Patch Changes
|
|
215
|
+
|
|
216
|
+
- Updated dependencies [05d2819]
|
|
217
|
+
- @ai-sdk/provider-utils@3.0.0-beta.3
|
|
218
|
+
|
|
219
|
+
## 2.0.0-beta.5
|
|
220
|
+
|
|
221
|
+
### Patch Changes
|
|
222
|
+
|
|
223
|
+
- b9ddcdd: feat(anthropic): add text_editor_20250429 tool for Claude 4 models
|
|
224
|
+
|
|
225
|
+
## 2.0.0-beta.4
|
|
226
|
+
|
|
227
|
+
### Patch Changes
|
|
228
|
+
|
|
229
|
+
- fdff8a4: fix(provider/anthropic): correct Claude 4 model ID format
|
|
230
|
+
- 84577c8: fix (providers/anthropic): remove fine grained tool streaming beta
|
|
231
|
+
|
|
232
|
+
## 2.0.0-beta.3
|
|
233
|
+
|
|
234
|
+
### Patch Changes
|
|
235
|
+
|
|
236
|
+
- a85c85f: fix (provider/anthropic): streaming json output
|
|
237
|
+
- d1a034f: feature: using Zod 4 for internal stuff
|
|
238
|
+
- 0b678b2: feat (provider/anthropic): enable streaming tool calls
|
|
239
|
+
- Updated dependencies [0571b98]
|
|
240
|
+
- Updated dependencies [39a4fab]
|
|
241
|
+
- Updated dependencies [d1a034f]
|
|
242
|
+
- @ai-sdk/provider-utils@3.0.0-beta.2
|
|
243
|
+
|
|
244
|
+
## 2.0.0-beta.2
|
|
245
|
+
|
|
246
|
+
### Patch Changes
|
|
247
|
+
|
|
248
|
+
- d601ed9: fix (provider/anthropic): send tool call id in tool-input-start chunk
|
|
249
|
+
|
|
250
|
+
## 2.0.0-beta.1
|
|
251
|
+
|
|
252
|
+
### Patch Changes
|
|
253
|
+
|
|
254
|
+
- 8f2854f: feat (provider/anthropic): send web search tool calls
|
|
255
|
+
- 5d959e7: refactor: updated openai + anthropic tool use server side
|
|
256
|
+
- 9f73965: feat (provider/anthropic): parse websearch tool args
|
|
257
|
+
- 399e056: fix: anthropic computer tool
|
|
258
|
+
- Updated dependencies [742b7be]
|
|
259
|
+
- Updated dependencies [7cddb72]
|
|
260
|
+
- Updated dependencies [ccce59b]
|
|
261
|
+
- Updated dependencies [e2b9e4b]
|
|
262
|
+
- Updated dependencies [45c1ea2]
|
|
263
|
+
- Updated dependencies [e025824]
|
|
264
|
+
- Updated dependencies [0d06df6]
|
|
265
|
+
- Updated dependencies [472524a]
|
|
266
|
+
- Updated dependencies [dd3ff01]
|
|
267
|
+
- Updated dependencies [7435eb5]
|
|
268
|
+
- Updated dependencies [cb68df0]
|
|
269
|
+
- Updated dependencies [bfdca8d]
|
|
270
|
+
- Updated dependencies [44f4aba]
|
|
271
|
+
- Updated dependencies [023ba40]
|
|
272
|
+
- Updated dependencies [5e57fae]
|
|
273
|
+
- Updated dependencies [71f938d]
|
|
274
|
+
- Updated dependencies [28a5ed5]
|
|
275
|
+
- @ai-sdk/provider@2.0.0-beta.1
|
|
276
|
+
- @ai-sdk/provider-utils@3.0.0-beta.1
|
|
277
|
+
|
|
278
|
+
## 2.0.0-alpha.15
|
|
279
|
+
|
|
280
|
+
### Patch Changes
|
|
281
|
+
|
|
282
|
+
- Updated dependencies [48d257a]
|
|
283
|
+
- Updated dependencies [8ba77a7]
|
|
284
|
+
- @ai-sdk/provider@2.0.0-alpha.15
|
|
285
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.15
|
|
286
|
+
|
|
287
|
+
## 2.0.0-alpha.14
|
|
288
|
+
|
|
289
|
+
### Patch Changes
|
|
290
|
+
|
|
291
|
+
- 2e13791: feat(anthropic): add server-side web search support
|
|
292
|
+
- 6392f60: fix(anthropic): resolve web search API validation errors with partial location + provider output
|
|
293
|
+
- Updated dependencies [b5da06a]
|
|
294
|
+
- Updated dependencies [63f9e9b]
|
|
295
|
+
- Updated dependencies [2e13791]
|
|
296
|
+
- @ai-sdk/provider@2.0.0-alpha.14
|
|
297
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.14
|
|
298
|
+
|
|
299
|
+
## 2.0.0-alpha.13
|
|
300
|
+
|
|
301
|
+
### Patch Changes
|
|
302
|
+
|
|
303
|
+
- 8dfcb11: feat(anthropic/citation): text support for citations
|
|
304
|
+
- ee5a9c0: feat: streamText onChunk raw chunk support
|
|
305
|
+
- Updated dependencies [68ecf2f]
|
|
306
|
+
- @ai-sdk/provider@2.0.0-alpha.13
|
|
307
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.13
|
|
308
|
+
|
|
309
|
+
## 2.0.0-alpha.12
|
|
310
|
+
|
|
311
|
+
### Patch Changes
|
|
312
|
+
|
|
313
|
+
- e2aceaf: feat: add raw chunk support
|
|
314
|
+
- Updated dependencies [e2aceaf]
|
|
315
|
+
- @ai-sdk/provider@2.0.0-alpha.12
|
|
316
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.12
|
|
317
|
+
|
|
318
|
+
## 2.0.0-alpha.11
|
|
319
|
+
|
|
320
|
+
### Patch Changes
|
|
321
|
+
|
|
322
|
+
- 25f3454: feat(provider/anthropic): add PDF citation support with document sources for streamText
|
|
323
|
+
- Updated dependencies [c1e6647]
|
|
324
|
+
- @ai-sdk/provider@2.0.0-alpha.11
|
|
325
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.11
|
|
326
|
+
|
|
327
|
+
## 2.0.0-alpha.10
|
|
328
|
+
|
|
329
|
+
### Patch Changes
|
|
330
|
+
|
|
331
|
+
- Updated dependencies [c4df419]
|
|
332
|
+
- @ai-sdk/provider@2.0.0-alpha.10
|
|
333
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.10
|
|
334
|
+
|
|
335
|
+
## 2.0.0-alpha.9
|
|
336
|
+
|
|
337
|
+
### Patch Changes
|
|
338
|
+
|
|
339
|
+
- 362b048: add web search tool support
|
|
340
|
+
- Updated dependencies [811dff3]
|
|
341
|
+
- @ai-sdk/provider@2.0.0-alpha.9
|
|
342
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.9
|
|
343
|
+
|
|
344
|
+
## 2.0.0-alpha.8
|
|
345
|
+
|
|
346
|
+
### Patch Changes
|
|
347
|
+
|
|
348
|
+
- ad66c0e: feat (provider/anthropic): json response schema support via tool calls
|
|
349
|
+
- 075711d: fix (provider/anthropic): return stop finish reason for json output with tool
|
|
350
|
+
- Updated dependencies [4fef487]
|
|
351
|
+
- Updated dependencies [9222aeb]
|
|
352
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.8
|
|
353
|
+
- @ai-sdk/provider@2.0.0-alpha.8
|
|
354
|
+
|
|
355
|
+
## 2.0.0-alpha.7
|
|
356
|
+
|
|
357
|
+
### Patch Changes
|
|
358
|
+
|
|
359
|
+
- Updated dependencies [5c56081]
|
|
360
|
+
- @ai-sdk/provider@2.0.0-alpha.7
|
|
361
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.7
|
|
362
|
+
|
|
363
|
+
## 2.0.0-alpha.6
|
|
364
|
+
|
|
365
|
+
### Patch Changes
|
|
366
|
+
|
|
367
|
+
- Updated dependencies [0d2c085]
|
|
368
|
+
- @ai-sdk/provider@2.0.0-alpha.6
|
|
369
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.6
|
|
370
|
+
|
|
371
|
+
## 2.0.0-alpha.4
|
|
372
|
+
|
|
373
|
+
### Patch Changes
|
|
374
|
+
|
|
375
|
+
- ca8aac6: feat (providers/anthropic): add claude v4 models
|
|
376
|
+
- Updated dependencies [dc714f3]
|
|
377
|
+
- @ai-sdk/provider@2.0.0-alpha.4
|
|
378
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.4
|
|
379
|
+
|
|
380
|
+
## 2.0.0-alpha.3
|
|
381
|
+
|
|
382
|
+
### Patch Changes
|
|
383
|
+
|
|
384
|
+
- Updated dependencies [6b98118]
|
|
385
|
+
- @ai-sdk/provider@2.0.0-alpha.3
|
|
386
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.3
|
|
387
|
+
|
|
388
|
+
## 2.0.0-alpha.2
|
|
389
|
+
|
|
390
|
+
### Patch Changes
|
|
391
|
+
|
|
392
|
+
- Updated dependencies [26535e0]
|
|
393
|
+
- @ai-sdk/provider@2.0.0-alpha.2
|
|
394
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.2
|
|
395
|
+
|
|
396
|
+
## 2.0.0-alpha.1
|
|
397
|
+
|
|
398
|
+
### Patch Changes
|
|
399
|
+
|
|
400
|
+
- Updated dependencies [3f2f00c]
|
|
401
|
+
- @ai-sdk/provider@2.0.0-alpha.1
|
|
402
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.1
|
|
403
|
+
|
|
404
|
+
## 2.0.0-canary.19
|
|
405
|
+
|
|
406
|
+
### Patch Changes
|
|
407
|
+
|
|
408
|
+
- Updated dependencies [faf8446]
|
|
409
|
+
- @ai-sdk/provider-utils@3.0.0-canary.19
|
|
410
|
+
|
|
411
|
+
## 2.0.0-canary.18
|
|
412
|
+
|
|
413
|
+
### Patch Changes
|
|
414
|
+
|
|
415
|
+
- Updated dependencies [40acf9b]
|
|
416
|
+
- @ai-sdk/provider-utils@3.0.0-canary.18
|
|
417
|
+
|
|
418
|
+
## 2.0.0-canary.17
|
|
419
|
+
|
|
420
|
+
### Patch Changes
|
|
421
|
+
|
|
422
|
+
- Updated dependencies [ea7a7c9]
|
|
423
|
+
- @ai-sdk/provider-utils@3.0.0-canary.17
|
|
424
|
+
|
|
425
|
+
## 2.0.0-canary.16
|
|
426
|
+
|
|
427
|
+
### Patch Changes
|
|
428
|
+
|
|
429
|
+
- Updated dependencies [87b828f]
|
|
430
|
+
- @ai-sdk/provider-utils@3.0.0-canary.16
|
|
431
|
+
|
|
432
|
+
## 2.0.0-canary.15
|
|
433
|
+
|
|
434
|
+
### Patch Changes
|
|
435
|
+
|
|
436
|
+
- Updated dependencies [a571d6e]
|
|
437
|
+
- Updated dependencies [a8c8bd5]
|
|
438
|
+
- Updated dependencies [7979f7f]
|
|
439
|
+
- Updated dependencies [41fa418]
|
|
440
|
+
- @ai-sdk/provider-utils@3.0.0-canary.15
|
|
441
|
+
- @ai-sdk/provider@2.0.0-canary.14
|
|
442
|
+
|
|
443
|
+
## 2.0.0-canary.14
|
|
444
|
+
|
|
445
|
+
### Patch Changes
|
|
446
|
+
|
|
447
|
+
- Updated dependencies [957b739]
|
|
448
|
+
- Updated dependencies [9bd5ab5]
|
|
449
|
+
- @ai-sdk/provider-utils@3.0.0-canary.14
|
|
450
|
+
- @ai-sdk/provider@2.0.0-canary.13
|
|
451
|
+
|
|
452
|
+
## 2.0.0-canary.13
|
|
453
|
+
|
|
454
|
+
### Patch Changes
|
|
455
|
+
|
|
456
|
+
- Updated dependencies [7b3ae3f]
|
|
457
|
+
- Updated dependencies [0ff02bb]
|
|
458
|
+
- @ai-sdk/provider@2.0.0-canary.12
|
|
459
|
+
- @ai-sdk/provider-utils@3.0.0-canary.13
|
|
460
|
+
|
|
461
|
+
## 2.0.0-canary.12
|
|
462
|
+
|
|
463
|
+
### Patch Changes
|
|
464
|
+
|
|
465
|
+
- 5c9eec4: chore(providers/anthropic): switch to providerOptions
|
|
466
|
+
- Updated dependencies [9bf7291]
|
|
467
|
+
- Updated dependencies [4617fab]
|
|
468
|
+
- Updated dependencies [e030615]
|
|
469
|
+
- @ai-sdk/provider@2.0.0-canary.11
|
|
470
|
+
- @ai-sdk/provider-utils@3.0.0-canary.12
|
|
471
|
+
|
|
472
|
+
## 2.0.0-canary.11
|
|
473
|
+
|
|
474
|
+
### Patch Changes
|
|
475
|
+
|
|
476
|
+
- 66962ed: fix(packages): export node10 compatible types
|
|
477
|
+
- Updated dependencies [66962ed]
|
|
478
|
+
- Updated dependencies [9301f86]
|
|
479
|
+
- Updated dependencies [a3f768e]
|
|
480
|
+
- @ai-sdk/provider-utils@3.0.0-canary.11
|
|
481
|
+
- @ai-sdk/provider@2.0.0-canary.10
|
|
482
|
+
|
|
483
|
+
## 2.0.0-canary.10
|
|
484
|
+
|
|
485
|
+
### Patch Changes
|
|
486
|
+
|
|
487
|
+
- Updated dependencies [e86be6f]
|
|
488
|
+
- @ai-sdk/provider@2.0.0-canary.9
|
|
489
|
+
- @ai-sdk/provider-utils@3.0.0-canary.10
|
|
490
|
+
|
|
3
491
|
## 2.0.0-canary.9
|
|
4
492
|
|
|
5
493
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AI SDK - Anthropic Provider
|
|
2
2
|
|
|
3
|
-
The **[Anthropic provider](https://sdk.
|
|
3
|
+
The **[Anthropic provider](https://ai-sdk.dev/providers/ai-sdk-providers/anthropic)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the [Anthropic Messages API](https://docs.anthropic.com/claude/reference/messages_post).
|
|
4
4
|
|
|
5
5
|
## Setup
|
|
6
6
|
|
|
@@ -32,4 +32,4 @@ const { text } = await generateText({
|
|
|
32
32
|
|
|
33
33
|
## Documentation
|
|
34
34
|
|
|
35
|
-
Please check out the **[Anthropic provider documentation](https://sdk.
|
|
35
|
+
Please check out the **[Anthropic provider documentation](https://ai-sdk.dev/providers/ai-sdk-providers/anthropic)** for more information.
|