@ai-sdk/openai 0.0.0-013d7476-20250808163325 → 0.0.0-64aae7dd-20260114144918

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 CHANGED
@@ -1,6 +1,1254 @@
1
1
  # @ai-sdk/openai
2
2
 
3
- ## 0.0.0-013d7476-20250808163325
3
+ ## 0.0.0-64aae7dd-20260114144918
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9fbe723]
8
+ - @ai-sdk/provider-utils@0.0.0-64aae7dd-20260114144918
9
+ - @ai-sdk/provider@0.0.0-64aae7dd-20260114144918
10
+
11
+ ## 3.0.9
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [34d1c8a]
16
+ - @ai-sdk/provider-utils@4.0.5
17
+
18
+ ## 3.0.8
19
+
20
+ ### Patch Changes
21
+
22
+ - 330bd92: Fix Responses `code_interpreter` annotations and add typed providerMetadata
23
+
24
+ - Align Responses API `code_interpreter` annotation types with the official spec.
25
+ - Add tests to ensure the overlapping parts of the Zod schemas used by `doGenerate` and `doStream` stay in sync.
26
+ - Export the following types for use in client code:
27
+ - `OpenaiResponsesTextProviderMetadata`
28
+ - `OpenaiResponsesSourceDocumentProviderMetadata`
29
+ - `AzureResponsesTextProviderMetadata`
30
+ - `AzureResponsesSourceDocumentProviderMetadata`
31
+
32
+ ## 3.0.7
33
+
34
+ ### Patch Changes
35
+
36
+ - 89202fb: fix(openai/azure): passing response_format correctly
37
+
38
+ ## 3.0.6
39
+
40
+ ### Patch Changes
41
+
42
+ - dc87517: Fix handling of `image-url` tool result content type in OpenAI Responses API conversion
43
+
44
+ ## 3.0.5
45
+
46
+ ### Patch Changes
47
+
48
+ - Updated dependencies [d937c8f]
49
+ - @ai-sdk/provider@3.0.2
50
+ - @ai-sdk/provider-utils@4.0.4
51
+
52
+ ## 3.0.4
53
+
54
+ ### Patch Changes
55
+
56
+ - Updated dependencies [0b429d4]
57
+ - @ai-sdk/provider-utils@4.0.3
58
+
59
+ ## 3.0.3
60
+
61
+ ### Patch Changes
62
+
63
+ - 55cd1a4: fix(azure): allow 'azure' as a key for providerOptions
64
+
65
+ ## 3.0.2
66
+
67
+ ### Patch Changes
68
+
69
+ - 863d34f: fix: trigger release to update `@latest`
70
+ - Updated dependencies [863d34f]
71
+ - @ai-sdk/provider@3.0.1
72
+ - @ai-sdk/provider-utils@4.0.2
73
+
74
+ ## 3.0.1
75
+
76
+ ### Patch Changes
77
+
78
+ - 29264a3: feat: add MCP tool approval
79
+ - Updated dependencies [29264a3]
80
+ - @ai-sdk/provider-utils@4.0.1
81
+
82
+ ## 3.0.0
83
+
84
+ ### Major Changes
85
+
86
+ - dee8b05: ai SDK 6 beta
87
+
88
+ ### Minor Changes
89
+
90
+ - 78928cb: release: start 5.1 beta
91
+
92
+ ### Patch Changes
93
+
94
+ - 0c3b58b: fix(provider): add specificationVersion to ProviderV3
95
+ - 4920119: fix the "incomplete_details" key from nullable to nullish for openai compatibility
96
+ - 0adc679: feat(provider): shared spec v3
97
+ - 92c6241: feat(openai): additional settings for file search tool
98
+ - 88fc415: feat(openai): add the new provider 'apply_patch' tool
99
+ - 817e601: fix(openai); fix url_citation schema in chat api
100
+ - dae2185: fix(openai): extract meta data from first chunk that contains any
101
+ - 046aa3b: feat(provider): speech model v3 spec
102
+ - f1277fe: feat(provider/openai): send assistant text and tool call parts as reference ids when store: true
103
+ - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
104
+
105
+ Before
106
+
107
+ ```ts
108
+ model.textEmbeddingModel('my-model-id');
109
+ ```
110
+
111
+ After
112
+
113
+ ```ts
114
+ model.embeddingModel('my-model-id');
115
+ ```
116
+
117
+ - 60f4775: fix: remove code for unsuported o1-mini and o1-preview models
118
+ - 9a51b92: support OPENAI_BASE_URL env
119
+ - d64ece9: enables image_generation capabilities in the Azure provider through the Responses API.
120
+ - 2625a04: feat(openai); update spec for mcp approval
121
+ - 2e86082: feat(provider/openai): `OpenAIChatLanguageModelOptions` type
122
+
123
+ ```ts
124
+ import { openai, type OpenAIChatLanguageModelOptions } from '@ai-sdk/openai';
125
+ import { generateText } from 'ai';
126
+
127
+ await generateText({
128
+ model: openai.chat('gpt-4o'),
129
+ prompt: 'Invent a new holiday and describe its traditions.',
130
+ providerOptions: {
131
+ openai: {
132
+ user: 'user-123',
133
+ } satisfies OpenAIChatLanguageModelOptions,
134
+ },
135
+ });
136
+ ```
137
+
138
+ - 0877683: feat(provider/openai): support conversations api
139
+ - d0f1baf: feat(openai): Add support for 'promptCacheRetention: 24h' for gpt5.1 series
140
+ - 831b6cc: feat(openai): adding provider mcp tool for openai
141
+ - 95f65c2: chore: use import \* from zod/v4
142
+ - edc5548: feat(provider/openai): automatically add reasoning.encrypted_content include when store = false
143
+ - 954c356: feat(openai): allow custom names for provider-defined tools
144
+ - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
145
+ - 77f2b20: enables code_interpreter and file_search capabilities in the Azure provider through the Responses API
146
+ - 0c4822d: feat: `EmbeddingModelV3`
147
+ - 73d9883: chore(openai): enable strict json by default
148
+ - d2039d7: feat(provider/openai): add GPT 5.1 Codex Max to OpenAI Responses model IDs list
149
+ - 88edc28: feat (provider/openai): include more image generation response metadata
150
+ - e8109d3: feat: tool execution approval
151
+ - ed329cb: feat: `Provider-V3`
152
+ - 3bd2689: feat: extended token usage
153
+ - 1cad0ab: feat: add provider version to user-agent header
154
+ - e85fa2f: feat(openai): add sources in web-search actions
155
+ - 423ba08: Set the annotations from the Responses API to doStream
156
+ - 401f561: fix(provider/openai): fix web search tool input types
157
+ - 4122d2a: feat(provider/openai): add gpt-5-codex model id
158
+ - 0153bfa: fix(openai): fix parameter exclusion logic
159
+ - 8dac895: feat: `LanguageModelV3`
160
+ - 304222e: Add streaming support for apply_patch partial diffs.
161
+ - 23f132b: fix: error schema for Responses API
162
+ - 1d0de66: refactoring(provider/openai): simplify code
163
+ - 000e87b: fix(provider/openai): add providerExecuted flag to tool start chunks
164
+ - 2c0a758: chore(openai): add JSDoc to responses options
165
+ - 1b982e6: feat(openai): preserve file_id when converting file citations
166
+ - b82987c: feat(openai): support openai code-interpreter annotations
167
+ - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
168
+ - b681d7d: feat: expose usage tokens for 'generateImage' function
169
+ - 79b4e46: feat(openai): add 'gpt-5.1' modelID
170
+ - 3997a42: feat(provider/openai): local shell tool
171
+ - 348fd10: fix(openai): treat unknown models as reasoning
172
+ - 9061dc0: feat: image editing
173
+ - fe49278: feat(provider/openai): only send item references for reasoning when store: true
174
+ - cb4d238: The built in Code Interpreter tool input code is streamed in `tool-input-<start/delta/end>` chunks.
175
+ - 357cfd7: feat(provider/openai): add new model IDs `gpt-image-1-mini`, `gpt-5-pro`, `gpt-5-pro-2025-10-06`
176
+ - 38a4035: added support for external_web_access parameter on web_search tool
177
+ - 40d5419: feat(openai): add `o3-deep-research` and `o4-mini-deep-research` models
178
+ - 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases
179
+ - 2b0caef: feat(provider/openai): preview image generation results
180
+ - b60d2e2: fix(openai): allow open_page action type url to be nullish
181
+ - fd47df5: fix(openai): revised_prompt sometimes returns null, causing errors
182
+ - 4616b86: chore: update zod peer depenedency version
183
+ - 7756857: fix(provider/openai): add truncation parameter support for Responses API
184
+ - cad6445: feat(openai); adding OpenAI's new shell tool
185
+ - 64aa48f: Azure OpenAI enabled web-search-preview
186
+ - 0b9fdd5: fix(provider/openai): end reasoning parts earlier
187
+ - 61c52dc: feat (provider/openai): add gpt-image-1.5 model support
188
+ - ef739fa: fix(openai): refactor apply-patch tool
189
+ - 3220329: fix openai responses input: process all provider tool outputs (shell/apply_patch) so parallel tool results aren’t dropped and apply_patch outputs are forwarded.
190
+ - d270a5d: chore(openai): update tests for apply-patch tool to use snapshots
191
+ - f18ef7f: feat(openai): add gpt-5.2 models
192
+ - 21e20c0: feat(provider): transcription model v3 spec
193
+ - 522f6b8: feat: `ImageModelV3`
194
+ - 484aa93: Add 'default' as service tier
195
+ - 88574c1: Change `isReasoningModel` detection from blocklist to allowlist and add override option
196
+ - 68c6187: feat(provider/openai): support file and image tool results
197
+ - 3794514: feat: flexible tool output content support
198
+ - cbf52cd: feat: expose raw finish reason
199
+ - 10c1322: fix: moved dependency `@ai-sdk/test-server` to devDependencies
200
+ - 5648ec0: Add GPT-5.2 support for non-reasoning parameters (temperature, topP, logProbs) when reasoningEffort is none.
201
+ - 78f813e: fix(openai): allow temperature etc setting when reasoning effort is none for gpt-5.1
202
+ - 40dc7fa: fix(openai): change find action type to find_in_page action type
203
+ - 0273b74: fix(openai): add support for sources type 'api'
204
+ - 5bf101a: feat(provider/openai): add support for OpenAI xhigh reasoning effort
205
+ - 1bd7d32: feat: tool-specific strict mode
206
+ - d86b52f: distinguish between OpenAI and Azure in Responses API providerMetadata
207
+ - 95f65c2: chore: load zod schemas lazily
208
+ - 59561f8: fix(openai); fix url_citation schema in chat api
209
+ - Updated dependencies
210
+ - @ai-sdk/provider@3.0.0
211
+ - @ai-sdk/provider-utils@4.0.0
212
+
213
+ ## 3.0.0-beta.112
214
+
215
+ ### Patch Changes
216
+
217
+ - Updated dependencies [475189e]
218
+ - @ai-sdk/provider@3.0.0-beta.32
219
+ - @ai-sdk/provider-utils@4.0.0-beta.59
220
+
221
+ ## 3.0.0-beta.111
222
+
223
+ ### Patch Changes
224
+
225
+ - 304222e: Add streaming support for apply_patch partial diffs.
226
+
227
+ ## 3.0.0-beta.110
228
+
229
+ ### Patch Changes
230
+
231
+ - 2625a04: feat(openai); update spec for mcp approval
232
+ - Updated dependencies [2625a04]
233
+ - @ai-sdk/provider@3.0.0-beta.31
234
+ - @ai-sdk/provider-utils@4.0.0-beta.58
235
+
236
+ ## 3.0.0-beta.109
237
+
238
+ ### Patch Changes
239
+
240
+ - cbf52cd: feat: expose raw finish reason
241
+ - Updated dependencies [cbf52cd]
242
+ - @ai-sdk/provider@3.0.0-beta.30
243
+ - @ai-sdk/provider-utils@4.0.0-beta.57
244
+
245
+ ## 3.0.0-beta.108
246
+
247
+ ### Patch Changes
248
+
249
+ - Updated dependencies [9549c9e]
250
+ - @ai-sdk/provider@3.0.0-beta.29
251
+ - @ai-sdk/provider-utils@4.0.0-beta.56
252
+
253
+ ## 3.0.0-beta.107
254
+
255
+ ### Patch Changes
256
+
257
+ - Updated dependencies [50b70d6]
258
+ - @ai-sdk/provider-utils@4.0.0-beta.55
259
+
260
+ ## 3.0.0-beta.106
261
+
262
+ ### Patch Changes
263
+
264
+ - 9061dc0: feat: image editing
265
+ - Updated dependencies [9061dc0]
266
+ - @ai-sdk/provider-utils@4.0.0-beta.54
267
+ - @ai-sdk/provider@3.0.0-beta.28
268
+
269
+ ## 3.0.0-beta.105
270
+
271
+ ### Patch Changes
272
+
273
+ - 88574c1: Change `isReasoningModel` detection from blocklist to allowlist and add override option
274
+
275
+ ## 3.0.0-beta.104
276
+
277
+ ### Patch Changes
278
+
279
+ - 61c52dc: feat (provider/openai): add gpt-image-1.5 model support
280
+
281
+ ## 3.0.0-beta.103
282
+
283
+ ### Patch Changes
284
+
285
+ - 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases
286
+ - Updated dependencies [366f50b]
287
+ - @ai-sdk/provider@3.0.0-beta.27
288
+ - @ai-sdk/provider-utils@4.0.0-beta.53
289
+
290
+ ## 3.0.0-beta.102
291
+
292
+ ### Patch Changes
293
+
294
+ - Updated dependencies [763d04a]
295
+ - @ai-sdk/provider-utils@4.0.0-beta.52
296
+
297
+ ## 3.0.0-beta.101
298
+
299
+ ### Patch Changes
300
+
301
+ - 3220329: fix openai responses input: process all provider tool outputs (shell/apply_patch) so parallel tool results aren’t dropped and apply_patch outputs are forwarded.
302
+ - 5648ec0: Add GPT-5.2 support for non-reasoning parameters (temperature, topP, logProbs) when reasoningEffort is none.
303
+
304
+ ## 3.0.0-beta.100
305
+
306
+ ### Patch Changes
307
+
308
+ - Updated dependencies [c1efac4]
309
+ - @ai-sdk/provider-utils@4.0.0-beta.51
310
+
311
+ ## 3.0.0-beta.99
312
+
313
+ ### Patch Changes
314
+
315
+ - Updated dependencies [32223c8]
316
+ - @ai-sdk/provider-utils@4.0.0-beta.50
317
+
318
+ ## 3.0.0-beta.98
319
+
320
+ ### Patch Changes
321
+
322
+ - Updated dependencies [83e5744]
323
+ - @ai-sdk/provider-utils@4.0.0-beta.49
324
+
325
+ ## 3.0.0-beta.97
326
+
327
+ ### Patch Changes
328
+
329
+ - Updated dependencies [960ec8f]
330
+ - @ai-sdk/provider-utils@4.0.0-beta.48
331
+
332
+ ## 3.0.0-beta.96
333
+
334
+ ### Patch Changes
335
+
336
+ - 817e601: fix(openai); fix url_citation schema in chat api
337
+ - 59561f8: fix(openai); fix url_citation schema in chat api
338
+
339
+ ## 3.0.0-beta.95
340
+
341
+ ### Patch Changes
342
+
343
+ - 40dc7fa: fix(openai): change find action type to find_in_page action type
344
+
345
+ ## 3.0.0-beta.94
346
+
347
+ ### Patch Changes
348
+
349
+ - f18ef7f: feat(openai): add gpt-5.2 models
350
+
351
+ ## 3.0.0-beta.93
352
+
353
+ ### Patch Changes
354
+
355
+ - d2039d7: feat(provider/openai): add GPT 5.1 Codex Max to OpenAI Responses model IDs list
356
+
357
+ ## 3.0.0-beta.92
358
+
359
+ ### Patch Changes
360
+
361
+ - 5bf101a: feat(provider/openai): add support for OpenAI xhigh reasoning effort
362
+
363
+ ## 3.0.0-beta.91
364
+
365
+ ### Patch Changes
366
+
367
+ - Updated dependencies [e9e157f]
368
+ - @ai-sdk/provider-utils@4.0.0-beta.47
369
+
370
+ ## 3.0.0-beta.90
371
+
372
+ ### Patch Changes
373
+
374
+ - Updated dependencies [81e29ab]
375
+ - @ai-sdk/provider-utils@4.0.0-beta.46
376
+
377
+ ## 3.0.0-beta.89
378
+
379
+ ### Patch Changes
380
+
381
+ - 3bd2689: feat: extended token usage
382
+ - Updated dependencies [3bd2689]
383
+ - @ai-sdk/provider@3.0.0-beta.26
384
+ - @ai-sdk/provider-utils@4.0.0-beta.45
385
+
386
+ ## 3.0.0-beta.88
387
+
388
+ ### Patch Changes
389
+
390
+ - 92c6241: feat(openai): additional settings for file search tool
391
+
392
+ ## 3.0.0-beta.87
393
+
394
+ ### Patch Changes
395
+
396
+ - Updated dependencies [53f3368]
397
+ - @ai-sdk/provider@3.0.0-beta.25
398
+ - @ai-sdk/provider-utils@4.0.0-beta.44
399
+
400
+ ## 3.0.0-beta.86
401
+
402
+ ### Patch Changes
403
+
404
+ - 0153bfa: fix(openai): fix parameter exclusion logic
405
+
406
+ ## 3.0.0-beta.85
407
+
408
+ ### Patch Changes
409
+
410
+ - 78f813e: fix(openai): allow temperature etc setting when reasoning effort is none for gpt-5.1
411
+
412
+ ## 3.0.0-beta.84
413
+
414
+ ### Patch Changes
415
+
416
+ - Updated dependencies [dce03c4]
417
+ - @ai-sdk/provider-utils@4.0.0-beta.43
418
+ - @ai-sdk/provider@3.0.0-beta.24
419
+
420
+ ## 3.0.0-beta.83
421
+
422
+ ### Patch Changes
423
+
424
+ - ef739fa: fix(openai): refactor apply-patch tool
425
+
426
+ ## 3.0.0-beta.82
427
+
428
+ ### Patch Changes
429
+
430
+ - Updated dependencies [3ed5519]
431
+ - @ai-sdk/provider-utils@4.0.0-beta.42
432
+
433
+ ## 3.0.0-beta.81
434
+
435
+ ### Patch Changes
436
+
437
+ - cad6445: feat(openai); adding OpenAI's new shell tool
438
+
439
+ ## 3.0.0-beta.80
440
+
441
+ ### Patch Changes
442
+
443
+ - b60d2e2: fix(openai): allow open_page action type url to be nullish
444
+
445
+ ## 3.0.0-beta.79
446
+
447
+ ### Patch Changes
448
+
449
+ - 1bd7d32: feat: tool-specific strict mode
450
+ - Updated dependencies [1bd7d32]
451
+ - @ai-sdk/provider-utils@4.0.0-beta.41
452
+ - @ai-sdk/provider@3.0.0-beta.23
453
+
454
+ ## 3.0.0-beta.78
455
+
456
+ ### Patch Changes
457
+
458
+ - 2c0a758: chore(openai): add JSDoc to responses options
459
+
460
+ ## 3.0.0-beta.77
461
+
462
+ ### Patch Changes
463
+
464
+ - d270a5d: chore(openai): update tests for apply-patch tool to use snapshots
465
+
466
+ ## 3.0.0-beta.76
467
+
468
+ ### Patch Changes
469
+
470
+ - 88edc28: feat (provider/openai): include more image generation response metadata
471
+
472
+ ## 3.0.0-beta.75
473
+
474
+ ### Patch Changes
475
+
476
+ - 73d9883: chore(openai): enable strict json by default
477
+
478
+ ## 3.0.0-beta.74
479
+
480
+ ### Patch Changes
481
+
482
+ - 88fc415: feat(openai): add the new provider 'apply_patch' tool
483
+
484
+ ## 3.0.0-beta.73
485
+
486
+ ### Patch Changes
487
+
488
+ - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
489
+ - Updated dependencies [544d4e8]
490
+ - @ai-sdk/provider-utils@4.0.0-beta.40
491
+ - @ai-sdk/provider@3.0.0-beta.22
492
+
493
+ ## 3.0.0-beta.72
494
+
495
+ ### Patch Changes
496
+
497
+ - 954c356: feat(openai): allow custom names for provider-defined tools
498
+ - Updated dependencies [954c356]
499
+ - @ai-sdk/provider-utils@4.0.0-beta.39
500
+ - @ai-sdk/provider@3.0.0-beta.21
501
+
502
+ ## 3.0.0-beta.71
503
+
504
+ ### Patch Changes
505
+
506
+ - Updated dependencies [03849b0]
507
+ - @ai-sdk/provider-utils@4.0.0-beta.38
508
+
509
+ ## 3.0.0-beta.70
510
+
511
+ ### Patch Changes
512
+
513
+ - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
514
+ - Updated dependencies [457318b]
515
+ - @ai-sdk/provider@3.0.0-beta.20
516
+ - @ai-sdk/provider-utils@4.0.0-beta.37
517
+
518
+ ## 3.0.0-beta.69
519
+
520
+ ### Patch Changes
521
+
522
+ - 1d0de66: refactoring(provider/openai): simplify code
523
+
524
+ ## 3.0.0-beta.68
525
+
526
+ ### Patch Changes
527
+
528
+ - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
529
+
530
+ Before
531
+
532
+ ```ts
533
+ model.textEmbeddingModel('my-model-id');
534
+ ```
535
+
536
+ After
537
+
538
+ ```ts
539
+ model.embeddingModel('my-model-id');
540
+ ```
541
+
542
+ - Updated dependencies [8d9e8ad]
543
+ - @ai-sdk/provider@3.0.0-beta.19
544
+ - @ai-sdk/provider-utils@4.0.0-beta.36
545
+
546
+ ## 3.0.0-beta.67
547
+
548
+ ### Patch Changes
549
+
550
+ - Updated dependencies [10d819b]
551
+ - @ai-sdk/provider@3.0.0-beta.18
552
+ - @ai-sdk/provider-utils@4.0.0-beta.35
553
+
554
+ ## 3.0.0-beta.66
555
+
556
+ ### Patch Changes
557
+
558
+ - d86b52f: distinguish between OpenAI and Azure in Responses API providerMetadata
559
+
560
+ ## 3.0.0-beta.65
561
+
562
+ ### Patch Changes
563
+
564
+ - 38a4035: added support for external_web_access parameter on web_search tool
565
+
566
+ ## 3.0.0-beta.64
567
+
568
+ ### Patch Changes
569
+
570
+ - Updated dependencies [db913bd]
571
+ - @ai-sdk/provider@3.0.0-beta.17
572
+ - @ai-sdk/provider-utils@4.0.0-beta.34
573
+
574
+ ## 3.0.0-beta.63
575
+
576
+ ### Patch Changes
577
+
578
+ - 423ba08: Set the annotations from the Responses API to doStream
579
+
580
+ ## 3.0.0-beta.62
581
+
582
+ ### Patch Changes
583
+
584
+ - 64aa48f: Azure OpenAI enabled web-search-preview
585
+
586
+ ## 3.0.0-beta.61
587
+
588
+ ### Patch Changes
589
+
590
+ - 23f132b: fix: error schema for Responses API
591
+
592
+ ## 3.0.0-beta.60
593
+
594
+ ### Patch Changes
595
+
596
+ - 0877683: feat(provider/openai): support conversations api
597
+
598
+ ## 3.0.0-beta.59
599
+
600
+ ### Patch Changes
601
+
602
+ - d0f1baf: feat(openai): Add support for 'promptCacheRetention: 24h' for gpt5.1 series
603
+
604
+ ## 3.0.0-beta.58
605
+
606
+ ### Patch Changes
607
+
608
+ - 79b4e46: feat(openai): add 'gpt-5.1' modelID
609
+
610
+ ## 3.0.0-beta.57
611
+
612
+ ### Patch Changes
613
+
614
+ - b681d7d: feat: expose usage tokens for 'generateImage' function
615
+ - Updated dependencies [b681d7d]
616
+ - @ai-sdk/provider@3.0.0-beta.16
617
+ - @ai-sdk/provider-utils@4.0.0-beta.33
618
+
619
+ ## 3.0.0-beta.56
620
+
621
+ ### Patch Changes
622
+
623
+ - Updated dependencies [32d8dbb]
624
+ - @ai-sdk/provider-utils@4.0.0-beta.32
625
+
626
+ ## 3.0.0-beta.55
627
+
628
+ ### Patch Changes
629
+
630
+ - 831b6cc: feat(openai): adding provider mcp tool for openai
631
+
632
+ ## 3.0.0-beta.54
633
+
634
+ ### Patch Changes
635
+
636
+ - 40d5419: feat(openai): add `o3-deep-research` and `o4-mini-deep-research` models
637
+
638
+ ## 3.0.0-beta.53
639
+
640
+ ### Patch Changes
641
+
642
+ - dae2185: fix(openai): extract meta data from first chunk that contains any
643
+
644
+ ## 3.0.0-beta.52
645
+
646
+ ### Patch Changes
647
+
648
+ - 348fd10: fix(openai): treat unknown models as reasoning
649
+
650
+ ## 3.0.0-beta.51
651
+
652
+ ### Patch Changes
653
+
654
+ - b82987c: feat(openai): support openai code-interpreter annotations
655
+
656
+ ## 3.0.0-beta.50
657
+
658
+ ### Patch Changes
659
+
660
+ - Updated dependencies [bb36798]
661
+ - @ai-sdk/provider@3.0.0-beta.15
662
+ - @ai-sdk/provider-utils@4.0.0-beta.31
663
+
664
+ ## 3.0.0-beta.49
665
+
666
+ ### Patch Changes
667
+
668
+ - 0273b74: fix(openai): add support for sources type 'api'
669
+
670
+ ## 3.0.0-beta.48
671
+
672
+ ### Patch Changes
673
+
674
+ - 60f4775: fix: remove code for unsuported o1-mini and o1-preview models
675
+
676
+ ## 3.0.0-beta.47
677
+
678
+ ### Patch Changes
679
+
680
+ - Updated dependencies [4f16c37]
681
+ - @ai-sdk/provider-utils@4.0.0-beta.30
682
+
683
+ ## 3.0.0-beta.46
684
+
685
+ ### Patch Changes
686
+
687
+ - Updated dependencies [af3780b]
688
+ - @ai-sdk/provider@3.0.0-beta.14
689
+ - @ai-sdk/provider-utils@4.0.0-beta.29
690
+
691
+ ## 3.0.0-beta.45
692
+
693
+ ### Patch Changes
694
+
695
+ - fd47df5: fix(openai): revised_prompt sometimes returns null, causing errors
696
+
697
+ ## 3.0.0-beta.44
698
+
699
+ ### Patch Changes
700
+
701
+ - Updated dependencies [016b111]
702
+ - @ai-sdk/provider-utils@4.0.0-beta.28
703
+
704
+ ## 3.0.0-beta.43
705
+
706
+ ### Patch Changes
707
+
708
+ - Updated dependencies [37c58a0]
709
+ - @ai-sdk/provider@3.0.0-beta.13
710
+ - @ai-sdk/provider-utils@4.0.0-beta.27
711
+
712
+ ## 3.0.0-beta.42
713
+
714
+ ### Patch Changes
715
+
716
+ - Updated dependencies [d1bdadb]
717
+ - @ai-sdk/provider@3.0.0-beta.12
718
+ - @ai-sdk/provider-utils@4.0.0-beta.26
719
+
720
+ ## 3.0.0-beta.41
721
+
722
+ ### Patch Changes
723
+
724
+ - Updated dependencies [4c44a5b]
725
+ - @ai-sdk/provider@3.0.0-beta.11
726
+ - @ai-sdk/provider-utils@4.0.0-beta.25
727
+
728
+ ## 3.0.0-beta.40
729
+
730
+ ### Patch Changes
731
+
732
+ - 1b982e6: feat(openai): preserve file_id when converting file citations
733
+
734
+ ## 3.0.0-beta.39
735
+
736
+ ### Patch Changes
737
+
738
+ - 0c3b58b: fix(provider): add specificationVersion to ProviderV3
739
+ - Updated dependencies [0c3b58b]
740
+ - @ai-sdk/provider@3.0.0-beta.10
741
+ - @ai-sdk/provider-utils@4.0.0-beta.24
742
+
743
+ ## 3.0.0-beta.38
744
+
745
+ ### Patch Changes
746
+
747
+ - Updated dependencies [a755db5]
748
+ - @ai-sdk/provider@3.0.0-beta.9
749
+ - @ai-sdk/provider-utils@4.0.0-beta.23
750
+
751
+ ## 3.0.0-beta.37
752
+
753
+ ### Patch Changes
754
+
755
+ - e85fa2f: feat(openai): add sources in web-search actions
756
+
757
+ ## 3.0.0-beta.36
758
+
759
+ ### Patch Changes
760
+
761
+ - Updated dependencies [58920e0]
762
+ - @ai-sdk/provider-utils@4.0.0-beta.22
763
+
764
+ ## 3.0.0-beta.35
765
+
766
+ ### Patch Changes
767
+
768
+ - Updated dependencies [293a6b7]
769
+ - @ai-sdk/provider-utils@4.0.0-beta.21
770
+
771
+ ## 3.0.0-beta.34
772
+
773
+ ### Patch Changes
774
+
775
+ - Updated dependencies [fca786b]
776
+ - @ai-sdk/provider-utils@4.0.0-beta.20
777
+
778
+ ## 3.0.0-beta.33
779
+
780
+ ### Patch Changes
781
+
782
+ - 7756857: fix(provider/openai): add truncation parameter support for Responses API
783
+
784
+ ## 3.0.0-beta.32
785
+
786
+ ### Patch Changes
787
+
788
+ - 3794514: feat: flexible tool output content support
789
+ - Updated dependencies [3794514]
790
+ - @ai-sdk/provider-utils@4.0.0-beta.19
791
+ - @ai-sdk/provider@3.0.0-beta.8
792
+
793
+ ## 3.0.0-beta.31
794
+
795
+ ### Patch Changes
796
+
797
+ - Updated dependencies [81d4308]
798
+ - @ai-sdk/provider@3.0.0-beta.7
799
+ - @ai-sdk/provider-utils@4.0.0-beta.18
800
+
801
+ ## 3.0.0-beta.30
802
+
803
+ ### Patch Changes
804
+
805
+ - Updated dependencies [703459a]
806
+ - @ai-sdk/provider-utils@4.0.0-beta.17
807
+
808
+ ## 3.0.0-beta.29
809
+
810
+ ### Patch Changes
811
+
812
+ - 0b9fdd5: fix(provider/openai): end reasoning parts earlier
813
+
814
+ ## 3.0.0-beta.28
815
+
816
+ ### Patch Changes
817
+
818
+ - 401f561: fix(provider/openai): fix web search tool input types
819
+
820
+ ## 3.0.0-beta.27
821
+
822
+ ### Patch Changes
823
+
824
+ - f1277fe: feat(provider/openai): send assistant text and tool call parts as reference ids when store: true
825
+
826
+ ## 3.0.0-beta.26
827
+
828
+ ### Patch Changes
829
+
830
+ - edc5548: feat(provider/openai): automatically add reasoning.encrypted_content include when store = false
831
+
832
+ ## 3.0.0-beta.25
833
+
834
+ ### Patch Changes
835
+
836
+ - Updated dependencies [6306603]
837
+ - @ai-sdk/provider-utils@4.0.0-beta.16
838
+
839
+ ## 3.0.0-beta.24
840
+
841
+ ### Patch Changes
842
+
843
+ - Updated dependencies [f0b2157]
844
+ - @ai-sdk/provider-utils@4.0.0-beta.15
845
+
846
+ ## 3.0.0-beta.23
847
+
848
+ ### Patch Changes
849
+
850
+ - Updated dependencies [3b1d015]
851
+ - @ai-sdk/provider-utils@4.0.0-beta.14
852
+
853
+ ## 3.0.0-beta.22
854
+
855
+ ### Patch Changes
856
+
857
+ - Updated dependencies [d116b4b]
858
+ - @ai-sdk/provider-utils@4.0.0-beta.13
859
+
860
+ ## 3.0.0-beta.21
861
+
862
+ ### Patch Changes
863
+
864
+ - Updated dependencies [7e32fea]
865
+ - @ai-sdk/provider-utils@4.0.0-beta.12
866
+
867
+ ## 3.0.0-beta.20
868
+
869
+ ### Patch Changes
870
+
871
+ - 68c6187: feat(provider/openai): support file and image tool results
872
+
873
+ ## 3.0.0-beta.19
874
+
875
+ ### Patch Changes
876
+
877
+ - 484aa93: Add 'default' as service tier
878
+
879
+ ## 3.0.0-beta.18
880
+
881
+ ### Patch Changes
882
+
883
+ - 95f65c2: chore: use import \* from zod/v4
884
+ - 95f65c2: chore: load zod schemas lazily
885
+ - Updated dependencies
886
+ - @ai-sdk/provider-utils@4.0.0-beta.11
887
+
888
+ ## 3.0.0-beta.17
889
+
890
+ ### Major Changes
891
+
892
+ - dee8b05: ai SDK 6 beta
893
+
894
+ ### Patch Changes
895
+
896
+ - Updated dependencies [dee8b05]
897
+ - @ai-sdk/provider@3.0.0-beta.6
898
+ - @ai-sdk/provider-utils@4.0.0-beta.10
899
+
900
+ ## 2.1.0-beta.16
901
+
902
+ ### Patch Changes
903
+
904
+ - Updated dependencies [521c537]
905
+ - @ai-sdk/provider-utils@3.1.0-beta.9
906
+
907
+ ## 2.1.0-beta.15
908
+
909
+ ### Patch Changes
910
+
911
+ - Updated dependencies [e06565c]
912
+ - @ai-sdk/provider-utils@3.1.0-beta.8
913
+
914
+ ## 2.1.0-beta.14
915
+
916
+ ### Patch Changes
917
+
918
+ - 000e87b: fix(provider/openai): add providerExecuted flag to tool start chunks
919
+
920
+ ## 2.1.0-beta.13
921
+
922
+ ### Patch Changes
923
+
924
+ - 357cfd7: feat(provider/openai): add new model IDs `gpt-image-1-mini`, `gpt-5-pro`, `gpt-5-pro-2025-10-06`
925
+
926
+ ## 2.1.0-beta.12
927
+
928
+ ### Patch Changes
929
+
930
+ - 046aa3b: feat(provider): speech model v3 spec
931
+ - e8109d3: feat: tool execution approval
932
+ - 21e20c0: feat(provider): transcription model v3 spec
933
+ - Updated dependencies
934
+ - @ai-sdk/provider@2.1.0-beta.5
935
+ - @ai-sdk/provider-utils@3.1.0-beta.7
936
+
937
+ ## 2.1.0-beta.11
938
+
939
+ ### Patch Changes
940
+
941
+ - 0adc679: feat(provider): shared spec v3
942
+ - 2b0caef: feat(provider/openai): preview image generation results
943
+ - Updated dependencies
944
+ - @ai-sdk/provider-utils@3.1.0-beta.6
945
+ - @ai-sdk/provider@2.1.0-beta.4
946
+
947
+ ## 2.1.0-beta.10
948
+
949
+ ### Patch Changes
950
+
951
+ - d64ece9: enables image_generation capabilities in the Azure provider through the Responses API.
952
+
953
+ ## 2.1.0-beta.9
954
+
955
+ ### Patch Changes
956
+
957
+ - 9a51b92: support OPENAI_BASE_URL env
958
+
959
+ ## 2.1.0-beta.8
960
+
961
+ ### Patch Changes
962
+
963
+ - 4122d2a: feat(provider/openai): add gpt-5-codex model id
964
+ - 3997a42: feat(provider/openai): local shell tool
965
+ - cb4d238: The built in Code Interpreter tool input code is streamed in `tool-input-<start/delta/end>` chunks.
966
+
967
+ ## 2.1.0-beta.7
968
+
969
+ ### Patch Changes
970
+
971
+ - 77f2b20: enables code_interpreter and file_search capabilities in the Azure provider through the Responses API
972
+ - 8dac895: feat: `LanguageModelV3`
973
+ - 10c1322: fix: moved dependency `@ai-sdk/test-server` to devDependencies
974
+ - Updated dependencies [8dac895]
975
+ - @ai-sdk/provider-utils@3.1.0-beta.5
976
+ - @ai-sdk/provider@2.1.0-beta.3
977
+
978
+ ## 2.1.0-beta.6
979
+
980
+ ### Patch Changes
981
+
982
+ - fe49278: feat(provider/openai): only send item references for reasoning when store: true
983
+
984
+ ## 2.1.0-beta.5
985
+
986
+ ### Patch Changes
987
+
988
+ - 4616b86: chore: update zod peer depenedency version
989
+ - Updated dependencies [4616b86]
990
+ - @ai-sdk/provider-utils@3.1.0-beta.4
991
+
992
+ ## 2.1.0-beta.4
993
+
994
+ ### Patch Changes
995
+
996
+ - ed329cb: feat: `Provider-V3`
997
+ - 522f6b8: feat: `ImageModelV3`
998
+ - Updated dependencies
999
+ - @ai-sdk/provider@2.1.0-beta.2
1000
+ - @ai-sdk/provider-utils@3.1.0-beta.3
1001
+
1002
+ ## 2.1.0-beta.3
1003
+
1004
+ ### Patch Changes
1005
+
1006
+ - 2e86082: feat(provider/openai): `OpenAIChatLanguageModelOptions` type
1007
+
1008
+ ```ts
1009
+ import { openai, type OpenAIChatLanguageModelOptions } from '@ai-sdk/openai';
1010
+ import { generateText } from 'ai';
1011
+
1012
+ await generateText({
1013
+ model: openai.chat('gpt-4o'),
1014
+ prompt: 'Invent a new holiday and describe its traditions.',
1015
+ providerOptions: {
1016
+ openai: {
1017
+ user: 'user-123',
1018
+ } satisfies OpenAIChatLanguageModelOptions,
1019
+ },
1020
+ });
1021
+ ```
1022
+
1023
+ ## 2.1.0-beta.2
1024
+
1025
+ ### Patch Changes
1026
+
1027
+ - 4920119: fix the "incomplete_details" key from nullable to nullish for openai compatibility
1028
+ - 0c4822d: feat: `EmbeddingModelV3`
1029
+ - 1cad0ab: feat: add provider version to user-agent header
1030
+ - Updated dependencies [0c4822d]
1031
+ - @ai-sdk/provider@2.1.0-beta.1
1032
+ - @ai-sdk/provider-utils@3.1.0-beta.2
1033
+
1034
+ ## 2.1.0-beta.1
1035
+
1036
+ ### Patch Changes
1037
+
1038
+ - Updated dependencies
1039
+ - @ai-sdk/test-server@1.0.0-beta.0
1040
+ - @ai-sdk/provider-utils@3.1.0-beta.1
1041
+
1042
+ ## 2.1.0-beta.0
1043
+
1044
+ ### Minor Changes
1045
+
1046
+ - 78928cb: release: start 5.1 beta
1047
+
1048
+ ### Patch Changes
1049
+
1050
+ - Updated dependencies [78928cb]
1051
+ - @ai-sdk/provider@2.1.0-beta.0
1052
+ - @ai-sdk/provider-utils@3.1.0-beta.0
1053
+
1054
+ ## 2.0.32
1055
+
1056
+ ### Patch Changes
1057
+
1058
+ - 1cf857d: fix(provider/openai): remove provider-executed tools from chat completions model
1059
+ - 01de47f: feat(provider/openai): rework file search tool
1060
+
1061
+ ## 2.0.31
1062
+
1063
+ ### Patch Changes
1064
+
1065
+ - bb94467: feat(provider/openai): add maxToolCalls provider option
1066
+ - 4a2b70e: feat(provider/openai): send item references for provider-executed tool results
1067
+ - 643711d: feat (provider/openai): provider defined image generation tool support
1068
+
1069
+ ## 2.0.30
1070
+
1071
+ ### Patch Changes
1072
+
1073
+ - Updated dependencies [0294b58]
1074
+ - @ai-sdk/provider-utils@3.0.9
1075
+
1076
+ ## 2.0.29
1077
+
1078
+ ### Patch Changes
1079
+
1080
+ - 4235eb3: feat(provider/openai): code interpreter tool calls and results
1081
+
1082
+ ## 2.0.28
1083
+
1084
+ ### Patch Changes
1085
+
1086
+ - 4c2bb77: fix (provider/openai): send sources action as include
1087
+ - 561e8b0: fix (provider/openai): fix code interpreter tool in doGenerate
1088
+
1089
+ ## 2.0.27
1090
+
1091
+ ### Patch Changes
1092
+
1093
+ - 2338c79: feat (provider/openai): add jsdoc for openai tools
1094
+
1095
+ ## 2.0.26
1096
+
1097
+ ### Patch Changes
1098
+
1099
+ - 5819aec: fix (provider/openai): only send tool calls finish reason for tools that are not provider-executed
1100
+ - af8c6bb: feat (provider/openai): add web_search tool
1101
+
1102
+ ## 2.0.25
1103
+
1104
+ ### Patch Changes
1105
+
1106
+ - fb45ade: fix timestamp granularities support for openai transcription
1107
+
1108
+ ## 2.0.24
1109
+
1110
+ ### Patch Changes
1111
+
1112
+ - ad57512: fix(provider/openai): safe practice to include filename and fileExtension to avoid `experimental_transcribe` fails with valid Buffer
1113
+ - Updated dependencies [99964ed]
1114
+ - @ai-sdk/provider-utils@3.0.8
1115
+
1116
+ ## 2.0.23
1117
+
1118
+ ### Patch Changes
1119
+
1120
+ - a9a61b7: Add serviceTier to provider metadata for OpenAI responses
1121
+
1122
+ ## 2.0.22
1123
+
1124
+ ### Patch Changes
1125
+
1126
+ - 0e272ae: fix(provider/openai): make file_citation annotation fields optional for responses api compatibility
1127
+ - Updated dependencies [886e7cd]
1128
+ - @ai-sdk/provider-utils@3.0.7
1129
+
1130
+ ## 2.0.21
1131
+
1132
+ ### Patch Changes
1133
+
1134
+ - d18856a: fix(provider/openai): support websearch tool results without query property
1135
+ - 15271d6: fix(provider/openai): do not set `response_format` to `verbose_json` if model is `gpt-4o-transcribe` or `gpt-4o-mini-transcribe`
1136
+
1137
+ These two models do not support it:
1138
+ https://platform.openai.com/docs/api-reference/audio/createTranscription#audio_createtranscription-response_format
1139
+
1140
+ - Updated dependencies [1b5a3d3]
1141
+ - @ai-sdk/provider-utils@3.0.6
1142
+
1143
+ ## 2.0.20
1144
+
1145
+ ### Patch Changes
1146
+
1147
+ - 974de40: fix(provider/ai): do not set `.providerMetadata.openai.logprobs` to an array of empty arrays when using `streamText()`
1148
+
1149
+ ## 2.0.19
1150
+
1151
+ ### Patch Changes
1152
+
1153
+ - Updated dependencies [0857788]
1154
+ - @ai-sdk/provider-utils@3.0.5
1155
+
1156
+ ## 2.0.18
1157
+
1158
+ ### Patch Changes
1159
+
1160
+ - 5e47d00: Support Responses API input_file file_url passthrough for PDFs.
1161
+
1162
+ This adds:
1163
+
1164
+ - file_url variant to OpenAIResponses user content
1165
+ - PDF URL mapping to input_file with file_url in Responses converter
1166
+ - PDF URL support in supportedUrls to avoid auto-download
1167
+
1168
+ ## 2.0.17
1169
+
1170
+ ### Patch Changes
1171
+
1172
+ - 70bb696: fix(provider/openai): correct web search tool input
1173
+
1174
+ ## 2.0.16
1175
+
1176
+ ### Patch Changes
1177
+
1178
+ - Updated dependencies [68751f9]
1179
+ - @ai-sdk/provider-utils@3.0.4
1180
+
1181
+ ## 2.0.15
1182
+
1183
+ ### Patch Changes
1184
+
1185
+ - a4bef93: feat(provider/openai): expose web search queries in responses api
1186
+ - 6ed34cb: refactor(openai): consolidate model config into `getResponsesModelConfig()`
1187
+
1188
+ https://github.com/vercel/ai/pull/8038
1189
+
1190
+ ## 2.0.14
1191
+
1192
+ ### Patch Changes
1193
+
1194
+ - 7f47105: fix(provider/openai): support file_citation annotations in responses api
1195
+
1196
+ ## 2.0.13
1197
+
1198
+ ### Patch Changes
1199
+
1200
+ - ddc9d99: Implements `logprobs` for OpenAI `providerOptions` and `providerMetaData` in `OpenAIResponsesLanguageModel`
1201
+
1202
+ You can now set `providerOptions.openai.logprobs` when using `generateText()` and retrieve logprobs from the response via `result.providerMetadata?.openai`
1203
+
1204
+ ## 2.0.12
1205
+
1206
+ ### Patch Changes
1207
+
1208
+ - ec336a1: feat(provider/openai): add response_format to be supported by default
1209
+ - 2935ec7: fix(provider/openai): exclude gpt-5-chat from reasoning model
1210
+ - Updated dependencies
1211
+ - @ai-sdk/provider-utils@3.0.3
1212
+
1213
+ ## 2.0.11
1214
+
1215
+ ### Patch Changes
1216
+
1217
+ - 097b452: feat(openai, azure): add configurable file ID prefixes for Responses API
1218
+
1219
+ - Added `fileIdPrefixes` option to OpenAI Responses API configuration
1220
+ - Azure OpenAI now supports `assistant-` prefixed file IDs (replacing previous `file-` prefix support)
1221
+ - OpenAI maintains backward compatibility with default `file-` prefix
1222
+ - File ID detection is disabled when `fileIdPrefixes` is undefined, gracefully falling back to base64 processing
1223
+
1224
+ - 87cf954: feat(provider/openai): add support for prompt_cache_key
1225
+ - a3d98a9: feat(provider/openai): add support for safety_identifier
1226
+ - 110d167: fix(openai): add missing file_search_call handlers in responses streaming
1227
+ - 8d3c747: chore(openai): remove deprecated GPT-4.5-preview models and improve autocomplete control
1228
+ - Updated dependencies [38ac190]
1229
+ - @ai-sdk/provider-utils@3.0.2
1230
+
1231
+ ## 2.0.10
1232
+
1233
+ ### Patch Changes
1234
+
1235
+ - a274b01: refactor(provider/openai): restructure files
1236
+ - b48e0ff: feat(provider/openai): add code interpreter tool (responses api)
1237
+
1238
+ ## 2.0.9
1239
+
1240
+ ### Patch Changes
1241
+
1242
+ - 8f8a521: fix(providers): use convertToBase64 for Uint8Array image parts to produce valid data URLs; keep mediaType normalization and URL passthrough
1243
+
1244
+ ## 2.0.8
1245
+
1246
+ ### Patch Changes
1247
+
1248
+ - 57fb959: feat(openai): add verbosity parameter support for chat api
1249
+ - 2a3fbe6: allow `minimal` in `reasoningEffort` for openai chat
1250
+
1251
+ ## 2.0.7
4
1252
 
