@ai-sdk/anthropic 0.0.0-01d6317c-20260129172110

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +2335 -0
  2. package/LICENSE +13 -0
  3. package/README.md +35 -0
  4. package/dist/index.d.mts +779 -0
  5. package/dist/index.d.ts +779 -0
  6. package/dist/index.js +4523 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/index.mjs +4586 -0
  9. package/dist/index.mjs.map +1 -0
  10. package/dist/internal/index.d.mts +698 -0
  11. package/dist/internal/index.d.ts +698 -0
  12. package/dist/internal/index.js +4423 -0
  13. package/dist/internal/index.js.map +1 -0
  14. package/dist/internal/index.mjs +4478 -0
  15. package/dist/internal/index.mjs.map +1 -0
  16. package/docs/05-anthropic.mdx +1141 -0
  17. package/internal.d.ts +1 -0
  18. package/package.json +83 -0
  19. package/src/anthropic-error.ts +26 -0
  20. package/src/anthropic-message-metadata.ts +105 -0
  21. package/src/anthropic-messages-api.ts +1197 -0
  22. package/src/anthropic-messages-language-model.ts +2164 -0
  23. package/src/anthropic-messages-options.ts +213 -0
  24. package/src/anthropic-prepare-tools.ts +354 -0
  25. package/src/anthropic-provider.ts +177 -0
  26. package/src/anthropic-tools.ts +200 -0
  27. package/src/convert-anthropic-messages-usage.ts +32 -0
  28. package/src/convert-to-anthropic-messages-prompt.ts +1050 -0
  29. package/src/forward-anthropic-container-id-from-last-step.ts +38 -0
  30. package/src/get-cache-control.ts +63 -0
  31. package/src/index.ts +10 -0
  32. package/src/internal/index.ts +4 -0
  33. package/src/map-anthropic-stop-reason.ts +28 -0
  34. package/src/tool/bash_20241022.ts +33 -0
  35. package/src/tool/bash_20250124.ts +33 -0
  36. package/src/tool/code-execution_20250522.ts +61 -0
  37. package/src/tool/code-execution_20250825.ts +281 -0
  38. package/src/tool/computer_20241022.ts +87 -0
  39. package/src/tool/computer_20250124.ts +130 -0
  40. package/src/tool/computer_20251124.ts +151 -0
  41. package/src/tool/memory_20250818.ts +62 -0
  42. package/src/tool/text-editor_20241022.ts +63 -0
  43. package/src/tool/text-editor_20250124.ts +63 -0
  44. package/src/tool/text-editor_20250429.ts +64 -0
  45. package/src/tool/text-editor_20250728.ts +80 -0
  46. package/src/tool/tool-search-bm25_20251119.ts +99 -0
  47. package/src/tool/tool-search-regex_20251119.ts +111 -0
  48. package/src/tool/web-fetch-20250910.ts +145 -0
  49. package/src/tool/web-search_20250305.ts +136 -0
  50. package/src/version.ts +6 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,2335 @@