5
1253
  ### Patch Changes
6
1254
 
@@ -167,108 +1415,7 @@
167
1415
  - f10304b: feat(tool-calling): don't require the user to have to pass parameters
168
1416
  - 4af5233: Fix PDF file parts when passed as a string url or Uint8Array
169
1417
  - 7df7a25: feat (providers/openai): support gpt-image-1 image generation
170
- - Updated dependencies [a571d6e]
171
- - Updated dependencies [742b7be]
172
- - Updated dependencies [e7fcc86]
173
- - Updated dependencies [7cddb72]
174
- - Updated dependencies [ccce59b]
175
- - Updated dependencies [e2b9e4b]
176
- - Updated dependencies [95857aa]
177
- - Updated dependencies [45c1ea2]
178
- - Updated dependencies [6f6bb89]
179
- - Updated dependencies [060370c]
180
- - Updated dependencies [dc714f3]
181
- - Updated dependencies [b5da06a]
182
- - Updated dependencies [d1a1aa1]
183
- - Updated dependencies [63f9e9b]
184
- - Updated dependencies [5d142ab]
185
- - Updated dependencies [d5f588f]
186
- - Updated dependencies [e025824]
187
- - Updated dependencies [0571b98]
188
- - Updated dependencies [b6b43c7]
189
- - Updated dependencies [4fef487]
190
- - Updated dependencies [48d257a]
191
- - Updated dependencies [0c0c0b3]
192
- - Updated dependencies [0d2c085]
193
- - Updated dependencies [40acf9b]
194
- - Updated dependencies [9222aeb]
195
- - Updated dependencies [e2aceaf]
196
- - Updated dependencies [411e483]
197
- - Updated dependencies [8ba77a7]
198
- - Updated dependencies [7b3ae3f]
199
- - Updated dependencies [a166433]
200
- - Updated dependencies [26735b5]
201
- - Updated dependencies [443d8ec]
202
- - Updated dependencies [a8c8bd5]
203
- - Updated dependencies [abf9a79]
204
- - Updated dependencies [14c9410]
205
- - Updated dependencies [e86be6f]
206
- - Updated dependencies [9bf7291]
207
- - Updated dependencies [2e13791]
208
- - Updated dependencies [9f95b35]
209
- - Updated dependencies [66962ed]
210
- - Updated dependencies [0d06df6]
211
- - Updated dependencies [472524a]
212
- - Updated dependencies [dd3ff01]
213
- - Updated dependencies [d9c98f4]
214
- - Updated dependencies [05d2819]
215
- - Updated dependencies [9301f86]
216
- - Updated dependencies [0a87932]
217
- - Updated dependencies [c4a2fec]
218
- - Updated dependencies [957b739]
219
- - Updated dependencies [79457bd]
220
- - Updated dependencies [a3f768e]
221
- - Updated dependencies [7435eb5]
222
- - Updated dependencies [8aa9e20]
223
- - Updated dependencies [4617fab]
224
- - Updated dependencies [ac34802]
225
- - Updated dependencies [0054544]
226
- - Updated dependencies [cb68df0]
227
- - Updated dependencies [ad80501]
228
- - Updated dependencies [68ecf2f]
229
- - Updated dependencies [9e9c809]
230
- - Updated dependencies [32831c6]
231
- - Updated dependencies [6dc848c]
232
- - Updated dependencies [6b98118]
233
- - Updated dependencies [d0f9495]
234
- - Updated dependencies [63d791d]
235
- - Updated dependencies [87b828f]
236
- - Updated dependencies [3f2f00c]
237
- - Updated dependencies [bfdca8d]
238
- - Updated dependencies [0ff02bb]
239
- - Updated dependencies [7979f7f]
240
- - Updated dependencies [39a4fab]
241
- - Updated dependencies [44f4aba]
242
- - Updated dependencies [9bd5ab5]
243
- - Updated dependencies [57edfcb]
244
- - Updated dependencies [faf8446]
245
- - Updated dependencies [7ea4132]
246
- - Updated dependencies [d1a034f]
247
- - Updated dependencies [5c56081]
248
- - Updated dependencies [fd65bc6]
249
- - Updated dependencies [023ba40]
250
- - Updated dependencies [ea7a7c9]
251
- - Updated dependencies [26535e0]
252
- - Updated dependencies [e030615]
253
- - Updated dependencies [5e57fae]
254
- - Updated dependencies [393138b]
255
- - Updated dependencies [c57e248]
256
- - Updated dependencies [88a8ee5]
257
- - Updated dependencies [41fa418]
258
- - Updated dependencies [205077b]
259
- - Updated dependencies [71f938d]
260
- - Updated dependencies [3795467]
261
- - Updated dependencies [28a5ed5]
262
- - Updated dependencies [7182d14]
263
- - Updated dependencies [c1e6647]
264
- - Updated dependencies [1766ede]
265
- - Updated dependencies [811dff3]
266
- - Updated dependencies [f10304b]
267
- - Updated dependencies [dd5fd43]
268
- - Updated dependencies [33f4a6a]
269
- - Updated dependencies [383cbfa]
270
- - Updated dependencies [27deb4d]
271
- - Updated dependencies [c4df419]
1418
+ - Updated dependencies
272
1419
  - @ai-sdk/provider-utils@3.0.0
273
1420
  - @ai-sdk/provider@2.0.0
274
1421
 
@@ -317,8 +1464,7 @@
317
1464
 
318
1465
  ### Patch Changes
319
1466
 
320
- - Updated dependencies [57edfcb]
321
- - Updated dependencies [383cbfa]
1467
+ - Updated dependencies
322
1468
  - @ai-sdk/provider-utils@3.0.0-beta.5
323
1469
 
324
1470
  ## 2.0.0-beta.10
@@ -383,9 +1529,7 @@
383
1529
  ### Patch Changes
384
1530
 
385
1531
  - d1a034f: feature: using Zod 4 for internal stuff
386
- - Updated dependencies [0571b98]
387
- - Updated dependencies [39a4fab]
388
- - Updated dependencies [d1a034f]
1532
+ - Updated dependencies
389
1533
  - @ai-sdk/provider-utils@3.0.0-beta.2
390
1534
 
391
1535
  ## 2.0.0-beta.1
@@ -397,23 +1541,7 @@
397
1541
  ### Patch Changes
398
1542
 
399
1543
  - 5d959e7: refactor: updated openai + anthropic tool use server side
400
- - Updated dependencies [742b7be]
401
- - Updated dependencies [7cddb72]
402
- - Updated dependencies [ccce59b]
403
- - Updated dependencies [e2b9e4b]
404
- - Updated dependencies [45c1ea2]
405
- - Updated dependencies [e025824]
406
- - Updated dependencies [0d06df6]
407
- - Updated dependencies [472524a]
408
- - Updated dependencies [dd3ff01]
409
- - Updated dependencies [7435eb5]
410
- - Updated dependencies [cb68df0]
411
- - Updated dependencies [bfdca8d]
412
- - Updated dependencies [44f4aba]
413
- - Updated dependencies [023ba40]
414
- - Updated dependencies [5e57fae]
415
- - Updated dependencies [71f938d]
416
- - Updated dependencies [28a5ed5]
1544
+ - Updated dependencies
417
1545
  - @ai-sdk/provider@2.0.0-beta.1