1
+ # @ai-sdk/anthropic
2
+
3
+ ## 0.0.0-01d6317c-20260129172110
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [ac4b7cb]
8
+ - @ai-sdk/provider-utils@0.0.0-01d6317c-20260129172110
9
+ - @ai-sdk/provider@0.0.0-01d6317c-20260129172110
10
+
11
+ ## 3.0.28
12
+
13
+ ### Patch Changes
14
+
15
+ - 2445da4: fix(provider/anthropic): populate outputTokens.text field in usage
16
+
17
+ ## 3.0.27
18
+
19
+ ### Patch Changes
20
+
21
+ - 572ea12: feat(anthropic): allow custom/dynamic key for providerOptions
22
+
23
+ ## 3.0.26
24
+
25
+ ### Patch Changes
26
+
27
+ - 2c70b90: chore: update provider docs
28
+
29
+ ## 3.0.25
30
+
31
+ ### Patch Changes
32
+
33
+ - 0bb9bcd: feat(provider/anthropic): add computer_20251124 tool for claude opus 4.5
34
+
35
+ ## 3.0.24
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies [462ad00]
40
+ - @ai-sdk/provider-utils@4.0.10
41
+
42
+ ## 3.0.23
43
+
44
+ ### Patch Changes
45
+
46
+ - 4de5a1d: chore: excluded tests from src folder in npm package
47
+ - Updated dependencies [4de5a1d]
48
+ - @ai-sdk/provider@3.0.5
49
+ - @ai-sdk/provider-utils@4.0.9
50
+
51
+ ## 3.0.22
52
+
53
+ ### Patch Changes
54
+
55
+ - 8ccf04b: Add `authToken` option to support `Authorization: Bearer` authentication as an alternative to `x-api-key` header authentication.
56
+
57
+ ## 3.0.21
58
+
59
+ ### Patch Changes
60
+
61
+ - 662d359: feat(anthropic): deferred results for tool search tool
62
+
63
+ ## 3.0.20
64
+
65
+ ### Patch Changes
66
+
67
+ - 2b8369d: chore: add docs to package dist
68
+
69
+ ## 3.0.19
70
+
71
+ ### Patch Changes
72
+
73
+ - 8dc54db: chore: add src folders to package bundle
74
+
75
+ ## 3.0.18
76
+
77
+ ### Patch Changes
78
+
79
+ - c10bd49: fix(anthropic): handle web_search_result_location citations and add webFetch documents to citationDocuments
80
+
81
+ ## 3.0.17
82
+
83
+ ### Patch Changes
84
+
85
+ - 4729bed: Fix JSON parsing crash when handling Anthropic web_fetch tool error results
86
+
87
+ ## 3.0.16
88
+
89
+ ### Patch Changes
90
+
91
+ - d36fa72: Not sending structured output beta header for json response tool
92
+
93
+ ## 3.0.15
94
+
95
+ ### Patch Changes
96
+
97
+ - Updated dependencies [5c090e7]
98
+ - @ai-sdk/provider@3.0.4
99
+ - @ai-sdk/provider-utils@4.0.8
100
+
101
+ ## 3.0.14
102
+
103
+ ### Patch Changes
104
+
105
+ - Updated dependencies [46f46e4]
106
+ - @ai-sdk/provider-utils@4.0.7
107
+
108
+ ## 3.0.13
109
+
110
+ ### Patch Changes
111
+
112
+ - Updated dependencies [1b11dcb]
113
+ - @ai-sdk/provider-utils@4.0.6
114
+ - @ai-sdk/provider@3.0.3
115
+
116
+ ## 3.0.12
117
+
118
+ ### Patch Changes
119
+
120
+ - Updated dependencies [34d1c8a]
121
+ - @ai-sdk/provider-utils@4.0.5
122
+
123
+ ## 3.0.11
124
+
125
+ ### Patch Changes
126
+
127
+ - 8c1c6e3: fix(anthropic): add application/json type regex matching
128
+
129
+ ## 3.0.10
130
+
131
+ ### Patch Changes
132
+
133
+ - 02d9b68: fix `input_tokens` compatibility
134
+
135
+ ## 3.0.9
136
+
137
+ ### Patch Changes
138
+
139
+ - de2399b: fix(anthropic): assign type urls in file parts correctly
140
+
141
+ ## 3.0.8
142
+
143
+ ### Patch Changes
144
+
145
+ - bee4f82: fix(anthropic): enable structured output support for claude-haiku-4-5
146
+
147
+ This fixes an issue where the `strict: true` property was not included in the request body when using tools with Claude Haiku 4.5, because `supportsStructuredOutput` was incorrectly set to `false` for this model.
148
+
149
+ Claude Haiku 4.5 supports structured outputs, so the `strict` property should be forwarded to the Anthropic API when specified on tools.
150
+
151
+ ## 3.0.7
152
+
153
+ ### Patch Changes
154
+
155
+ - Updated dependencies [d937c8f]
156
+ - @ai-sdk/provider@3.0.2
157
+ - @ai-sdk/provider-utils@4.0.4
158
+
159
+ ## 3.0.6
160
+
161
+ ### Patch Changes
162
+
163
+ - 2231e84: fix(anthropic): implement temperature/topP mutual exclusivity
164
+
165
+ Resolves the Anthropic API breaking change where sampling parameters must use only `temperature` OR `top_p`, not both. When both parameters are provided:
166
+
167
+ - Temperature takes priority and topP is ignored
168
+ - A warning is added to inform users: "topP is not supported when temperature is set. topP is ignored."
169
+ - The validation only runs when thinking mode is not enabled (thinking mode has its own parameter validation)
170
+
171
+ See Anthropic migration guide: https://platform.claude.com/docs/en/about-claude/models/migrating-to-claude-4
172
+
173
+ ## 3.0.5
174
+
175
+ ### Patch Changes
176
+
177
+ - Updated dependencies [0b429d4]
178
+ - @ai-sdk/provider-utils@4.0.3
179
+
180
+ ## 3.0.4
181
+
182
+ ### Patch Changes
183
+
184
+ - bf39dac: Fix: Use provider tool name in Tool Search Tool results
185
+
186
+ ## 3.0.3
187
+
188
+ ### Patch Changes
189
+
190
+ - 77b760d: fix(anthropic): support deferred results for web search/fetch tool
191
+
192
+ ## 3.0.2
193
+
194
+ ### Patch Changes
195
+
196
+ - 863d34f: fix: trigger release to update `@latest`
197
+ - Updated dependencies [863d34f]
198
+ - @ai-sdk/provider@3.0.1
199
+ - @ai-sdk/provider-utils@4.0.2
200
+
201
+ ## 3.0.1
202
+
203
+ ### Patch Changes
204
+
205
+ - Updated dependencies [29264a3]
206
+ - @ai-sdk/provider-utils@4.0.1
207
+
208
+ ## 3.0.0
209
+
210
+ ### Major Changes
211
+
212
+ - dee8b05: ai SDK 6 beta
213
+
214
+ ### Minor Changes
215
+
216
+ - 78928cb: release: start 5.1 beta
217
+
218
+ ### Patch Changes
219
+
220
+ - 0c3b58b: fix(provider): add specificationVersion to ProviderV3
221
+ - 0adc679: feat(provider): shared spec v3
222
+ - 50b70d6: feat(anthropic): add programmatic tool calling
223
+ - b8ea36e: feat(provider/anthropic): Anthropic-native structured outputs
224
+ - ed537e1: Add support for pdf file in tool result in anthropic
225
+ - 2109385: 'fix(anthropic): Opus 4.5 `maxOutputTokens` bump `32000` -> `64000`'
226
+ - 7c4328e: Adds url-based pdf and image support for anthropic tool results
227
+ - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
228
+
229
+ Before
230
+
231
+ ```ts
232
+ model.textEmbeddingModel('my-model-id');
233
+ ```
234
+
235
+ After
236
+
237
+ ```ts
238
+ model.embeddingModel('my-model-id');
239
+ ```
240
+
241
+ - f33a018: chore: add model ID for Haiku 4.5
242
+ - b2dbfbf: add context_management for anthropic
243
+ - dce03c4: feat: tool input examples
244
+ - 2625a04: feat(openai); update spec for mcp approval
245
+ - 11e4abe: feat(provider/anthropic): web search tool updates
246
+ - f13958c: chore(antropic): allow custom names for provider-defined tools
247
+ - afb00e3: feat(provider/anthropic): add text_editor_20250728 tool support
248
+
249
+ Add text_editor_20250728 tool for Claude 4 models (Sonnet 4, Opus 4, Opus 4.1) with optional max_characters parameter and no undo_edit command support.
250
+
251
+ - 95f65c2: chore: use import \* from zod/v4
252
+ - 954c356: feat(openai): allow custom names for provider-defined tools
253
+ - 9e35785: fix(anthropic): send {} as tool input when streaming tool calls without arguments
254
+ - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
255
+ - a5f77a6: fix(anthropic): remove outdated tool name docs
256
+ - ca07285: feat(anthropic): add prompt caching validation
257
+ - a5a8db4: chore: add model ID for Sonnet 4.5
258
+ - 1742445: Support for custom provider name in google and anthropic providers
259
+ - e8109d3: feat: tool execution approval
260
+ - 87db851: fix(vertex/anthropic): passing beta header only for structured outputs
261
+ - f6603b7: fix(provider/anthropic): correct raw usage information
262
+ - ed329cb: feat: `Provider-V3`
263
+ - 3bd2689: feat: extended token usage
264
+ - 1cad0ab: feat: add provider version to user-agent header
265
+ - 2049c5b: Fix handling of error in web fetch tool in anthropic
266
+ - 4c5a6be: feat(provider/anthropic): default and limit maxTokens based on model
267
+ - 9e1e758: fix(anthropic): use default thinking budget when unspecified
268
+ - 589a4ee: fix(anthropic): simplify pulling first chunk
269
+ - 8dac895: feat: `LanguageModelV3`
270
+ - 6f845b4: Add support for 2025-08-25 code execution tool
271
+ - 9354297: feat(provider/anthropic): add support for Agent Skills
272
+ - 03849b0: throw 500 error when the first stream chunk is an error
273
+ - 0ae783e: feat(anthropic): add the new tool search tools
274
+ - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
275
+ - eb56fc6: fix(anthropic): pull first chunk without async IIFE
276
+ - fa35e95: feat(provider/anthropic): add web fetch tool
277
+ - 80894b3: add return `file_id` property for anthropic code-execution-20250825 to download output files.
278
+ - 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases
279
+ - 81d4308: feat(provider/anthropic): mcp connector support
280
+ - 6fc35cb: Retain user-supplied betas.
281
+ - f4db7b5: feat(provider/anthropic): expose container from response in provider metadata
282
+ - 6c38080: fix(anthropic): support pdf responses in web_fetch_tool_result schema validation
283
+ - 4616b86: chore: update zod peer depenedency version
284
+ - dedf206: feat(provider/anthropic): expose stop_sequence in provider metadata
285
+ - 983e394: chore(provider/anthropic): add missing provider options jsdoc
286
+ - 0e38a79: support ANTHROPIC_BASE_URL
287
+ - cf4e2a9: Add support for tool calling with structured output
288
+ - f4e4a95: feat(provider/anthropic): enable fine grained tool streaming by default
289
+ - 21f378c: fix(provider/anthropic): do not limit maxTokens when model id is unknown
290
+ - c5440c5: chore(provider/anthropic): update anthropic model ids
291
+ - 1d15673: fix(provider/anthropic): clamp temperature to valid 0-1 range with warnings
292
+ - 9cff587: chore(provider/anthropic): lazy schema loading
293
+ - d129d89: chore(anthropic): remove unnecessary doc
294
+ - 3794514: feat: flexible tool output content support
295
+ - e1e2821: fix(provider/anthropic): support null title in web fetch tool
296
+ - cbf52cd: feat: expose raw finish reason
297
+ - 10c1322: fix: moved dependency `@ai-sdk/test-server` to devDependencies
298
+ - d08308b: feat(provider/anthropic): memory tool
299
+ - 05d5b9a: fix(anthropic): make title field nullable in web_fetch and web_search tool output schemas
300
+ - 1bd7d32: feat: tool-specific strict mode
301
+ - 83aaad8: Opus 4.5 and `effort` provider option
302
+ - Updated dependencies
303
+ - @ai-sdk/provider@3.0.0
304
+ - @ai-sdk/provider-utils@4.0.0
305
+
306
+ ## 3.0.0-beta.98
307
+
308
+ ### Patch Changes
309
+
310
+ - 2049c5b: Fix handling of error in web fetch tool in anthropic
311
+
312
+ ## 3.0.0-beta.97
313
+
314
+ ### Patch Changes
315
+
316
+ - Updated dependencies [475189e]
317
+ - @ai-sdk/provider@3.0.0-beta.32
318
+ - @ai-sdk/provider-utils@4.0.0-beta.59
319
+
320
+ ## 3.0.0-beta.96
321
+
322
+ ### Patch Changes
323
+
324
+ - 2625a04: feat(openai); update spec for mcp approval
325
+ - Updated dependencies [2625a04]
326
+ - @ai-sdk/provider@3.0.0-beta.31
327
+ - @ai-sdk/provider-utils@4.0.0-beta.58
328
+
329
+ ## 3.0.0-beta.95
330
+
331
+ ### Patch Changes
332
+
333
+ - cbf52cd: feat: expose raw finish reason
334
+ - Updated dependencies [cbf52cd]
335
+ - @ai-sdk/provider@3.0.0-beta.30
336
+ - @ai-sdk/provider-utils@4.0.0-beta.57
337
+
338
+ ## 3.0.0-beta.94
339
+
340
+ ### Patch Changes
341
+
342
+ - Updated dependencies [9549c9e]
343
+ - @ai-sdk/provider@3.0.0-beta.29
344
+ - @ai-sdk/provider-utils@4.0.0-beta.56
345
+
346
+ ## 3.0.0-beta.93
347
+
348
+ ### Patch Changes
349
+
350
+ - 50b70d6: feat(anthropic): add programmatic tool calling
351
+ - Updated dependencies [50b70d6]
352
+ - @ai-sdk/provider-utils@4.0.0-beta.55
353
+
354
+ ## 3.0.0-beta.92
355
+
356
+ ### Patch Changes
357
+
358
+ - Updated dependencies [9061dc0]
359
+ - @ai-sdk/provider-utils@4.0.0-beta.54
360
+ - @ai-sdk/provider@3.0.0-beta.28
361
+
362
+ ## 3.0.0-beta.91
363
+
364
+ ### Patch Changes
365
+
366
+ - d129d89: chore(anthropic): remove unnecessary doc
367
+
368
+ ## 3.0.0-beta.90
369
+
370
+ ### Patch Changes
371
+
372
+ - 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases
373
+ - Updated dependencies [366f50b]
374
+ - @ai-sdk/provider@3.0.0-beta.27
375
+ - @ai-sdk/provider-utils@4.0.0-beta.53
376
+
377
+ ## 3.0.0-beta.89
378
+
379
+ ### Patch Changes
380
+
381
+ - Updated dependencies [763d04a]
382
+ - @ai-sdk/provider-utils@4.0.0-beta.52
383
+
384
+ ## 3.0.0-beta.88
385
+
386
+ ### Patch Changes
387
+
388
+ - 87db851: fix(vertex/anthropic): passing beta header only for structured outputs
389
+
390
+ ## 3.0.0-beta.87
391
+
392
+ ### Patch Changes
393
+
394
+ - Updated dependencies [c1efac4]
395
+ - @ai-sdk/provider-utils@4.0.0-beta.51
396
+
397
+ ## 3.0.0-beta.86
398
+
399
+ ### Patch Changes
400
+
401
+ - Updated dependencies [32223c8]
402
+ - @ai-sdk/provider-utils@4.0.0-beta.50
403
+
404
+ ## 3.0.0-beta.85
405
+
406
+ ### Patch Changes
407
+
408
+ - Updated dependencies [83e5744]
409
+ - @ai-sdk/provider-utils@4.0.0-beta.49
410
+
411
+ ## 3.0.0-beta.84
412
+
413
+ ### Patch Changes
414
+
415
+ - Updated dependencies [960ec8f]
416
+ - @ai-sdk/provider-utils@4.0.0-beta.48
417
+
418
+ ## 3.0.0-beta.83
419
+
420
+ ### Patch Changes
421
+
422
+ - 6c38080: fix(anthropic): support pdf responses in web_fetch_tool_result schema validation
423
+
424
+ ## 3.0.0-beta.82
425
+
426
+ ### Patch Changes
427
+
428
+ - Updated dependencies [e9e157f]
429
+ - @ai-sdk/provider-utils@4.0.0-beta.47
430
+
431
+ ## 3.0.0-beta.81
432
+
433
+ ### Patch Changes
434
+
435
+ - Updated dependencies [81e29ab]
436
+ - @ai-sdk/provider-utils@4.0.0-beta.46
437
+
438
+ ## 3.0.0-beta.80
439
+
440
+ ### Patch Changes
441
+
442
+ - 05d5b9a: fix(anthropic): make title field nullable in web_fetch and web_search tool output schemas
443
+
444
+ ## 3.0.0-beta.79
445
+
446
+ ### Patch Changes
447
+
448
+ - 3bd2689: feat: extended token usage
449
+ - Updated dependencies [3bd2689]
450
+ - @ai-sdk/provider@3.0.0-beta.26
451
+ - @ai-sdk/provider-utils@4.0.0-beta.45
452
+
453
+ ## 3.0.0-beta.78
454
+
455
+ ### Patch Changes
456
+
457
+ - 9e1e758: fix(anthropic): use default thinking budget when unspecified
458
+
459
+ ## 3.0.0-beta.77
460
+
461
+ ### Patch Changes
462
+
463
+ - b2dbfbf: add context_management for anthropic
464
+
465
+ ## 3.0.0-beta.76
466
+
467
+ ### Patch Changes
468
+
469
+ - Updated dependencies [53f3368]
470
+ - @ai-sdk/provider@3.0.0-beta.25
471
+ - @ai-sdk/provider-utils@4.0.0-beta.44
472
+
473
+ ## 3.0.0-beta.75
474
+
475
+ ### Patch Changes
476
+
477
+ - 0ae783e: feat(anthropic): add the new tool search tools
478
+
479
+ ## 3.0.0-beta.74
480
+
481
+ ### Patch Changes
482
+
483
+ - dce03c4: feat: tool input examples
484
+ - Updated dependencies [dce03c4]
485
+ - @ai-sdk/provider-utils@4.0.0-beta.43
486
+ - @ai-sdk/provider@3.0.0-beta.24
487
+
488
+ ## 3.0.0-beta.73
489
+
490
+ ### Patch Changes
491
+
492
+ - Updated dependencies [3ed5519]
493
+ - @ai-sdk/provider-utils@4.0.0-beta.42
494
+
495
+ ## 3.0.0-beta.72
496
+
497
+ ### Patch Changes
498
+
499
+ - a5f77a6: fix(anthropic): remove outdated tool name docs
500
+
501
+ ## 3.0.0-beta.71
502
+
503
+ ### Patch Changes
504
+
505
+ - 1bd7d32: feat: tool-specific strict mode
506
+ - Updated dependencies [1bd7d32]
507
+ - @ai-sdk/provider-utils@4.0.0-beta.41
508
+ - @ai-sdk/provider@3.0.0-beta.23
509
+
510
+ ## 3.0.0-beta.70
511
+
512
+ ### Patch Changes
513
+
514
+ - f13958c: chore(antropic): allow custom names for provider-defined tools
515
+
516
+ ## 3.0.0-beta.69
517
+
518
+ ### Patch Changes
519
+
520
+ - 589a4ee: fix(anthropic): simplify pulling first chunk
521
+
522
+ ## 3.0.0-beta.68
523
+
524
+ ### Patch Changes
525
+
526
+ - 9e35785: fix(anthropic): send {} as tool input when streaming tool calls without arguments
527
+
528
+ ## 3.0.0-beta.67
529
+
530
+ ### Patch Changes
531
+
532
+ - eb56fc6: fix(anthropic): pull first chunk without async IIFE
533
+
534
+ ## 3.0.0-beta.66
535
+
536
+ ### Patch Changes
537
+
538
+ - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
539
+ - Updated dependencies [544d4e8]
540
+ - @ai-sdk/provider-utils@4.0.0-beta.40
541
+ - @ai-sdk/provider@3.0.0-beta.22
542
+
543
+ ## 3.0.0-beta.65
544
+
545
+ ### Patch Changes
546
+
547
+ - 954c356: feat(openai): allow custom names for provider-defined tools
548
+ - Updated dependencies [954c356]
549
+ - @ai-sdk/provider-utils@4.0.0-beta.39
550
+ - @ai-sdk/provider@3.0.0-beta.21
551
+
552
+ ## 3.0.0-beta.64
553
+
554
+ ### Patch Changes
555
+
556
+ - 03849b0: throw 500 error when the first stream chunk is an error
557
+ - Updated dependencies [03849b0]
558
+ - @ai-sdk/provider-utils@4.0.0-beta.38
559
+
560
+ ## 3.0.0-beta.63
561
+
562
+ ### Patch Changes
563
+
564
+ - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
565
+ - Updated dependencies [457318b]
566
+ - @ai-sdk/provider@3.0.0-beta.20
567
+ - @ai-sdk/provider-utils@4.0.0-beta.37
568
+
569
+ ## 3.0.0-beta.62
570
+
571
+ ### Patch Changes
572
+
573
+ - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
574
+
575
+ Before
576
+
577
+ ```ts
578
+ model.textEmbeddingModel('my-model-id');
579
+ ```
580
+
581
+ After
582
+
583
+ ```ts
584
+ model.embeddingModel('my-model-id');
585
+ ```
586
+
587
+ - Updated dependencies [8d9e8ad]
588
+ - @ai-sdk/provider@3.0.0-beta.19
589
+ - @ai-sdk/provider-utils@4.0.0-beta.36
590
+
591
+ ## 3.0.0-beta.61
592
+
593
+ ### Patch Changes
594
+
595
+ - Updated dependencies [10d819b]
596
+ - @ai-sdk/provider@3.0.0-beta.18
597
+ - @ai-sdk/provider-utils@4.0.0-beta.35
598
+
599
+ ## 3.0.0-beta.60
600
+
601
+ ### Patch Changes
602
+
603
+ - 6fc35cb: Retain user-supplied betas.
604
+
605
+ ## 3.0.0-beta.59
606
+
607
+ ### Patch Changes
608
+
609
+ - 2109385: 'fix(anthropic): Opus 4.5 `maxOutputTokens` bump `32000` -> `64000`'
610
+
611
+ ## 3.0.0-beta.58
612
+
613
+ ### Patch Changes
614
+
615
+ - 83aaad8: Opus 4.5 and `effort` provider option
616
+
617
+ ## 3.0.0-beta.57
618
+
619
+ ### Patch Changes
620
+
621
+ - b8ea36e: feat(provider/anthropic): Anthropic-native structured outputs
622
+
623
+ ## 3.0.0-beta.56
624
+
625
+ ### Patch Changes
626
+
627
+ - 983e394: chore(provider/anthropic): add missing provider options jsdoc
628
+
629
+ ## 3.0.0-beta.55
630
+
631
+ ### Patch Changes
632
+
633
+ - Updated dependencies [db913bd]
634
+ - @ai-sdk/provider@3.0.0-beta.17
635
+ - @ai-sdk/provider-utils@4.0.0-beta.34
636
+
637
+ ## 3.0.0-beta.54
638
+
639
+ ### Patch Changes
640
+
641
+ - 1d15673: fix(provider/anthropic): clamp temperature to valid 0-1 range with warnings
642
+
643
+ ## 3.0.0-beta.53
644
+
645
+ ### Patch Changes
646
+
647
+ - Updated dependencies [b681d7d]
648
+ - @ai-sdk/provider@3.0.0-beta.16
649
+ - @ai-sdk/provider-utils@4.0.0-beta.33
650
+
651
+ ## 3.0.0-beta.52
652
+
653
+ ### Patch Changes
654
+
655
+ - Updated dependencies [32d8dbb]
656
+ - @ai-sdk/provider-utils@4.0.0-beta.32
657
+
658
+ ## 3.0.0-beta.51
659
+
660
+ ### Patch Changes
661
+
662
+ - 1742445: Support for custom provider name in google and anthropic providers
663
+
664
+ ## 3.0.0-beta.50
665
+
666
+ ### Patch Changes
667
+
668
+ - Updated dependencies [bb36798]
669
+ - @ai-sdk/provider@3.0.0-beta.15
670
+ - @ai-sdk/provider-utils@4.0.0-beta.31
671
+
672
+ ## 3.0.0-beta.49
673
+
674
+ ### Patch Changes
675
+
676
+ - Updated dependencies [4f16c37]
677
+ - @ai-sdk/provider-utils@4.0.0-beta.30
678
+
679
+ ## 3.0.0-beta.48
680
+
681
+ ### Patch Changes
682
+
683
+ - Updated dependencies [af3780b]
684
+ - @ai-sdk/provider@3.0.0-beta.14
685
+ - @ai-sdk/provider-utils@4.0.0-beta.29
686
+
687
+ ## 3.0.0-beta.47
688
+
689
+ ### Patch Changes
690
+
691
+ - Updated dependencies [016b111]
692
+ - @ai-sdk/provider-utils@4.0.0-beta.28
693
+
694
+ ## 3.0.0-beta.46
695
+
696
+ ### Patch Changes
697
+
698
+ - Updated dependencies [37c58a0]
699
+ - @ai-sdk/provider@3.0.0-beta.13
700
+ - @ai-sdk/provider-utils@4.0.0-beta.27
701
+
702
+ ## 3.0.0-beta.45
703
+
704
+ ### Patch Changes
705
+
706
+ - f4e4a95: feat(provider/anthropic): enable fine grained tool streaming by default
707
+
708
+ ## 3.0.0-beta.44
709
+
710
+ ### Patch Changes
711
+
712
+ - cf4e2a9: Add support for tool calling with structured output
713
+
714
+ ## 3.0.0-beta.43
715
+
716
+ ### Patch Changes
717
+
718
+ - Updated dependencies [d1bdadb]
719
+ - @ai-sdk/provider@3.0.0-beta.12
720
+ - @ai-sdk/provider-utils@4.0.0-beta.26
721
+
722
+ ## 3.0.0-beta.42
723
+
724
+ ### Patch Changes
725
+
726
+ - Updated dependencies [4c44a5b]
727
+ - @ai-sdk/provider@3.0.0-beta.11
728
+ - @ai-sdk/provider-utils@4.0.0-beta.25
729
+
730
+ ## 3.0.0-beta.41
731
+
732
+ ### Patch Changes
733
+
734
+ - 0c3b58b: fix(provider): add specificationVersion to ProviderV3
735
+ - Updated dependencies [0c3b58b]
736
+ - @ai-sdk/provider@3.0.0-beta.10
737
+ - @ai-sdk/provider-utils@4.0.0-beta.24
738
+
739
+ ## 3.0.0-beta.40
740
+
741
+ ### Patch Changes
742
+
743
+ - Updated dependencies [a755db5]
744
+ - @ai-sdk/provider@3.0.0-beta.9
745
+ - @ai-sdk/provider-utils@4.0.0-beta.23
746
+
747
+ ## 3.0.0-beta.39
748
+
749
+ ### Patch Changes
750
+
751
+ - Updated dependencies [58920e0]
752
+ - @ai-sdk/provider-utils@4.0.0-beta.22
753
+
754
+ ## 3.0.0-beta.38
755
+
756
+ ### Patch Changes
757
+
758
+ - Updated dependencies [293a6b7]
759
+ - @ai-sdk/provider-utils@4.0.0-beta.21
760
+
761
+ ## 3.0.0-beta.37
762
+
763
+ ### Patch Changes
764
+
765
+ - 7c4328e: Adds url-based pdf and image support for anthropic tool results
766
+
767
+ ## 3.0.0-beta.36
768
+
769
+ ### Patch Changes
770
+
771
+ - 21f378c: fix(provider/anthropic): do not limit maxTokens when model id is unknown
772
+
773
+ ## 3.0.0-beta.35
774
+
775
+ ### Patch Changes
776
+
777
+ - 80894b3: add return `file_id` property for anthropic code-execution-20250825 to download output files.
778
+
779
+ ## 3.0.0-beta.34
780
+
781
+ ### Patch Changes
782
+
783
+ - Updated dependencies [fca786b]
784
+ - @ai-sdk/provider-utils@4.0.0-beta.20
785
+
786
+ ## 3.0.0-beta.33
787
+
788
+ ### Patch Changes
789
+
790
+ - 0e38a79: support ANTHROPIC_BASE_URL
791
+
792
+ ## 3.0.0-beta.32
793
+
794
+ ### Patch Changes
795
+
796
+ - f4db7b5: feat(provider/anthropic): expose container from response in provider metadata
797
+
798
+ ## 3.0.0-beta.31
799
+
800
+ ### Patch Changes
801
+
802
+ - ca07285: feat(anthropic): add prompt caching validation
803
+
804
+ ## 3.0.0-beta.30
805
+
806
+ ### Patch Changes
807
+
808
+ - 9354297: feat(provider/anthropic): add support for Agent Skills
809
+
810
+ ## 3.0.0-beta.29
811
+
812
+ ### Patch Changes
813
+
814
+ - 3794514: feat: flexible tool output content support
815
+ - Updated dependencies [3794514]
816
+ - @ai-sdk/provider-utils@4.0.0-beta.19
817
+ - @ai-sdk/provider@3.0.0-beta.8
818
+
819
+ ## 3.0.0-beta.28
820
+
821
+ ### Patch Changes
822
+
823
+ - 81d4308: feat(provider/anthropic): mcp connector support
824
+ - Updated dependencies [81d4308]
825
+ - @ai-sdk/provider@3.0.0-beta.7
826
+ - @ai-sdk/provider-utils@4.0.0-beta.18
827
+
828
+ ## 3.0.0-beta.27
829
+
830
+ ### Patch Changes
831
+
832
+ - 4c5a6be: feat(provider/anthropic): default and limit maxTokens based on model
833
+
834
+ ## 3.0.0-beta.26
835
+
836
+ ### Patch Changes
837
+
838
+ - f33a018: chore: add model ID for Haiku 4.5
839
+
840
+ ## 3.0.0-beta.25
841
+
842
+ ### Patch Changes
843
+
844
+ - Updated dependencies [703459a]
845
+ - @ai-sdk/provider-utils@4.0.0-beta.17
846
+
847
+ ## 3.0.0-beta.24
848
+
849
+ ### Patch Changes
850
+
851
+ - d08308b: feat(provider/anthropic): memory tool
852
+
853
+ ## 3.0.0-beta.23
854
+
855
+ ### Patch Changes
856
+
857
+ - 6f845b4: Add support for 2025-08-25 code execution tool
858
+
859
+ ## 3.0.0-beta.22
860
+
861
+ ### Patch Changes
862
+
863
+ - ed537e1: Add support for pdf file in tool result in anthropic
864
+
865
+ ## 3.0.0-beta.21
866
+
867
+ ### Patch Changes
868
+
869
+ - Updated dependencies [6306603]
870
+ - @ai-sdk/provider-utils@4.0.0-beta.16
871
+
872
+ ## 3.0.0-beta.20
873
+
874
+ ### Patch Changes
875
+
876
+ - Updated dependencies [f0b2157]
877
+ - @ai-sdk/provider-utils@4.0.0-beta.15
878
+
879
+ ## 3.0.0-beta.19
880
+
881
+ ### Patch Changes
882
+
883
+ - Updated dependencies [3b1d015]
884
+ - @ai-sdk/provider-utils@4.0.0-beta.14
885
+
886
+ ## 3.0.0-beta.18
887
+
888
+ ### Patch Changes
889
+
890
+ - Updated dependencies [d116b4b]
891
+ - @ai-sdk/provider-utils@4.0.0-beta.13
892
+
893
+ ## 3.0.0-beta.17
894
+
895
+ ### Patch Changes
896
+
897
+ - Updated dependencies [7e32fea]
898
+ - @ai-sdk/provider-utils@4.0.0-beta.12
899
+
900
+ ## 3.0.0-beta.16
901
+
902
+ ### Patch Changes
903
+
904
+ - 9cff587: chore(provider/anthropic): lazy schema loading
905
+
906
+ ## 3.0.0-beta.15
907
+
908
+ ### Patch Changes
909
+
910
+ - 95f65c2: chore: use import \* from zod/v4
911
+ - Updated dependencies
912
+ - @ai-sdk/provider-utils@4.0.0-beta.11
913
+
914
+ ## 3.0.0-beta.14
915
+
916
+ ### Major Changes
917
+
918
+ - dee8b05: ai SDK 6 beta
919
+
920
+ ### Patch Changes
921
+
922
+ - Updated dependencies [dee8b05]
923
+ - @ai-sdk/provider@3.0.0-beta.6
924
+ - @ai-sdk/provider-utils@4.0.0-beta.10
925
+
926
+ ## 2.1.0-beta.13
927
+
928
+ ### Patch Changes
929
+
930
+ - Updated dependencies [521c537]
931
+ - @ai-sdk/provider-utils@3.1.0-beta.9
932
+
933
+ ## 2.1.0-beta.12
934
+
935
+ ### Patch Changes
936
+
937
+ - Updated dependencies [e06565c]
938
+ - @ai-sdk/provider-utils@3.1.0-beta.8
939
+
940
+ ## 2.1.0-beta.11
941
+
942
+ ### Patch Changes
943
+
944
+ - e8109d3: feat: tool execution approval
945
+ - Updated dependencies
946
+ - @ai-sdk/provider@2.1.0-beta.5
947
+ - @ai-sdk/provider-utils@3.1.0-beta.7
948
+
949
+ ## 2.1.0-beta.10
950
+
951
+ ### Patch Changes
952
+
953
+ - dedf206: feat(provider/anthropic): expose stop_sequence in provider metadata
954
+
955
+ ## 2.1.0-beta.9
956
+
957
+ ### Patch Changes
958
+
959
+ - 0adc679: feat(provider): shared spec v3
960
+ - Updated dependencies
961
+ - @ai-sdk/provider-utils@3.1.0-beta.6
962
+ - @ai-sdk/provider@2.1.0-beta.4
963
+
964
+ ## 2.1.0-beta.8
965
+
966
+ ### Patch Changes
967
+
968
+ - a5a8db4: chore: add model ID for Sonnet 4.5
969
+
970
+ ## 2.1.0-beta.7
971
+
972
+ ### Patch Changes
973
+
974
+ - e1e2821: fix(provider/anthropic): support null title in web fetch tool
975
+
976
+ ## 2.1.0-beta.6
977
+
978
+ ### Patch Changes
979
+
980
+ - 8dac895: feat: `LanguageModelV3`
981
+ - 10c1322: fix: moved dependency `@ai-sdk/test-server` to devDependencies
982
+ - Updated dependencies [8dac895]
983
+ - @ai-sdk/provider-utils@3.1.0-beta.5
984
+ - @ai-sdk/provider@2.1.0-beta.3
985
+
986
+ ## 2.1.0-beta.5
987
+
988
+ ### Patch Changes
989
+
990
+ - 11e4abe: feat(provider/anthropic): web search tool updates
991
+ - afb00e3: feat(provider/anthropic): add text_editor_20250728 tool support
992
+
993
+ Add text_editor_20250728 tool for Claude 4 models (Sonnet 4, Opus 4, Opus 4.1) with optional max_characters parameter and no undo_edit command support.
994
+
995
+ - f6603b7: fix(provider/anthropic): correct raw usage information
996
+ - fa35e95: feat(provider/anthropic): add web fetch tool
997
+ - c5440c5: chore(provider/anthropic): update anthropic model ids
998
+
999
+ ## 2.1.0-beta.4
1000
+
1001
+ ### Patch Changes
1002
+
1003
+ - 4616b86: chore: update zod peer depenedency version
1004
+ - Updated dependencies [4616b86]
1005
+ - @ai-sdk/provider-utils@3.1.0-beta.4
1006
+
1007
+ ## 2.1.0-beta.3
1008
+
1009
+ ### Patch Changes
1010
+
1011
+ - ed329cb: feat: `Provider-V3`
1012
+ - Updated dependencies
1013
+ - @ai-sdk/provider@2.1.0-beta.2
1014
+ - @ai-sdk/provider-utils@3.1.0-beta.3
1015
+
1016
+ ## 2.1.0-beta.2
1017
+
1018
+ ### Patch Changes
1019
+
1020
+ - 1cad0ab: feat: add provider version to user-agent header
1021
+ - Updated dependencies [0c4822d]
1022
+ - @ai-sdk/provider@2.1.0-beta.1
1023
+ - @ai-sdk/provider-utils@3.1.0-beta.2
1024
+
1025
+ ## 2.1.0-beta.1
1026
+
1027
+ ### Patch Changes
1028
+
1029
+ - Updated dependencies
1030
+ - @ai-sdk/test-server@1.0.0-beta.0
1031
+ - @ai-sdk/provider-utils@3.1.0-beta.1
1032
+
1033
+ ## 2.1.0-beta.0
1034
+
1035
+ ### Minor Changes
1036
+
1037
+ - 78928cb: release: start 5.1 beta
1038
+
1039
+ ### Patch Changes
1040
+
1041
+ - Updated dependencies [78928cb]
1042
+ - @ai-sdk/provider@2.1.0-beta.0
1043
+ - @ai-sdk/provider-utils@3.1.0-beta.0
1044
+
1045
+ ## 2.0.17
1046
+
1047
+ ### Patch Changes
1048
+
1049
+ - da92132: fix(provider/anthorpic): add cacheControl to AnthropicProviderOptions
1050
+
1051
+ ## 2.0.16
1052
+
1053
+ ### Patch Changes
1054
+
1055
+ - Updated dependencies [0294b58]
1056
+ - @ai-sdk/provider-utils@3.0.9
1057
+
1058
+ ## 2.0.15
1059
+
1060
+ ### Patch Changes
1061
+
1062
+ - c8aab0a: fix (provider/anthropic): revert cd458a8c1667df86e6987a1f2e06159823453864
1063
+
1064
+ ## 2.0.14
1065
+
1066
+ ### Patch Changes
1067
+
1068
+ - 2338c79: feat (provider/anthropic): update jsdoc of anthropic tools
1069
+
1070
+ ## 2.0.13
1071
+
1072
+ ### Patch Changes
1073
+
1074
+ - cd458a8: fix(anthropic): reorder tool_result parts to front of combined user messages
1075
+
1076
+ Reorders tool_result content to appear before user text within combined user messages, ensuring Claude API validation requirements are met while preserving the intentional message combining behavior that prevents role alternation errors. Fixes #8318.
1077
+
1078
+ ## 2.0.12
1079
+
1080
+ ### Patch Changes
1081
+
1082
+ - Updated dependencies [99964ed]
1083
+ - @ai-sdk/provider-utils@3.0.8
1084
+
1085
+ ## 2.0.11
1086
+
1087
+ ### Patch Changes
1088
+
1089
+ - c7fee29: feat(anthropic): handle `pause_turn` as value for `stop_reason`
1090
+
1091
+ ## 2.0.10
1092
+
1093
+ ### Patch Changes
1094
+
1095
+ - c152ef7: feat(providers/anthropic): map 'refusal' stop reason to 'content-filter' finishReason
1096
+
1097
+ ## 2.0.9
1098
+
1099
+ ### Patch Changes
1100
+
1101
+ - cdc6b7a: fix(provider/anthropic): disable parallel tool use when using json output tool for structured responses
1102
+
1103
+ ## 2.0.8
1104
+
1105
+ ### Patch Changes
1106
+
1107
+ - Updated dependencies [886e7cd]
1108
+ - @ai-sdk/provider-utils@3.0.7
1109
+
1110
+ ## 2.0.7
1111
+
1112
+ ### Patch Changes
1113
+
1114
+ - Updated dependencies [1b5a3d3]
1115
+ - @ai-sdk/provider-utils@3.0.6
1116
+
1117
+ ## 2.0.6
1118
+
1119
+ ### Patch Changes
1120
+
1121
+ - Updated dependencies [0857788]
1122
+ - @ai-sdk/provider-utils@3.0.5
1123
+
1124
+ ## 2.0.5
1125
+
1126
+ ### Patch Changes
1127
+
1128
+ - Updated dependencies [68751f9]
1129
+ - @ai-sdk/provider-utils@3.0.4
1130
+
1131
+ ## 2.0.4
1132
+
1133
+ ### Patch Changes
1134
+
1135
+ - ae859ce: Added support for Anthropic provider's server-side code execution tool
1136
+
1137
+ ## 2.0.3
1138
+
1139
+ ### Patch Changes
1140
+
1141
+ - Updated dependencies
1142
+ - @ai-sdk/provider-utils@3.0.3
1143
+
1144
+ ## 2.0.2
1145
+
1146
+ ### Patch Changes
1147
+
1148
+ - Updated dependencies [38ac190]
1149
+ - @ai-sdk/provider-utils@3.0.2
1150
+
1151
+ ## 2.0.1
1152
+
1153
+ ### Patch Changes
1154
+
1155
+ - Updated dependencies [90d212f]
1156
+ - @ai-sdk/provider-utils@3.0.1
1157
+
1158
+ ## 2.0.0
1159
+
1160
+ ### Major Changes
1161
+
1162
+ - d5f588f: AI SDK 5
1163
+
1164
+ ### Patch Changes
1165
+
1166
+ - ad66c0e: feat (provider/anthropic): json response schema support via tool calls
1167
+ - 8f2854f: feat (provider/anthropic): send web search tool calls
1168
+ - 5d959e7: refactor: updated openai + anthropic tool use server side
1169
+ - 8dfcb11: feat(anthropic/citation): text support for citations
1170
+ - 9f73965: feat (provider/anthropic): parse websearch tool args
1171
+ - e2aceaf: feat: add raw chunk support
1172
+ - fdff8a4: fix(provider/anthropic): correct Claude 4 model ID format
1173
+ - eb173f1: chore (providers): remove model shorthand deprecation warnings
1174
+ - 4f26d59: feat(provider/anthropic): add disable parallel tool use option
1175
+ - 25f3454: feat(provider/anthropic): add PDF citation support with document sources for streamText
1176
+ - a85c85f: fix (provider/anthropic): streaming json output
1177
+ - 5c9eec4: chore(providers/anthropic): switch to providerOptions
1178
+ - 2e13791: feat(anthropic): add server-side web search support
1179
+ - 66962ed: fix(packages): export node10 compatible types
1180
+ - 075711d: fix (provider/anthropic): return stop finish reason for json output with tool
1181
+ - 269683f: Add raw Anthropic usage information to provider metadata
1182
+ - d601ed9: fix (provider/anthropic): send tool call id in tool-input-start chunk
1183
+ - b9ddcdd: feat(anthropic): add text_editor_20250429 tool for Claude 4 models
1184
+ - 91715e5: fix (provider/google-vertex): fix anthropic support for image urls in messages
1185
+ - ca8aac6: feat (providers/anthropic): add claude v4 models
1186
+ - 61ab528: Add support for URL-based PDF documents in the Anthropic provider
1187
+ - 84577c8: fix (providers/anthropic): remove fine grained tool streaming beta
1188
+ - d1a034f: feature: using Zod 4 for internal stuff
1189
+ - 6392f60: fix(anthropic): resolve web search API validation errors with partial location + provider output
1190
+ - 205077b: fix: improve Zod compatibility
1191
+ - ee5a9c0: feat: streamText onChunk raw chunk support
1192
+ - f418dd7: Added anthropic provider defined tool support to amazon bedrock
1193
+ - 362b048: add web search tool support
1194
+ - 399e056: fix: anthropic computer tool
1195
+ - 0b678b2: feat (provider/anthropic): enable streaming tool calls
1196
+ - f10304b: feat(tool-calling): don't require the user to have to pass parameters
1197
+ - a753b3a: feat (provider/anthropic): cache control for tools
1198
+ - Updated dependencies
1199
+ - @ai-sdk/provider-utils@3.0.0
1200
+ - @ai-sdk/provider@2.0.0
1201
+
1202
+ ## 2.0.0-beta.13
1203
+
1204
+ ### Patch Changes
1205
+
1206
+ - Updated dependencies [88a8ee5]
1207
+ - @ai-sdk/provider-utils@3.0.0-beta.10
1208
+
1209
+ ## 2.0.0-beta.12
1210
+
1211
+ ### Patch Changes
1212
+
1213
+ - f418dd7: Added anthropic provider defined tool support to amazon bedrock
1214
+ - Updated dependencies [27deb4d]
1215
+ - @ai-sdk/provider@2.0.0-beta.2
1216
+ - @ai-sdk/provider-utils@3.0.0-beta.9
1217
+
1218
+ ## 2.0.0-beta.11
1219
+
1220
+ ### Patch Changes
1221
+
1222
+ - eb173f1: chore (providers): remove model shorthand deprecation warnings
1223
+ - Updated dependencies [dd5fd43]
1224
+ - @ai-sdk/provider-utils@3.0.0-beta.8
1225
+
1226
+ ## 2.0.0-beta.10
1227
+
1228
+ ### Patch Changes
1229
+
1230
+ - 269683f: Add raw Anthropic usage information to provider metadata
1231
+ - Updated dependencies [e7fcc86]
1232
+ - @ai-sdk/provider-utils@3.0.0-beta.7
1233
+
1234
+ ## 2.0.0-beta.9
1235
+
1236
+ ### Patch Changes
1237
+
1238
+ - 4f26d59: feat(provider/anthropic): add disable parallel tool use option
1239
+ - a753b3a: feat (provider/anthropic): cache control for tools
1240
+ - Updated dependencies [ac34802]
1241
+ - @ai-sdk/provider-utils@3.0.0-beta.6
1242
+
1243
+ ## 2.0.0-beta.8
1244
+
1245
+ ### Patch Changes
1246
+
1247
+ - Updated dependencies
1248
+ - @ai-sdk/provider-utils@3.0.0-beta.5
1249
+
1250
+ ## 2.0.0-beta.7
1251
+
1252
+ ### Patch Changes
1253
+
1254
+ - 205077b: fix: improve Zod compatibility
1255
+ - Updated dependencies [205077b]
1256
+ - @ai-sdk/provider-utils@3.0.0-beta.4
1257
+
1258
+ ## 2.0.0-beta.6
1259
+
1260
+ ### Patch Changes
1261
+
1262
+ - Updated dependencies [05d2819]
1263
+ - @ai-sdk/provider-utils@3.0.0-beta.3
1264
+
1265
+ ## 2.0.0-beta.5
1266
+
1267
+ ### Patch Changes
1268
+
1269
+ - b9ddcdd: feat(anthropic): add text_editor_20250429 tool for Claude 4 models
1270
+
1271
+ ## 2.0.0-beta.4
1272
+
1273
+ ### Patch Changes
1274
+
1275
+ - fdff8a4: fix(provider/anthropic): correct Claude 4 model ID format
1276
+ - 84577c8: fix (providers/anthropic): remove fine grained tool streaming beta
1277
+
1278
+ ## 2.0.0-beta.3
1279
+
1280
+ ### Patch Changes
1281
+
1282
+ - a85c85f: fix (provider/anthropic): streaming json output
1283
+ - d1a034f: feature: using Zod 4 for internal stuff
1284
+ - 0b678b2: feat (provider/anthropic): enable streaming tool calls
1285
+ - Updated dependencies
1286
+ - @ai-sdk/provider-utils@3.0.0-beta.2
1287
+
1288
+ ## 2.0.0-beta.2
1289
+
1290
+ ### Patch Changes
1291
+
1292
+ - d601ed9: fix (provider/anthropic): send tool call id in tool-input-start chunk
1293
+
1294
+ ## 2.0.0-beta.1
1295
+
1296
+ ### Patch Changes
1297
+
1298
+ - 8f2854f: feat (provider/anthropic): send web search tool calls
1299
+ - 5d959e7: refactor: updated openai + anthropic tool use server side
1300
+ - 9f73965: feat (provider/anthropic): parse websearch tool args
1301
+ - 399e056: fix: anthropic computer tool
1302
+ - Updated dependencies
1303
+ - @ai-sdk/provider@2.0.0-beta.1
1304
+ - @ai-sdk/provider-utils@3.0.0-beta.1
1305
+
1306
+ ## 2.0.0-alpha.15
1307
+
1308
+ ### Patch Changes
1309
+
1310
+ - Updated dependencies
1311
+ - @ai-sdk/provider@2.0.0-alpha.15
1312
+ - @ai-sdk/provider-utils@3.0.0-alpha.15
1313
+
1314
+ ## 2.0.0-alpha.14
1315
+
1316
+ ### Patch Changes
1317
+
1318
+ - 2e13791: feat(anthropic): add server-side web search support
1319
+ - 6392f60: fix(anthropic): resolve web search API validation errors with partial location + provider output
1320
+ - Updated dependencies
1321
+ - @ai-sdk/provider@2.0.0-alpha.14
1322
+ - @ai-sdk/provider-utils@3.0.0-alpha.14
1323
+
1324
+ ## 2.0.0-alpha.13
1325
+
1326
+ ### Patch Changes
1327
+
1328
+ - 8dfcb11: feat(anthropic/citation): text support for citations
1329
+ - ee5a9c0: feat: streamText onChunk raw chunk support
1330
+ - Updated dependencies [68ecf2f]
1331
+ - @ai-sdk/provider@2.0.0-alpha.13
1332
+ - @ai-sdk/provider-utils@3.0.0-alpha.13
1333
+
1334
+ ## 2.0.0-alpha.12
1335
+
1336
+ ### Patch Changes
1337
+
1338
+ - e2aceaf: feat: add raw chunk support
1339
+ - Updated dependencies [e2aceaf]
1340
+ - @ai-sdk/provider@2.0.0-alpha.12
1341
+ - @ai-sdk/provider-utils@3.0.0-alpha.12
1342
+
1343
+ ## 2.0.0-alpha.11
1344
+
1345
+ ### Patch Changes
1346
+
1347
+ - 25f3454: feat(provider/anthropic): add PDF citation support with document sources for streamText
1348
+ - Updated dependencies [c1e6647]
1349
+ - @ai-sdk/provider@2.0.0-alpha.11
1350
+ - @ai-sdk/provider-utils@3.0.0-alpha.11
1351
+
1352
+ ## 2.0.0-alpha.10
1353
+
1354
+ ### Patch Changes
1355
+
1356
+ - Updated dependencies [c4df419]
1357
+ - @ai-sdk/provider@2.0.0-alpha.10
1358
+ - @ai-sdk/provider-utils@3.0.0-alpha.10
1359
+
1360
+ ## 2.0.0-alpha.9
1361
+
1362
+ ### Patch Changes
1363
+
1364
+ - 362b048: add web search tool support
1365
+ - Updated dependencies [811dff3]
1366
+ - @ai-sdk/provider@2.0.0-alpha.9
1367
+ - @ai-sdk/provider-utils@3.0.0-alpha.9
1368
+
1369
+ ## 2.0.0-alpha.8
1370
+
1371
+ ### Patch Changes
1372
+
1373
+ - ad66c0e: feat (provider/anthropic): json response schema support via tool calls
1374
+ - 075711d: fix (provider/anthropic): return stop finish reason for json output with tool
1375
+ - Updated dependencies
1376
+ - @ai-sdk/provider-utils@3.0.0-alpha.8
1377
+ - @ai-sdk/provider@2.0.0-alpha.8
1378
+
1379
+ ## 2.0.0-alpha.7
1380
+
1381
+ ### Patch Changes
1382
+
1383
+ - Updated dependencies [5c56081]
1384
+ - @ai-sdk/provider@2.0.0-alpha.7
1385
+ - @ai-sdk/provider-utils@3.0.0-alpha.7
1386
+
1387
+ ## 2.0.0-alpha.6
1388
+
1389
+ ### Patch Changes
1390
+
1391
+ - Updated dependencies [0d2c085]
1392
+ - @ai-sdk/provider@2.0.0-alpha.6
1393
+ - @ai-sdk/provider-utils@3.0.0-alpha.6
1394
+
1395
+ ## 2.0.0-alpha.4
1396
+
1397
+ ### Patch Changes
1398
+
1399
+ - ca8aac6: feat (providers/anthropic): add claude v4 models
1400
+ - Updated dependencies [dc714f3]
1401
+ - @ai-sdk/provider@2.0.0-alpha.4
1402
+ - @ai-sdk/provider-utils@3.0.0-alpha.4
1403
+
1404
+ ## 2.0.0-alpha.3
1405
+
1406
+ ### Patch Changes
1407
+
1408
+ - Updated dependencies [6b98118]
1409
+ - @ai-sdk/provider@2.0.0-alpha.3
1410
+ - @ai-sdk/provider-utils@3.0.0-alpha.3
1411
+
1412
+ ## 2.0.0-alpha.2
1413
+
1414
+ ### Patch Changes
1415
+
1416
+ - Updated dependencies [26535e0]
1417
+ - @ai-sdk/provider@2.0.0-alpha.2
1418
+ - @ai-sdk/provider-utils@3.0.0-alpha.2
1419
+
1420
+ ## 2.0.0-alpha.1
1421
+
1422
+ ### Patch Changes
1423
+
1424
+ - Updated dependencies [3f2f00c]
1425
+ - @ai-sdk/provider@2.0.0-alpha.1
1426
+ - @ai-sdk/provider-utils@3.0.0-alpha.1
1427
+
1428
+ ## 2.0.0-canary.19
1429
+
1430
+ ### Patch Changes
1431
+
1432
+ - Updated dependencies [faf8446]
1433
+ - @ai-sdk/provider-utils@3.0.0-canary.19
1434
+
1435
+ ## 2.0.0-canary.18
1436
+
1437
+ ### Patch Changes
1438
+
1439
+ - Updated dependencies [40acf9b]
1440
+ - @ai-sdk/provider-utils@3.0.0-canary.18
1441
+
1442
+ ## 2.0.0-canary.17
1443
+
1444
+ ### Patch Changes
1445
+
1446
+ - Updated dependencies [ea7a7c9]
1447
+ - @ai-sdk/provider-utils@3.0.0-canary.17
1448
+
1449
+ ## 2.0.0-canary.16
1450
+
1451
+ ### Patch Changes
1452
+
1453
+ - Updated dependencies [87b828f]
1454
+ - @ai-sdk/provider-utils@3.0.0-canary.16
1455
+
1456
+ ## 2.0.0-canary.15
1457
+
1458
+ ### Patch Changes
1459
+
1460
+ - Updated dependencies
1461
+ - @ai-sdk/provider-utils@3.0.0-canary.15
1462
+ - @ai-sdk/provider@2.0.0-canary.14
1463
+
1464
+ ## 2.0.0-canary.14
1465
+
1466
+ ### Patch Changes
1467
+
1468
+ - Updated dependencies
1469
+ - @ai-sdk/provider-utils@3.0.0-canary.14
1470
+ - @ai-sdk/provider@2.0.0-canary.13
1471
+
1472
+ ## 2.0.0-canary.13
1473
+
1474
+ ### Patch Changes
1475
+
1476
+ - Updated dependencies
1477
+ - @ai-sdk/provider@2.0.0-canary.12
1478
+ - @ai-sdk/provider-utils@3.0.0-canary.13
1479
+
1480
+ ## 2.0.0-canary.12
1481
+
1482
+ ### Patch Changes
1483
+
1484
+ - 5c9eec4: chore(providers/anthropic): switch to providerOptions
1485
+ - Updated dependencies
1486
+ - @ai-sdk/provider@2.0.0-canary.11
1487
+ - @ai-sdk/provider-utils@3.0.0-canary.12
1488
+
1489
+ ## 2.0.0-canary.11
1490
+
1491
+ ### Patch Changes
1492
+
1493
+ - 66962ed: fix(packages): export node10 compatible types
1494
+ - Updated dependencies
1495
+ - @ai-sdk/provider-utils@3.0.0-canary.11
1496
+ - @ai-sdk/provider@2.0.0-canary.10
1497
+
1498
+ ## 2.0.0-canary.10
1499
+
1500
+ ### Patch Changes
1501
+
1502
+ - Updated dependencies [e86be6f]
1503
+ - @ai-sdk/provider@2.0.0-canary.9
1504
+ - @ai-sdk/provider-utils@3.0.0-canary.10
1505
+
1506
+ ## 2.0.0-canary.9
1507
+
1508
+ ### Patch Changes
1509
+
1510
+ - Updated dependencies
1511
+ - @ai-sdk/provider@2.0.0-canary.8
1512
+ - @ai-sdk/provider-utils@3.0.0-canary.9
1513
+
1514
+ ## 2.0.0-canary.8
1515
+
1516
+ ### Patch Changes
1517
+
1518
+ - Updated dependencies
1519
+ - @ai-sdk/provider-utils@3.0.0-canary.8
1520
+ - @ai-sdk/provider@2.0.0-canary.7
1521
+
1522
+ ## 2.0.0-canary.7
1523
+
1524
+ ### Patch Changes
1525
+
1526
+ - Updated dependencies
1527
+ - @ai-sdk/provider@2.0.0-canary.6
1528
+ - @ai-sdk/provider-utils@3.0.0-canary.7
1529
+
1530
+ ## 2.0.0-canary.6
1531
+
1532
+ ### Patch Changes
1533
+
1534
+ - f10304b: feat(tool-calling): don't require the user to have to pass parameters
1535
+ - Updated dependencies
1536
+ - @ai-sdk/provider@2.0.0-canary.5
1537
+ - @ai-sdk/provider-utils@3.0.0-canary.6
1538
+
1539
+ ## 2.0.0-canary.5
1540
+
1541
+ ### Patch Changes
1542
+
1543
+ - Updated dependencies [6f6bb89]
1544
+ - @ai-sdk/provider@2.0.0-canary.4
1545
+ - @ai-sdk/provider-utils@3.0.0-canary.5
1546
+
1547
+ ## 2.0.0-canary.4
1548
+
1549
+ ### Patch Changes
1550
+
1551
+ - Updated dependencies [d1a1aa1]
1552
+ - @ai-sdk/provider@2.0.0-canary.3
1553
+ - @ai-sdk/provider-utils@3.0.0-canary.4
1554
+
1555
+ ## 2.0.0-canary.3
1556
+
1557
+ ### Patch Changes
1558
+
1559
+ - 61ab528: Add support for URL-based PDF documents in the Anthropic provider
1560
+ - Updated dependencies
1561
+ - @ai-sdk/provider-utils@3.0.0-canary.3
1562
+ - @ai-sdk/provider@2.0.0-canary.2
1563
+
1564
+ ## 2.0.0-canary.2
1565
+
1566
+ ### Patch Changes
1567
+
1568
+ - Updated dependencies
1569
+ - @ai-sdk/provider@2.0.0-canary.1
1570
+ - @ai-sdk/provider-utils@3.0.0-canary.2
1571
+
1572
+ ## 2.0.0-canary.1
1573
+
1574
+ ### Patch Changes
1575
+
1576
+ - Updated dependencies
1577
+ - @ai-sdk/provider-utils@3.0.0-canary.1
1578
+
1579
+ ## 2.0.0-canary.0
1580
+
1581
+ ### Major Changes
1582
+
1583
+ - d5f588f: AI SDK 5
1584
+
1585
+ ### Patch Changes
1586
+
1587
+ - 91715e5: fix (provider/google-vertex): fix anthropic support for image urls in messages
1588
+ - Updated dependencies [d5f588f]
1589
+ - @ai-sdk/provider-utils@3.0.0-canary.0
1590
+ - @ai-sdk/provider@2.0.0-canary.0
1591
+
1592
+ ## 1.2.4
1593
+
1594
+ ### Patch Changes
1595
+
1596
+ - Updated dependencies [28be004]
1597
+ - @ai-sdk/provider-utils@2.2.3
1598
+
1599
+ ## 1.2.3
1600
+
1601
+ ### Patch Changes
1602
+
1603
+ - Updated dependencies [b01120e]
1604
+ - @ai-sdk/provider-utils@2.2.2
1605
+
1606
+ ## 1.2.2
1607
+
1608
+ ### Patch Changes
1609
+
1610
+ - aeaa92b: feat (provider/anthropic): expose type for validating Anthropic responses provider options
1611
+
1612
+ ## 1.2.1
1613
+
1614
+ ### Patch Changes
1615
+
1616
+ - Updated dependencies [f10f0fa]
1617
+ - @ai-sdk/provider-utils@2.2.1
1618
+
1619
+ ## 1.2.0
1620
+
1621
+ ### Minor Changes
1622
+
1623
+ - 5bc638d: AI SDK 4.2
1624
+
1625
+ ### Patch Changes
1626
+
1627
+ - Updated dependencies [5bc638d]
1628
+ - @ai-sdk/provider@1.1.0
1629
+ - @ai-sdk/provider-utils@2.2.0
1630
+
1631
+ ## 1.1.19
1632
+
1633
+ ### Patch Changes
1634
+
1635
+ - Updated dependencies [d0c4659]
1636
+ - @ai-sdk/provider-utils@2.1.15
1637
+
1638
+ ## 1.1.18
1639
+
1640
+ ### Patch Changes
1641
+
1642
+ - Updated dependencies [0bd5bc6]
1643
+ - @ai-sdk/provider@1.0.12
1644
+ - @ai-sdk/provider-utils@2.1.14
1645
+
1646
+ ## 1.1.17
1647
+
1648
+ ### Patch Changes
1649
+
1650
+ - Updated dependencies [2e1101a]
1651
+ - @ai-sdk/provider@1.0.11
1652
+ - @ai-sdk/provider-utils@2.1.13
1653
+
1654
+ ## 1.1.16
1655
+
1656
+ ### Patch Changes
1657
+
1658
+ - Updated dependencies [1531959]
1659
+ - @ai-sdk/provider-utils@2.1.12
1660
+
1661
+ ## 1.1.15
1662
+
1663
+ ### Patch Changes
1664
+
1665
+ - e1d3d42: feat (ai): expose raw response body in generateText and generateObject
1666
+ - Updated dependencies [e1d3d42]
1667
+ - @ai-sdk/provider@1.0.10
1668
+ - @ai-sdk/provider-utils@2.1.11
1669
+
1670
+ ## 1.1.14
1671
+
1672
+ ### Patch Changes
1673
+
1674
+ - 0e8b66c: feat (provider/anthropic): support image urls
1675
+
1676
+ ## 1.1.13
1677
+
1678
+ ### Patch Changes
1679
+
1680
+ - 3004b14: feat(provider/anthropic): add bash_20250124 and text_editor_20250124 tools
1681
+
1682
+ ## 1.1.12
1683
+
1684
+ ### Patch Changes
1685
+
1686
+ - b3e5a15: fix (provider/anthropic): add model setting to allow omitting reasoning content from model requests
1687
+
1688
+ ## 1.1.11
1689
+
1690
+ ### Patch Changes
1691
+
1692
+ - 00276ae: feat (provider/anthropic): update types for Anthropic computer_20250124 tool
1693
+ - a4f8714: feat (provider/anthropic): update beta flag for sonnet-3-7 when using new computer-use tool
1694
+
1695
+ ## 1.1.10
1696
+
1697
+ ### Patch Changes
1698
+
1699
+ - ddf9740: feat (ai): add anthropic reasoning
1700
+ - Updated dependencies [ddf9740]
1701
+ - @ai-sdk/provider@1.0.9
1702
+ - @ai-sdk/provider-utils@2.1.10
1703
+
1704
+ ## 1.1.9
1705
+
1706
+ ### Patch Changes
1707
+
1708
+ - Updated dependencies [2761f06]
1709
+ - @ai-sdk/provider@1.0.8
1710
+ - @ai-sdk/provider-utils@2.1.9
1711
+
1712
+ ## 1.1.8
1713
+
1714
+ ### Patch Changes
1715
+
1716
+ - Updated dependencies [2e898b4]
1717
+ - @ai-sdk/provider-utils@2.1.8
1718
+
1719
+ ## 1.1.7
1720
+
1721
+ ### Patch Changes
1722
+
1723
+ - Updated dependencies [3ff4ef8]
1724
+ - @ai-sdk/provider-utils@2.1.7
1725
+
1726
+ ## 1.1.6
1727
+
1728
+ ### Patch Changes
1729
+
1730
+ - Updated dependencies [d89c3b9]
1731
+ - @ai-sdk/provider@1.0.7
1732
+ - @ai-sdk/provider-utils@2.1.6
1733
+
1734
+ ## 1.1.5
1735
+
1736
+ ### Patch Changes
1737
+
1738
+ - Updated dependencies [3a602ca]
1739
+ - @ai-sdk/provider-utils@2.1.5
1740
+
1741
+ ## 1.1.4
1742
+
1743
+ ### Patch Changes
1744
+
1745
+ - Updated dependencies [066206e]
1746
+ - @ai-sdk/provider-utils@2.1.4
1747
+
1748
+ ## 1.1.3
1749
+
1750
+ ### Patch Changes
1751
+
1752
+ - Updated dependencies [39e5c1f]
1753
+ - @ai-sdk/provider-utils@2.1.3
1754
+
1755
+ ## 1.1.2
1756
+
1757
+ ### Patch Changes
1758
+
1759
+ - Updated dependencies
1760
+ - @ai-sdk/provider-utils@2.1.2
1761
+ - @ai-sdk/provider@1.0.6
1762
+
1763
+ ## 1.1.1
1764
+
1765
+ ### Patch Changes
1766
+
1767
+ - 858f934: feat (provider/anthropic): default cache-control on and mark model setting deprecated
1768
+ - b284e2c: feat (provider/google-vertex): support prompt caching for Anthropic Claude models
1769
+ - Updated dependencies
1770
+ - @ai-sdk/provider-utils@2.1.1
1771
+ - @ai-sdk/provider@1.0.5
1772
+
1773
+ ## 1.1.0
1774
+
1775
+ ### Minor Changes
1776
+
1777
+ - 62ba5ad: release: AI SDK 4.1
1778
+
1779
+ ### Patch Changes
1780
+
1781
+ - Updated dependencies [62ba5ad]
1782
+ - @ai-sdk/provider-utils@2.1.0
1783
+
1784
+ ## 1.0.9
1785
+
1786
+ ### Patch Changes
1787
+
1788
+ - Updated dependencies [00114c5]
1789
+ - @ai-sdk/provider-utils@2.0.8
1790
+
1791
+ ## 1.0.8
1792
+
1793
+ ### Patch Changes
1794
+
1795
+ - Updated dependencies
1796
+ - @ai-sdk/provider-utils@2.0.7
1797
+
1798
+ ## 1.0.7
1799
+
1800
+ ### Patch Changes
1801
+
1802
+ - Updated dependencies
1803
+ - @ai-sdk/provider@1.0.4
1804
+ - @ai-sdk/provider-utils@2.0.6
1805
+
1806
+ ## 1.0.6
1807
+
1808
+ ### Patch Changes
1809
+
1810
+ - 5ed5e45: chore (config): Use ts-library.json tsconfig for no-UI libs.
1811
+ - Updated dependencies [5ed5e45]
1812
+ - @ai-sdk/provider-utils@2.0.5
1813
+ - @ai-sdk/provider@1.0.3
1814
+
1815
+ ## 1.0.5
1816
+
1817
+ ### Patch Changes
1818
+
1819
+ - Updated dependencies [09a9cab]
1820
+ - @ai-sdk/provider@1.0.2
1821
+ - @ai-sdk/provider-utils@2.0.4
1822
+
1823
+ ## 1.0.4
1824
+
1825
+ ### Patch Changes
1826
+
1827
+ - bcd892e: feat (provider/google-vertex): Add support for Anthropic models.
1828
+
1829
+ ## 1.0.3
1830
+
1831
+ ### Patch Changes
1832
+
1833
+ - Updated dependencies [0984f0b]
1834
+ - @ai-sdk/provider-utils@2.0.3
1835
+
1836
+ ## 1.0.2
1837
+
1838
+ ### Patch Changes
1839
+
1840
+ - Updated dependencies [b446ae5]
1841
+ - @ai-sdk/provider@1.0.1
1842
+ - @ai-sdk/provider-utils@2.0.2
1843
+
1844
+ ## 1.0.1
1845
+
1846
+ ### Patch Changes
1847
+
1848
+ - Updated dependencies [c3ab5de]
1849
+ - @ai-sdk/provider-utils@2.0.1
1850
+
1851
+ ## 1.0.0
1852
+
1853
+ ### Major Changes
1854
+
1855
+ - 66060f7: chore (release): bump major version to 4.0
1856
+ - 0d3d3f5: chore (providers): remove baseUrl option
1857
+ - 8ad0504: chore (provider/anthropic): remove Anthropic facade
1858
+ - 2f6e8c0: chore (provider/anthropic): remove topK model setting
1859
+
1860
+ ### Patch Changes
1861
+
1862
+ - Updated dependencies
1863
+ - @ai-sdk/provider-utils@2.0.0
1864
+ - @ai-sdk/provider@1.0.0
1865
+
1866
+ ## 1.0.0-canary.4
1867
+
1868
+ ### Major Changes
1869
+
1870
+ - 2f6e8c0: chore (provider/anthropic): remove topK model setting
1871
+
1872
+ ## 1.0.0-canary.3
1873
+
1874
+ ### Patch Changes
1875
+
1876
+ - Updated dependencies [8426f55]
1877
+ - @ai-sdk/provider-utils@2.0.0-canary.3
1878
+
1879
+ ## 1.0.0-canary.2
1880
+
1881
+ ### Patch Changes
1882
+
1883
+ - Updated dependencies
1884
+ - @ai-sdk/provider-utils@2.0.0-canary.2
1885
+
1886
+ ## 1.0.0-canary.1
1887
+
1888
+ ### Major Changes
1889
+
1890
+ - 0d3d3f5: chore (providers): remove baseUrl option
1891
+ - 8ad0504: chore (provider/anthropic): remove Anthropic facade
1892
+
1893
+ ### Patch Changes
1894
+
1895
+ - Updated dependencies [b1da952]
1896
+ - @ai-sdk/provider-utils@2.0.0-canary.1
1897
+
1898
+ ## 1.0.0-canary.0
1899
+
1900
+ ### Major Changes
1901
+
1902
+ - 66060f7: chore (release): bump major version to 4.0
1903
+
1904
+ ### Patch Changes
1905
+
1906
+ - Updated dependencies
1907
+ - @ai-sdk/provider-utils@2.0.0-canary.0
1908
+ - @ai-sdk/provider@1.0.0-canary.0
1909
+
1910
+ ## 0.0.56
1911
+
1912
+ ### Patch Changes
1913
+
1914
+ - e6042b1: feat (provider/anthropic): add haiku 3.5 model ids
1915
+
1916
+ ## 0.0.55
1917
+
1918
+ ### Patch Changes
1919
+
1920
+ - ac380e3: fix (provider/anthropic): continuation mode with 3+ steps
1921
+
1922
+ ## 0.0.54
1923
+
1924
+ ### Patch Changes
1925
+
1926
+ - 4d2e53b: feat (provider/anthropic): pdf support
1927
+ - c8afcb5: feat (provider/anthropic): allow using computer use and cache control at the same time
1928
+
1929
+ ## 0.0.53
1930
+
1931
+ ### Patch Changes
1932
+
1933
+ - 3b1b69a: feat (provider/anthropic): add computer use tools
1934
+ - 3b1b69a: feat: provider-defined tools
1935
+ - 8c222cd: feat (provider/anthropic): update model ids
1936
+ - 811a317: feat (ai/core): multi-part tool results (incl. images)
1937
+ - Updated dependencies
1938
+ - @ai-sdk/provider-utils@1.0.22
1939
+ - @ai-sdk/provider@0.0.26
1940
+
1941
+ ## 0.0.52
1942
+
1943
+ ### Patch Changes
1944
+
1945
+ - b9b0d7b: feat (ai): access raw request body
1946
+ - Updated dependencies [b9b0d7b]
1947
+ - @ai-sdk/provider@0.0.25
1948
+ - @ai-sdk/provider-utils@1.0.21
1949
+
1950
+ ## 0.0.51
1951
+
1952
+ ### Patch Changes
1953
+
1954
+ - Updated dependencies [d595d0d]
1955
+ - @ai-sdk/provider@0.0.24
1956
+ - @ai-sdk/provider-utils@1.0.20
1957
+
1958
+ ## 0.0.50
1959
+
1960
+ ### Patch Changes
1961
+
1962
+ - Updated dependencies [273f696]
1963
+ - @ai-sdk/provider-utils@1.0.19
1964
+
1965
+ ## 0.0.49
1966
+
1967
+ ### Patch Changes
1968
+
1969
+ - 03313cd: feat (ai): expose response id, response model, response timestamp in telemetry and api
1970
+ - 3be7c1c: fix (provider/anthropic): support prompt caching on assistant messages
1971
+ - Updated dependencies
1972
+ - @ai-sdk/provider-utils@1.0.18
1973
+ - @ai-sdk/provider@0.0.23
1974
+
1975
+ ## 0.0.48
1976
+
1977
+ ### Patch Changes
1978
+
1979
+ - 26515cb: feat (ai/provider): introduce ProviderV1 specification
1980
+ - Updated dependencies [26515cb]
1981
+ - @ai-sdk/provider@0.0.22
1982
+ - @ai-sdk/provider-utils@1.0.17
1983
+
1984
+ ## 0.0.47
1985
+
1986
+ ### Patch Changes
1987
+
1988
+ - Updated dependencies [09f895f]
1989
+ - @ai-sdk/provider-utils@1.0.16
1990
+
1991
+ ## 0.0.46
1992
+
1993
+ ### Patch Changes
1994
+
1995
+ - Updated dependencies [d67fa9c]
1996
+ - @ai-sdk/provider-utils@1.0.15
1997
+
1998
+ ## 0.0.45
1999
+
2000
+ ### Patch Changes
2001
+
2002
+ - 95a53a3: chore (provider/anthropic): remove tool calls beta header
2003
+
2004
+ ## 0.0.44
2005
+
2006
+ ### Patch Changes
2007
+
2008
+ - Updated dependencies [f2c025e]
2009
+ - @ai-sdk/provider@0.0.21
2010
+ - @ai-sdk/provider-utils@1.0.14
2011
+
2012
+ ## 0.0.43
2013
+
2014
+ ### Patch Changes
2015
+
2016
+ - 6ac355e: feat (provider/anthropic): add cache control support
2017
+ - Updated dependencies [6ac355e]
2018
+ - @ai-sdk/provider@0.0.20
2019
+ - @ai-sdk/provider-utils@1.0.13
2020
+
2021
+ ## 0.0.42
2022
+
2023
+ ### Patch Changes
2024
+
2025
+ - dd712ac: fix: use FetchFunction type to prevent self-reference
2026
+ - Updated dependencies [dd712ac]
2027
+ - @ai-sdk/provider-utils@1.0.12
2028
+
2029
+ ## 0.0.41
2030
+
2031
+ ### Patch Changes
2032
+
2033
+ - 89b18ca: fix (ai/provider): send finish reason 'unknown' by default
2034
+ - Updated dependencies [dd4a0f5]
2035
+ - @ai-sdk/provider@0.0.19
2036
+ - @ai-sdk/provider-utils@1.0.11
2037
+
2038
+ ## 0.0.40
2039
+
2040
+ ### Patch Changes
2041
+
2042
+ - Updated dependencies
2043
+ - @ai-sdk/provider-utils@1.0.10
2044
+ - @ai-sdk/provider@0.0.18
2045
+
2046
+ ## 0.0.39
2047
+
2048
+ ### Patch Changes
2049
+
2050
+ - Updated dependencies [029af4c]
2051
+ - @ai-sdk/provider@0.0.17
2052
+ - @ai-sdk/provider-utils@1.0.9
2053
+
2054
+ ## 0.0.38
2055
+
2056
+ ### Patch Changes
2057
+
2058
+ - Updated dependencies [d58517b]
2059
+ - @ai-sdk/provider@0.0.16
2060
+ - @ai-sdk/provider-utils@1.0.8
2061
+
2062
+ ## 0.0.37
2063
+
2064
+ ### Patch Changes
2065
+
2066
+ - Updated dependencies [96aed25]
2067
+ - @ai-sdk/provider@0.0.15
2068
+ - @ai-sdk/provider-utils@1.0.7
2069
+
2070
+ ## 0.0.36
2071
+
2072
+ ### Patch Changes
2073
+
2074
+ - Updated dependencies
2075
+ - @ai-sdk/provider-utils@1.0.6
2076
+
2077
+ ## 0.0.35
2078
+
2079
+ ### Patch Changes
2080
+
2081
+ - fe2128f0: feat (provider/anthropic): combine sequential assistant messages into one
2082
+
2083
+ ## 0.0.34
2084
+
2085
+ ### Patch Changes
2086
+
2087
+ - 7d0fd5a8: fix (provider/anthropic): handle error stream chunks
2088
+
2089
+ ## 0.0.33
2090
+
2091
+ ### Patch Changes
2092
+
2093
+ - a8d1c9e9: feat (ai/core): parallel image download
2094
+ - Updated dependencies [a8d1c9e9]
2095
+ - @ai-sdk/provider-utils@1.0.5
2096
+ - @ai-sdk/provider@0.0.14
2097
+
2098
+ ## 0.0.32
2099
+
2100
+ ### Patch Changes
2101
+
2102
+ - Updated dependencies [4f88248f]
2103
+ - @ai-sdk/provider-utils@1.0.4
2104
+
2105
+ ## 0.0.31
2106
+
2107
+ ### Patch Changes
2108
+
2109
+ - 2b9da0f0: feat (core): support stopSequences setting.
2110
+ - a5b58845: feat (core): support topK setting
2111
+ - 4aa8deb3: feat (provider): support responseFormat setting in provider api
2112
+ - 13b27ec6: chore (ai/core): remove grammar mode
2113
+ - Updated dependencies
2114
+ - @ai-sdk/provider@0.0.13
2115
+ - @ai-sdk/provider-utils@1.0.3
2116
+
2117
+ ## 0.0.30
2118
+
2119
+ ### Patch Changes
2120
+
2121
+ - 4c6b80f7: chore (provider/anthropic): improve object-tool mode
2122
+
2123
+ ## 0.0.29
2124
+
2125
+ ### Patch Changes
2126
+
2127
+ - Updated dependencies [b7290943]
2128
+ - @ai-sdk/provider@0.0.12
2129
+ - @ai-sdk/provider-utils@1.0.2
2130
+
2131
+ ## 0.0.28
2132
+
2133
+ ### Patch Changes
2134
+
2135
+ - Updated dependencies [d481729f]
2136
+ - @ai-sdk/provider-utils@1.0.1
2137
+
2138
+ ## 0.0.27
2139
+
2140
+ ### Patch Changes
2141
+
2142
+ - 7e86b45e: fix (provider/anthropic): automatically trim trailing whitespace on pre-filled assistant responses
2143
+
2144
+ ## 0.0.26
2145
+
2146
+ ### Patch Changes
2147
+
2148
+ - 5edc6110: feat (ai/core): add custom request header support
2149
+ - Updated dependencies
2150
+ - @ai-sdk/provider@0.0.11
2151
+ - @ai-sdk/provider-utils@1.0.0
2152
+
2153
+ ## 0.0.25
2154
+
2155
+ ### Patch Changes
2156
+
2157
+ - 91dc4296: chore (@ai-sdk/anthropic): remove anthropic-beta header
2158
+
2159
+ ## 0.0.24
2160
+
2161
+ ### Patch Changes
2162
+
2163
+ - 04800838: fix (@ai-sdk/anthropic): combine tool and user messages, combine system messages
2164
+
2165
+ ## 0.0.23
2166
+
2167
+ ### Patch Changes
2168
+
2169
+ - Updated dependencies [02f6a088]
2170
+ - @ai-sdk/provider-utils@0.0.16
2171
+
2172
+ ## 0.0.22
2173
+
2174
+ ### Patch Changes
2175
+
2176
+ - 0a22b05b: feat (@ai-sdk/anthropic): add claude-3.5-sonnet model
2177
+
2178
+ ## 0.0.21
2179
+
2180
+ ### Patch Changes
2181
+
2182
+ - Updated dependencies
2183
+ - @ai-sdk/provider-utils@0.0.15
2184
+
2185
+ ## 0.0.20
2186
+
2187
+ ### Patch Changes
2188
+
2189
+ - 4728c37f: feat (core): add text embedding model support to provider registry
2190
+ - 7910ae84: feat (providers): support custom fetch implementations
2191
+ - Updated dependencies [7910ae84]
2192
+ - @ai-sdk/provider-utils@0.0.14
2193
+
2194
+ ## 0.0.19
2195
+
2196
+ ### Patch Changes
2197
+
2198
+ - Updated dependencies [102ca22f]
2199
+ - @ai-sdk/provider@0.0.10
2200
+ - @ai-sdk/provider-utils@0.0.13
2201
+
2202
+ ## 0.0.18
2203
+
2204
+ ### Patch Changes
2205
+
2206
+ - 09295e2e: feat (@ai-sdk/anthropic): automatically download image URLs
2207
+ - Updated dependencies
2208
+ - @ai-sdk/provider@0.0.9
2209
+ - @ai-sdk/provider-utils@0.0.12
2210
+
2211
+ ## 0.0.17
2212
+
2213
+ ### Patch Changes
2214
+
2215
+ - f39c0dd2: feat (provider): implement toolChoice support
2216
+ - Updated dependencies [f39c0dd2]
2217
+ - @ai-sdk/provider@0.0.8
2218
+ - @ai-sdk/provider-utils@0.0.11
2219
+
2220
+ ## 0.0.16
2221
+
2222
+ ### Patch Changes
2223
+
2224
+ - 24683b72: fix (providers): Zod is required dependency
2225
+ - Updated dependencies [8e780288]
2226
+ - @ai-sdk/provider@0.0.7
2227
+ - @ai-sdk/provider-utils@0.0.10
2228
+
2229
+ ## 0.0.15
2230
+
2231
+ ### Patch Changes
2232
+
2233
+ - Updated dependencies
2234
+ - @ai-sdk/provider@0.0.6
2235
+ - @ai-sdk/provider-utils@0.0.9
2236
+
2237
+ ## 0.0.14
2238
+
2239
+ ### Patch Changes
2240
+
2241
+ - 06e3934: feat (provider/anthropic): streaming tool calls
2242
+
2243
+ ## 0.0.13
2244
+
2245
+ ### Patch Changes
2246
+
2247
+ - Updated dependencies [0f6bc4e]
2248
+ - @ai-sdk/provider@0.0.5
2249
+ - @ai-sdk/provider-utils@0.0.8
2250
+
2251
+ ## 0.0.12
2252
+
2253
+ ### Patch Changes
2254
+
2255
+ - Updated dependencies [325ca55]
2256
+ - @ai-sdk/provider@0.0.4
2257
+ - @ai-sdk/provider-utils@0.0.7
2258
+
2259
+ ## 0.0.11
2260
+
2261
+ ### Patch Changes
2262
+
2263
+ - 5b01c13: feat (ai/core): add system message support in messages list
2264
+
2265
+ ## 0.0.10
2266
+
2267
+ ### Patch Changes
2268
+
2269
+ - Updated dependencies [276f22b]
2270
+ - @ai-sdk/provider-utils@0.0.6
2271
+
2272
+ ## 0.0.9
2273
+
2274
+ ### Patch Changes
2275
+
2276
+ - Updated dependencies [41d5736]
2277
+ - @ai-sdk/provider@0.0.3
2278
+ - @ai-sdk/provider-utils@0.0.5
2279
+
2280
+ ## 0.0.8
2281
+
2282
+ ### Patch Changes
2283
+
2284
+ - Updated dependencies [56ef84a]
2285
+ - @ai-sdk/provider-utils@0.0.4
2286
+
2287
+ ## 0.0.7
2288
+
2289
+ ### Patch Changes
2290
+
2291
+ - 25f3350: ai/core: add support for getting raw response headers.
2292
+ - Updated dependencies
2293
+ - @ai-sdk/provider@0.0.2
2294
+ - @ai-sdk/provider-utils@0.0.3
2295
+
2296
+ ## 0.0.6
2297
+
2298
+ ### Patch Changes
2299
+
2300
+ - eb150a6: ai/core: remove scaling of setting values (breaking change). If you were using the temperature, frequency penalty, or presence penalty settings, you need to update the providers and adjust the setting values.
2301
+ - Updated dependencies [eb150a6]
2302
+ - @ai-sdk/provider-utils@0.0.2
2303
+ - @ai-sdk/provider@0.0.1
2304
+
2305
+ ## 0.0.5
2306
+
2307
+ ### Patch Changes
2308
+
2309
+ - c6fc35b: Add custom header support.
2310
+
2311
+ ## 0.0.4
2312
+
2313
+ ### Patch Changes
2314
+
2315
+ - ab60b18: Simplified model construction by directly calling provider functions. Add create... functions to create provider instances.
2316
+
2317
+ ## 0.0.3
2318
+
2319
+ ### Patch Changes
2320
+
2321
+ - 587240b: Standardize providers to offer .chat() method
2322
+
2323
+ ## 0.0.2
2324
+
2325
+ ### Patch Changes
2326
+
2327
+ - 2bff460: Fix build for release.
2328
+
2329
+ ## 0.0.1
2330
+
2331
+ ### Patch Changes
2332
+
2333
+ - 7b8791d: Rename baseUrl to baseURL. Automatically remove trailing slashes.
2334
+ - Updated dependencies [7b8791d]
2335
+ - @ai-sdk/provider-utils@0.0.1