418
1546
  - @ai-sdk/provider-utils@3.0.0-beta.1
419
1547
 
@@ -421,8 +1549,7 @@
421
1549
 
422
1550
  ### Patch Changes
423
1551
 
424
- - Updated dependencies [48d257a]
425
- - Updated dependencies [8ba77a7]
1552
+ - Updated dependencies
426
1553
  - @ai-sdk/provider@2.0.0-alpha.15
427
1554
  - @ai-sdk/provider-utils@3.0.0-alpha.15
428
1555
 
@@ -430,9 +1557,7 @@
430
1557
 
431
1558
  ### Patch Changes
432
1559
 
433
- - Updated dependencies [b5da06a]
434
- - Updated dependencies [63f9e9b]
435
- - Updated dependencies [2e13791]
1560
+ - Updated dependencies
436
1561
  - @ai-sdk/provider@2.0.0-alpha.14
437
1562
  - @ai-sdk/provider-utils@3.0.0-alpha.14
438
1563
 
@@ -484,8 +1609,7 @@
484
1609
  ### Patch Changes
485
1610
 
486
1611
  - 4af5233: Fix PDF file parts when passed as a string url or Uint8Array
487
- - Updated dependencies [4fef487]
488
- - Updated dependencies [9222aeb]
1612
+ - Updated dependencies
489
1613
  - @ai-sdk/provider-utils@3.0.0-alpha.8
490
1614
  - @ai-sdk/provider@2.0.0-alpha.8
491
1615
 
@@ -607,10 +1731,7 @@
607
1731
 
608
1732
  - 928fadf: fix(providers/openai): logprobs for stream alongside completion model
609
1733
  - 6f231db: fix(providers): always use optional instead of mix of nullish for providerOptions
610
- - Updated dependencies [a571d6e]
611
- - Updated dependencies [a8c8bd5]
612
- - Updated dependencies [7979f7f]
613
- - Updated dependencies [41fa418]
1734
+ - Updated dependencies
614
1735
  - @ai-sdk/provider-utils@3.0.0-canary.15
615
1736
  - @ai-sdk/provider@2.0.0-canary.14
616
1737
 
@@ -640,8 +1761,7 @@
640
1761
  ```
641
1762
 
642
1763
  - 284353f: fix(providers/openai): zod parse error with function
643
- - Updated dependencies [957b739]
644
- - Updated dependencies [9bd5ab5]
1764
+ - Updated dependencies
645
1765
  - @ai-sdk/provider-utils@3.0.0-canary.14
646
1766
  - @ai-sdk/provider@2.0.0-canary.13
647
1767
 
@@ -650,8 +1770,7 @@
650
1770
  ### Patch Changes
651
1771
 
652
1772
  - fa758ea: feat(provider/openai): add o3 & o4-mini with developer systemMessageMode
653
- - Updated dependencies [7b3ae3f]
654
- - Updated dependencies [0ff02bb]
1773
+ - Updated dependencies
655
1774
  - @ai-sdk/provider@2.0.0-canary.12
656
1775
  - @ai-sdk/provider-utils@3.0.0-canary.13
657
1776
 
@@ -663,9 +1782,7 @@
663
1782
  - c15dfbf: feat (providers/openai): add gpt-image-1 model id to image settings
664
1783
  - 9bf7291: chore(providers/openai): enable structuredOutputs by default & switch to provider option
665
1784
  - 4617fab: chore(embedding-models): remove remaining settings
666
- - Updated dependencies [9bf7291]
667
- - Updated dependencies [4617fab]
668
- - Updated dependencies [e030615]
1785
+ - Updated dependencies
669
1786
  - @ai-sdk/provider@2.0.0-canary.11
670
1787
  - @ai-sdk/provider-utils@3.0.0-canary.12
671
1788
 
@@ -677,9 +1794,7 @@
677
1794
  - 66962ed: fix(packages): export node10 compatible types
678
1795
  - 9301f86: refactor (image-model): rename `ImageModelV1` to `ImageModelV2`
679
1796
  - 7df7a25: feat (providers/openai): support gpt-image-1 image generation
680
- - Updated dependencies [66962ed]
681
- - Updated dependencies [9301f86]
682
- - Updated dependencies [a3f768e]
1797
+ - Updated dependencies
683
1798
  - @ai-sdk/provider-utils@3.0.0-canary.11
684
1799
  - @ai-sdk/provider@2.0.0-canary.10
685
1800
 
@@ -697,8 +1812,7 @@
697
1812
  ### Patch Changes
698
1813
 
699
1814
  - 3bd3c0b: chore(providers/openai): update embedding model to use providerOptions
700
- - Updated dependencies [95857aa]
701
- - Updated dependencies [7ea4132]
1815
+ - Updated dependencies
702
1816
  - @ai-sdk/provider@2.0.0-canary.8
703
1817
  - @ai-sdk/provider-utils@3.0.0-canary.9
704
1818
 
@@ -716,10 +1830,7 @@
716
1830
  ### Patch Changes
717
1831
 
718
1832
  - 8aa9e20: feat: add speech with experimental_generateSpeech
719
- - Updated dependencies [5d142ab]
720
- - Updated dependencies [b6b43c7]
721
- - Updated dependencies [8aa9e20]
722
- - Updated dependencies [3795467]
1833
+ - Updated dependencies
723
1834
  - @ai-sdk/provider-utils@3.0.0-canary.8
724
1835
  - @ai-sdk/provider@2.0.0-canary.7
725
1836
 
@@ -730,18 +1841,7 @@
730
1841
  - 26735b5: chore(embedding-model): add v2 interface
731
1842
  - 443d8ec: feat(embedding-model-v2): add response body field
732
1843
  - fd65bc6: chore(embedding-model-v2): rename rawResponse to response
733
- - Updated dependencies [26735b5]
734
- - Updated dependencies [443d8ec]
735
- - Updated dependencies [14c9410]
736
- - Updated dependencies [d9c98f4]
737
- - Updated dependencies [c4a2fec]
738
- - Updated dependencies [0054544]
739
- - Updated dependencies [9e9c809]
740
- - Updated dependencies [32831c6]
741
- - Updated dependencies [d0f9495]
742
- - Updated dependencies [fd65bc6]
743
- - Updated dependencies [393138b]
744
- - Updated dependencies [7182d14]
1844
+ - Updated dependencies
745
1845
  - @ai-sdk/provider@2.0.0-canary.6
746
1846
  - @ai-sdk/provider-utils@3.0.0-canary.7
747
1847
 
@@ -755,11 +1855,7 @@
755
1855
  - 5147e6e: chore(openai): remove simulateStreaming
756
1856
  - c2b92cc: chore(openai): remove legacy function calling
757
1857
  - f10304b: feat(tool-calling): don't require the user to have to pass parameters
758
- - Updated dependencies [411e483]
759
- - Updated dependencies [79457bd]
760
- - Updated dependencies [ad80501]
761
- - Updated dependencies [1766ede]
762
- - Updated dependencies [f10304b]
1858
+ - Updated dependencies
763
1859
  - @ai-sdk/provider@2.0.0-canary.5
764
1860
  - @ai-sdk/provider-utils@3.0.0-canary.6
765
1861
 
@@ -786,11 +1882,7 @@
786
1882
  - a166433: feat: add transcription with experimental_transcribe
787
1883
  - 0a87932: core (ai): change transcription model mimeType to mediaType
788
1884
  - 0a87932: fix (provider/openai): increase transcription model resilience
789
- - Updated dependencies [a166433]
790
- - Updated dependencies [abf9a79]
791
- - Updated dependencies [9f95b35]
792
- - Updated dependencies [0a87932]
793
- - Updated dependencies [6dc848c]
1885
+ - Updated dependencies
794
1886
  - @ai-sdk/provider-utils@3.0.0-canary.3
795
1887
  - @ai-sdk/provider@2.0.0-canary.2
796
1888
 
@@ -798,8 +1890,7 @@
798
1890
 
799
1891
  ### Patch Changes
800
1892
 
801
- - Updated dependencies [c57e248]
802
- - Updated dependencies [33f4a6a]
1893
+ - Updated dependencies
803
1894
  - @ai-sdk/provider@2.0.0-canary.1
804
1895
  - @ai-sdk/provider-utils@3.0.0-canary.2
805
1896
 
@@ -807,9 +1898,7 @@
807
1898
 
808
1899
  ### Patch Changes
809
1900
 
810
- - Updated dependencies [060370c]
811
- - Updated dependencies [0c0c0b3]
812
- - Updated dependencies [63d791d]
1901
+ - Updated dependencies
813
1902
  - @ai-sdk/provider-utils@3.0.0-canary.1
814
1903
 
815
1904
  ## 2.0.0-canary.0
@@ -1035,8 +2124,7 @@
1035
2124
  ### Patch Changes
1036
2125
 
1037
2126
  - 3a58a2e: feat (ai/core): throw NoImageGeneratedError from generateImage when no predictions are returned.
1038
- - Updated dependencies [ed012d2]
1039
- - Updated dependencies [3a58a2e]
2127
+ - Updated dependencies
1040
2128
  - @ai-sdk/provider-utils@2.1.2
1041
2129
  - @ai-sdk/provider@1.0.6
1042
2130
 
@@ -1045,8 +2133,7 @@
1045
2133
  ### Patch Changes
1046
2134
 
1047
2135
  - e7a9ec9: feat (provider-utils): include raw value in json parse results
1048
- - Updated dependencies [e7a9ec9]
1049
- - Updated dependencies [0a699f1]
2136
+ - Updated dependencies
1050
2137
  - @ai-sdk/provider-utils@2.1.1
1051
2138
  - @ai-sdk/provider@1.0.5
1052
2139
 
@@ -1091,9 +2178,7 @@
1091
2178
 
1092
2179
  ### Patch Changes
1093
2180
 
1094
- - Updated dependencies [90fb95a]
1095
- - Updated dependencies [e6dfef4]
1096
- - Updated dependencies [6636db6]
2181
+ - Updated dependencies
1097
2182
  - @ai-sdk/provider-utils@2.0.7
1098
2183
 
1099
2184
  ## 1.0.15
@@ -1110,9 +2195,7 @@
1110
2195
 
1111
2196
  - 19a2ce7: feat (ai/core): add aspectRatio and seed options to generateImage
1112
2197
  - 6337688: feat: change image generation errors to warnings
1113
- - Updated dependencies [19a2ce7]
1114
- - Updated dependencies [19a2ce7]
1115
- - Updated dependencies [6337688]
2198
+ - Updated dependencies
1116
2199
  - @ai-sdk/provider@1.0.4
1117
2200
  - @ai-sdk/provider-utils@2.0.6
1118
2201
 
@@ -1216,13 +2299,7 @@
1216
2299
 
1217
2300
  ### Patch Changes
1218
2301
 
1219
- - Updated dependencies [b469a7e]
1220
- - Updated dependencies [dce4158]
1221
- - Updated dependencies [c0ddc24]
1222
- - Updated dependencies [b1da952]
1223
- - Updated dependencies [dce4158]
1224
- - Updated dependencies [8426f55]
1225
- - Updated dependencies [db46ce5]
2302
+ - Updated dependencies
1226
2303
  - @ai-sdk/provider-utils@2.0.0
1227
2304
  - @ai-sdk/provider@1.0.0
1228
2305
 
@@ -1237,8 +2314,7 @@
1237
2314
 
1238
2315
  ### Patch Changes
1239
2316
 
1240
- - Updated dependencies [dce4158]
1241
- - Updated dependencies [dce4158]
2317
+ - Updated dependencies
1242
2318
  - @ai-sdk/provider-utils@2.0.0-canary.2
1243
2319
 
1244
2320
  ## 1.0.0-canary.1
@@ -1261,9 +2337,7 @@
1261
2337
 
1262
2338
  ### Patch Changes
1263
2339
 
1264
- - Updated dependencies [b469a7e]
1265
- - Updated dependencies [c0ddc24]
1266
- - Updated dependencies [db46ce5]
2340
+ - Updated dependencies
1267
2341
  - @ai-sdk/provider-utils@2.0.0-canary.0
1268
2342
  - @ai-sdk/provider@1.0.0-canary.0
1269
2343
 
@@ -1284,11 +2358,7 @@
1284
2358
  ### Patch Changes
1285
2359
 
1286
2360
  - 3b1b69a: feat: provider-defined tools
1287
- - Updated dependencies [aa98cdb]
1288
- - Updated dependencies [1486128]
1289
- - Updated dependencies [7b937c5]
1290
- - Updated dependencies [3b1b69a]
1291
- - Updated dependencies [811a317]
2361
+ - Updated dependencies
1292
2362
  - @ai-sdk/provider-utils@1.0.22
1293
2363
  - @ai-sdk/provider@0.0.26
1294
2364
 
@@ -1381,8 +2451,7 @@
1381
2451
  ### Patch Changes
1382
2452
 
1383
2453
  - 03313cd: feat (ai): expose response id, response model, response timestamp in telemetry and api
1384
- - Updated dependencies [03313cd]
1385
- - Updated dependencies [3be7c1c]
2454
+ - Updated dependencies
1386
2455
  - @ai-sdk/provider-utils@1.0.18
1387
2456
  - @ai-sdk/provider@0.0.23
1388
2457
 
@@ -1465,8 +2534,7 @@
1465
2534
 
1466
2535
  ### Patch Changes
1467
2536
 
1468
- - Updated dependencies [4bd27a9]
1469
- - Updated dependencies [845754b]
2537
+ - Updated dependencies
1470
2538
  - @ai-sdk/provider-utils@1.0.10
1471
2539
  - @ai-sdk/provider@0.0.18
1472
2540
 
@@ -1502,8 +2570,7 @@
1502
2570
  ### Patch Changes
1503
2571
 
1504
2572
  - 7a2eb27: feat (provider/openai): make role nullish to enhance provider support
1505
- - Updated dependencies [9614584]
1506
- - Updated dependencies [0762a22]
2573
+ - Updated dependencies
1507
2574
  - @ai-sdk/provider-utils@1.0.6
1508
2575
 
1509
2576
  ## 0.0.40
@@ -1530,10 +2597,7 @@
1530
2597
  - a5b58845: feat (core): support topK setting
1531
2598
  - 4aa8deb3: feat (provider): support responseFormat setting in provider api
1532
2599
  - 13b27ec6: chore (ai/core): remove grammar mode
1533
- - Updated dependencies [2b9da0f0]
1534
- - Updated dependencies [a5b58845]
1535
- - Updated dependencies [4aa8deb3]
1536
- - Updated dependencies [13b27ec6]
2600
+ - Updated dependencies
1537
2601
  - @ai-sdk/provider@0.0.13
1538
2602
  - @ai-sdk/provider-utils@1.0.3
1539
2603
 
@@ -1564,9 +2628,7 @@
1564
2628
  ### Patch Changes
1565
2629
 
1566
2630
  - 5edc6110: feat (ai/core): add custom request header support
1567
- - Updated dependencies [5edc6110]
1568
- - Updated dependencies [5edc6110]
1569
- - Updated dependencies [5edc6110]
2631
+ - Updated dependencies
1570
2632
  - @ai-sdk/provider@0.0.11
1571
2633
  - @ai-sdk/provider-utils@1.0.0
1572
2634
 
@@ -1594,8 +2656,7 @@
1594
2656
 
1595
2657
  ### Patch Changes
1596
2658
 
1597
- - Updated dependencies [85712895]
1598
- - Updated dependencies [85712895]
2659
+ - Updated dependencies
1599
2660
  - @ai-sdk/provider-utils@0.0.15
1600
2661
 
1601
2662
  ## 0.0.29
@@ -1656,9 +2717,7 @@
1656
2717
  ### Patch Changes
1657
2718
 
1658
2719
  - fca7d026: feat (provider/openai): support streaming tool calls that are sent in one chunk
1659
- - Updated dependencies [09295e2e]
1660
- - Updated dependencies [09295e2e]
1661
- - Updated dependencies [043a5de2]
2720
+ - Updated dependencies
1662
2721
  - @ai-sdk/provider@0.0.9
1663
2722
  - @ai-sdk/provider-utils@0.0.12
1664
2723
 
@@ -1708,8 +2767,7 @@
1708
2767
 
1709
2768
  ### Patch Changes
1710
2769
 
1711
- - Updated dependencies [6a50ac4]
1712
- - Updated dependencies [6a50ac4]
2770
+ - Updated dependencies
1713
2771
  - @ai-sdk/provider@0.0.6
1714
2772
  - @ai-sdk/provider-utils@0.0.9
1715
2773
 
@@ -1772,8 +2830,7 @@
1772
2830
 
1773
2831
  - d6431ae: ai/core: add logprobs support (thanks @SamStenner for the contribution)
1774
2832
  - 25f3350: ai/core: add support for getting raw response headers.
1775
- - Updated dependencies [d6431ae]
1776
- - Updated dependencies [25f3350]
2833
+ - Updated dependencies
1777
2834
  - @ai-sdk/provider@0.0.2
1778
2835
  - @ai-sdk/provider-utils@0.0.3
1779
2836