@ai-sdk/openai 0.0.0-85f9a635-20240518005312 → 0.0.0-fd764a60-20260114143805

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 ADDED
@@ -0,0 +1,2871 @@
1
+ # @ai-sdk/openai
2
+
3
+ ## 0.0.0-fd764a60-20260114143805
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9fbe723]
8
+ - @ai-sdk/provider-utils@0.0.0-fd764a60-20260114143805
9
+ - @ai-sdk/provider@0.0.0-fd764a60-20260114143805
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
1252
+
1253
+ ### Patch Changes
1254
+
1255
+ - 4738f18: feat(openai): add flex processing support for gpt-5 models
1256
+ - 013d747: feat(openai): add verbosity parameter support for responses api
1257
+ - 35feee8: feat(openai): add priority processing support for gpt-5 models
1258
+
1259
+ ## 2.0.6
1260
+
1261
+ ### Patch Changes
1262
+
1263
+ - ad2255f: chore(docs): added gpt 5 models + removed deprecated models
1264
+ - 64bcb66: feat(provider/openai): models ids on chat
1265
+ - 1d42ff2: feat(provider/openai): models ids
1266
+
1267
+ ## 2.0.5
1268
+
1269
+ ### Patch Changes
1270
+
1271
+ - 6753a2e: feat(examples): add gpt-5 model examples and e2e tests
1272
+ - 6cba06a: feat (provider/openai): add reasoning model config
1273
+
1274
+ ## 2.0.4
1275
+
1276
+ ### Patch Changes
1277
+
1278
+ - c9e0f52: Files from the OpenAI Files API are now supported, mirroring functionality of OpenAI Chat and Responses API, respectively. Also, the AI SDK supports URLs for PDFs in the responses API the same way it did for completions.
1279
+
1280
+ ## 2.0.3
1281
+
1282
+ ### Patch Changes
1283
+
1284
+ - Updated dependencies [90d212f]
1285
+ - @ai-sdk/provider-utils@3.0.1
1286
+
1287
+ ## 2.0.2
1288
+
1289
+ ### Patch Changes
1290
+
1291
+ - 63e2016: fix(openai): missing url citations from web search tools
1292
+
1293
+ ## 2.0.1
1294
+
1295
+ ### Patch Changes
1296
+
1297
+ - bc45e29: feat(openai): add file_search_call support to responses api
1298
+
1299
+ ## 2.0.0
1300
+
1301
+ ### Major Changes
1302
+
1303
+ - d5f588f: AI SDK 5
1304
+ - cc62234: chore (provider/openai): switch default to openai responses api
1305
+ - 516be5b: ### Move Image Model Settings into generate options
1306
+
1307
+ Image Models no longer have settings. Instead, `maxImagesPerCall` can be passed directly to `generateImage()`. All other image settings can be passed to `providerOptions[provider]`.
1308
+
1309
+ Before
1310
+
1311
+ ```js
1312
+ await generateImage({
1313
+ model: luma.image('photon-flash-1', {
1314
+ maxImagesPerCall: 5,
1315
+ pollIntervalMillis: 500,
1316
+ }),
1317
+ prompt,
1318
+ n: 10,
1319
+ });
1320
+ ```
1321
+
1322
+ After
1323
+
1324
+ ```js
1325
+ await generateImage({
1326
+ model: luma.image('photon-flash-1'),
1327
+ prompt,
1328
+ n: 10,
1329
+ maxImagesPerCall: 5,
1330
+ providerOptions: {
1331
+ luma: { pollIntervalMillis: 5 },
1332
+ },
1333
+ });
1334
+ ```
1335
+
1336
+ Pull Request: https://github.com/vercel/ai/pull/6180
1337
+
1338
+ - efc3a62: fix (provider/openai): default strict mode to false
1339
+
1340
+ ### Patch Changes
1341
+
1342
+ - 948b755: chore(providers/openai): convert to providerOptions
1343
+ - d63bcbc: feat (provider/openai): o4 updates for responses api
1344
+ - 3bd3c0b: chore(providers/openai): update embedding model to use providerOptions
1345
+ - 5d959e7: refactor: updated openai + anthropic tool use server side
1346
+ - 0eee6a8: Fix streaming and reconstruction of reasoning summary parts
1347
+ - 177526b: chore(providers/openai-transcription): switch to providerOptions
1348
+ - 2f542fa: Add reasoning-part-finish parts for reasoning models in the responses API
1349
+ - c15dfbf: feat (providers/openai): add gpt-image-1 model id to image settings
1350
+ - 3b1ea10: adding support for gpt-4o-search-preview and handling unsupported parameters
1351
+ - e2aceaf: feat: add raw chunk support
1352
+ - d2af019: feat (providers/openai): add gpt-4.1 models
1353
+ - eb173f1: chore (providers): remove model shorthand deprecation warnings
1354
+ - 209256d: Add missing file_search tool support to OpenAI Responses API
1355
+ - faea29f: fix (provider/openai): multi-step reasoning with text
1356
+ - 7032dc5: feat(openai): add priority processing service tier support
1357
+ - 870c5c0: feat (providers/openai): add o3 and o4-mini models
1358
+ - db72adc: chore(providers/openai): update completion model to use providerOptions
1359
+ - a166433: feat: add transcription with experimental_transcribe
1360
+ - 26735b5: chore(embedding-model): add v2 interface
1361
+ - 443d8ec: feat(embedding-model-v2): add response body field
1362
+ - 8d12da5: feat(provider/openai): add serviceTier option for flex processing
1363
+ - 9bf7291: chore(providers/openai): enable structuredOutputs by default & switch to provider option
1364
+ - d521cda: feat(openai): add file_search filters and update field names
1365
+ - 66962ed: fix(packages): export node10 compatible types
1366
+ - 442be08: fix: propagate openai transcription fixes
1367
+ - 0059ee2: fix(openai): update file_search fields to match API changes
1368
+ - 8493141: feat (providers/openai): add support for reasoning summaries
1369
+ - 9301f86: refactor (image-model): rename `ImageModelV1` to `ImageModelV2`
1370
+ - 0a87932: core (ai): change transcription model mimeType to mediaType
1371
+ - 8aa9e20: feat: add speech with experimental_generateSpeech
1372
+ - 4617fab: chore(embedding-models): remove remaining settings
1373
+ - b5a0e32: fix (provider/openai): correct default for chat model strict mode
1374
+ - 136819b: chore(providers/openai): re-introduce logprobs as providerMetadata
1375
+ - 52ce942: chore(providers/openai): remove & enable strict compatibility by default
1376
+ - db64cbe: fix (provider/openai): multi-step reasoning with tool calls
1377
+ - b3c3450: feat (provider/openai): add support for encrypted_reasoning to responses api
1378
+ - 48249c4: Do not warn if empty text is the first part of a reasoning sequence
1379
+ - c7d3b2e: fix (provider/openai): push first reasoning chunk in output item added event
1380
+ - ad2a3d5: feat(provider/openai): add missing reasoning models to responses API
1381
+ - 9943464: feat(openai): add file_search_call.results support to include parameter
1382
+ - 0fa7414: chore (provider/openai): standardize on itemId in provider metadata
1383
+ - 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2 interface (#5977)
1384
+
1385
+ The `experimental_generateImage` method from the `ai` package now returnes revised prompts for OpenAI's image models.
1386
+
1387
+ ```js
1388
+ const prompt = 'Santa Claus driving a Cadillac';
1389
+
1390
+ const { providerMetadata } = await experimental_generateImage({
1391
+ model: openai.image('dall-e-3'),
1392
+ prompt,
1393
+ });
1394
+
1395
+ const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;
1396
+
1397
+ console.log({
1398
+ prompt,
1399
+ revisedPrompt,
1400
+ });
1401
+ ```
1402
+
1403
+ - fa758ea: feat(provider/openai): add o3 & o4-mini with developer systemMessageMode
1404
+ - d1a034f: feature: using Zod 4 for internal stuff
1405
+ - fd65bc6: chore(embedding-model-v2): rename rawResponse to response
1406
+ - e497698: fix (provider/openai): handle responses api errors
1407
+ - 928fadf: fix(providers/openai): logprobs for stream alongside completion model
1408
+ - 0a87932: fix (provider/openai): increase transcription model resilience
1409
+ - 5147e6e: chore(openai): remove simulateStreaming
1410
+ - 06bac05: fix (openai): structure output for responses model
1411
+ - 205077b: fix: improve Zod compatibility
1412
+ - c2b92cc: chore(openai): remove legacy function calling
1413
+ - 284353f: fix(providers/openai): zod parse error with function
1414
+ - 6f231db: fix(providers): always use optional instead of mix of nullish for providerOptions
1415
+ - f10304b: feat(tool-calling): don't require the user to have to pass parameters
1416
+ - 4af5233: Fix PDF file parts when passed as a string url or Uint8Array
1417
+ - 7df7a25: feat (providers/openai): support gpt-image-1 image generation
1418
+ - Updated dependencies
1419
+ - @ai-sdk/provider-utils@3.0.0
1420
+ - @ai-sdk/provider@2.0.0
1421
+
1422
+ ## 2.0.0-beta.16
1423
+
1424
+ ### Patch Changes
1425
+
1426
+ - Updated dependencies [88a8ee5]
1427
+ - @ai-sdk/provider-utils@3.0.0-beta.10
1428
+
1429
+ ## 2.0.0-beta.15
1430
+
1431
+ ### Patch Changes
1432
+
1433
+ - 9943464: feat(openai): add file_search_call.results support to include parameter
1434
+ - Updated dependencies [27deb4d]
1435
+ - @ai-sdk/provider@2.0.0-beta.2
1436
+ - @ai-sdk/provider-utils@3.0.0-beta.9
1437
+
1438
+ ## 2.0.0-beta.14
1439
+
1440
+ ### Patch Changes
1441
+
1442
+ - eb173f1: chore (providers): remove model shorthand deprecation warnings
1443
+ - 7032dc5: feat(openai): add priority processing service tier support
1444
+ - Updated dependencies [dd5fd43]
1445
+ - @ai-sdk/provider-utils@3.0.0-beta.8
1446
+
1447
+ ## 2.0.0-beta.13
1448
+
1449
+ ### Patch Changes
1450
+
1451
+ - Updated dependencies [e7fcc86]
1452
+ - @ai-sdk/provider-utils@3.0.0-beta.7
1453
+
1454
+ ## 2.0.0-beta.12
1455
+
1456
+ ### Patch Changes
1457
+
1458
+ - d521cda: feat(openai): add file_search filters and update field names
1459
+ - 0059ee2: fix(openai): update file_search fields to match API changes
1460
+ - Updated dependencies [ac34802]
1461
+ - @ai-sdk/provider-utils@3.0.0-beta.6
1462
+
1463
+ ## 2.0.0-beta.11
1464
+
1465
+ ### Patch Changes
1466
+
1467
+ - Updated dependencies
1468
+ - @ai-sdk/provider-utils@3.0.0-beta.5
1469
+
1470
+ ## 2.0.0-beta.10
1471
+
1472
+ ### Patch Changes
1473
+
1474
+ - 0fa7414: chore (provider/openai): standardize on itemId in provider metadata
1475
+ - 205077b: fix: improve Zod compatibility
1476
+ - Updated dependencies [205077b]
1477
+ - @ai-sdk/provider-utils@3.0.0-beta.4
1478
+
1479
+ ## 2.0.0-beta.9
1480
+
1481
+ ### Patch Changes
1482
+
1483
+ - faea29f: fix (provider/openai): multi-step reasoning with text
1484
+
1485
+ ## 2.0.0-beta.8
1486
+
1487
+ ### Patch Changes
1488
+
1489
+ - db64cbe: fix (provider/openai): multi-step reasoning with tool calls
1490
+ - Updated dependencies [05d2819]
1491
+ - @ai-sdk/provider-utils@3.0.0-beta.3
1492
+
1493
+ ## 2.0.0-beta.7
1494
+
1495
+ ### Patch Changes
1496
+
1497
+ - 209256d: Add missing file_search tool support to OpenAI Responses API
1498
+
1499
+ ## 2.0.0-beta.6
1500
+
1501
+ ### Patch Changes
1502
+
1503
+ - 0eee6a8: Fix streaming and reconstruction of reasoning summary parts
1504
+ - b5a0e32: fix (provider/openai): correct default for chat model strict mode
1505
+ - c7d3b2e: fix (provider/openai): push first reasoning chunk in output item added event
1506
+
1507
+ ## 2.0.0-beta.5
1508
+
1509
+ ### Patch Changes
1510
+
1511
+ - 48249c4: Do not warn if empty text is the first part of a reasoning sequence
1512
+ - e497698: fix (provider/openai): handle responses api errors
1513
+
1514
+ ## 2.0.0-beta.4
1515
+
1516
+ ### Patch Changes
1517
+
1518
+ - b3c3450: feat (provider/openai): add support for encrypted_reasoning to responses api
1519
+ - ad2a3d5: feat(provider/openai): add missing reasoning models to responses API
1520
+
1521
+ ## 2.0.0-beta.3
1522
+
1523
+ ### Major Changes
1524
+
1525
+ - efc3a62: fix (provider/openai): default strict mode to false
1526
+
1527
+ ## 2.0.0-beta.2
1528
+
1529
+ ### Patch Changes
1530
+
1531
+ - d1a034f: feature: using Zod 4 for internal stuff
1532
+ - Updated dependencies
1533
+ - @ai-sdk/provider-utils@3.0.0-beta.2
1534
+
1535
+ ## 2.0.0-beta.1
1536
+
1537
+ ### Major Changes
1538
+
1539
+ - cc62234: chore (provider/openai): switch default to openai responses api
1540
+
1541
+ ### Patch Changes
1542
+
1543
+ - 5d959e7: refactor: updated openai + anthropic tool use server side
1544
+ - Updated dependencies
1545
+ - @ai-sdk/provider@2.0.0-beta.1
1546
+ - @ai-sdk/provider-utils@3.0.0-beta.1
1547
+
1548
+ ## 2.0.0-alpha.15
1549
+
1550
+ ### Patch Changes
1551
+
1552
+ - Updated dependencies
1553
+ - @ai-sdk/provider@2.0.0-alpha.15
1554
+ - @ai-sdk/provider-utils@3.0.0-alpha.15
1555
+
1556
+ ## 2.0.0-alpha.14
1557
+
1558
+ ### Patch Changes
1559
+
1560
+ - Updated dependencies
1561
+ - @ai-sdk/provider@2.0.0-alpha.14
1562
+ - @ai-sdk/provider-utils@3.0.0-alpha.14
1563
+
1564
+ ## 2.0.0-alpha.13
1565
+
1566
+ ### Patch Changes
1567
+
1568
+ - Updated dependencies [68ecf2f]
1569
+ - @ai-sdk/provider@2.0.0-alpha.13
1570
+ - @ai-sdk/provider-utils@3.0.0-alpha.13
1571
+
1572
+ ## 2.0.0-alpha.12
1573
+
1574
+ ### Patch Changes
1575
+
1576
+ - 2f542fa: Add reasoning-part-finish parts for reasoning models in the responses API
1577
+ - e2aceaf: feat: add raw chunk support
1578
+ - Updated dependencies [e2aceaf]
1579
+ - @ai-sdk/provider@2.0.0-alpha.12
1580
+ - @ai-sdk/provider-utils@3.0.0-alpha.12
1581
+
1582
+ ## 2.0.0-alpha.11
1583
+
1584
+ ### Patch Changes
1585
+
1586
+ - 8d12da5: feat(provider/openai): add serviceTier option for flex processing
1587
+ - Updated dependencies [c1e6647]
1588
+ - @ai-sdk/provider@2.0.0-alpha.11
1589
+ - @ai-sdk/provider-utils@3.0.0-alpha.11
1590
+
1591
+ ## 2.0.0-alpha.10
1592
+
1593
+ ### Patch Changes
1594
+
1595
+ - Updated dependencies [c4df419]
1596
+ - @ai-sdk/provider@2.0.0-alpha.10
1597
+ - @ai-sdk/provider-utils@3.0.0-alpha.10
1598
+
1599
+ ## 2.0.0-alpha.9
1600
+
1601
+ ### Patch Changes
1602
+
1603
+ - Updated dependencies [811dff3]
1604
+ - @ai-sdk/provider@2.0.0-alpha.9
1605
+ - @ai-sdk/provider-utils@3.0.0-alpha.9
1606
+
1607
+ ## 2.0.0-alpha.8
1608
+
1609
+ ### Patch Changes
1610
+
1611
+ - 4af5233: Fix PDF file parts when passed as a string url or Uint8Array
1612
+ - Updated dependencies
1613
+ - @ai-sdk/provider-utils@3.0.0-alpha.8
1614
+ - @ai-sdk/provider@2.0.0-alpha.8
1615
+
1616
+ ## 2.0.0-alpha.7
1617
+
1618
+ ### Patch Changes
1619
+
1620
+ - Updated dependencies [5c56081]
1621
+ - @ai-sdk/provider@2.0.0-alpha.7
1622
+ - @ai-sdk/provider-utils@3.0.0-alpha.7
1623
+
1624
+ ## 2.0.0-alpha.6
1625
+
1626
+ ### Patch Changes
1627
+
1628
+ - Updated dependencies [0d2c085]
1629
+ - @ai-sdk/provider@2.0.0-alpha.6
1630
+ - @ai-sdk/provider-utils@3.0.0-alpha.6
1631
+
1632
+ ## 2.0.0-alpha.4
1633
+
1634
+ ### Patch Changes
1635
+
1636
+ - Updated dependencies [dc714f3]
1637
+ - @ai-sdk/provider@2.0.0-alpha.4
1638
+ - @ai-sdk/provider-utils@3.0.0-alpha.4
1639
+
1640
+ ## 2.0.0-alpha.3
1641
+
1642
+ ### Patch Changes
1643
+
1644
+ - Updated dependencies [6b98118]
1645
+ - @ai-sdk/provider@2.0.0-alpha.3
1646
+ - @ai-sdk/provider-utils@3.0.0-alpha.3
1647
+
1648
+ ## 2.0.0-alpha.2
1649
+
1650
+ ### Patch Changes
1651
+
1652
+ - Updated dependencies [26535e0]
1653
+ - @ai-sdk/provider@2.0.0-alpha.2
1654
+ - @ai-sdk/provider-utils@3.0.0-alpha.2
1655
+
1656
+ ## 2.0.0-alpha.1
1657
+
1658
+ ### Patch Changes
1659
+
1660
+ - Updated dependencies [3f2f00c]
1661
+ - @ai-sdk/provider@2.0.0-alpha.1
1662
+ - @ai-sdk/provider-utils@3.0.0-alpha.1
1663
+
1664
+ ## 2.0.0-canary.20
1665
+
1666
+ ### Patch Changes
1667
+
1668
+ - Updated dependencies [faf8446]
1669
+ - @ai-sdk/provider-utils@3.0.0-canary.19
1670
+
1671
+ ## 2.0.0-canary.19
1672
+
1673
+ ### Patch Changes
1674
+
1675
+ - Updated dependencies [40acf9b]
1676
+ - @ai-sdk/provider-utils@3.0.0-canary.18
1677
+
1678
+ ## 2.0.0-canary.18
1679
+
1680
+ ### Major Changes
1681
+
1682
+ - 516be5b: ### Move Image Model Settings into generate options
1683
+
1684
+ Image Models no longer have settings. Instead, `maxImagesPerCall` can be passed directly to `generateImage()`. All other image settings can be passed to `providerOptions[provider]`.
1685
+
1686
+ Before
1687
+
1688
+ ```js
1689
+ await generateImage({
1690
+ model: luma.image('photon-flash-1', {
1691
+ maxImagesPerCall: 5,
1692
+ pollIntervalMillis: 500,
1693
+ }),
1694
+ prompt,
1695
+ n: 10,
1696
+ });
1697
+ ```
1698
+
1699
+ After
1700
+
1701
+ ```js
1702
+ await generateImage({
1703
+ model: luma.image('photon-flash-1'),
1704
+ prompt,
1705
+ n: 10,
1706
+ maxImagesPerCall: 5,
1707
+ providerOptions: {
1708
+ luma: { pollIntervalMillis: 5 },
1709
+ },
1710
+ });
1711
+ ```
1712
+
1713
+ Pull Request: https://github.com/vercel/ai/pull/6180
1714
+
1715
+ ### Patch Changes
1716
+
1717
+ - Updated dependencies [ea7a7c9]
1718
+ - @ai-sdk/provider-utils@3.0.0-canary.17
1719
+
1720
+ ## 2.0.0-canary.17
1721
+
1722
+ ### Patch Changes
1723
+
1724
+ - 52ce942: chore(providers/openai): remove & enable strict compatibility by default
1725
+ - Updated dependencies [87b828f]
1726
+ - @ai-sdk/provider-utils@3.0.0-canary.16
1727
+
1728
+ ## 2.0.0-canary.16
1729
+
1730
+ ### Patch Changes
1731
+
1732
+ - 928fadf: fix(providers/openai): logprobs for stream alongside completion model
1733
+ - 6f231db: fix(providers): always use optional instead of mix of nullish for providerOptions
1734
+ - Updated dependencies
1735
+ - @ai-sdk/provider-utils@3.0.0-canary.15
1736
+ - @ai-sdk/provider@2.0.0-canary.14
1737
+
1738
+ ## 2.0.0-canary.15
1739
+
1740
+ ### Patch Changes
1741
+
1742
+ - 136819b: chore(providers/openai): re-introduce logprobs as providerMetadata
1743
+ - 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2 interface (#5977)
1744
+
1745
+ The `experimental_generateImage` method from the `ai` package now returnes revised prompts for OpenAI's image models.
1746
+
1747
+ ```js
1748
+ const prompt = 'Santa Claus driving a Cadillac';
1749
+
1750
+ const { providerMetadata } = await experimental_generateImage({
1751
+ model: openai.image('dall-e-3'),
1752
+ prompt,
1753
+ });
1754
+
1755
+ const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;
1756
+
1757
+ console.log({
1758
+ prompt,
1759
+ revisedPrompt,
1760
+ });
1761
+ ```
1762
+
1763
+ - 284353f: fix(providers/openai): zod parse error with function
1764
+ - Updated dependencies
1765
+ - @ai-sdk/provider-utils@3.0.0-canary.14
1766
+ - @ai-sdk/provider@2.0.0-canary.13
1767
+
1768
+ ## 2.0.0-canary.14
1769
+
1770
+ ### Patch Changes
1771
+
1772
+ - fa758ea: feat(provider/openai): add o3 & o4-mini with developer systemMessageMode
1773
+ - Updated dependencies
1774
+ - @ai-sdk/provider@2.0.0-canary.12
1775
+ - @ai-sdk/provider-utils@3.0.0-canary.13
1776
+
1777
+ ## 2.0.0-canary.13
1778
+
1779
+ ### Patch Changes
1780
+
1781
+ - 177526b: chore(providers/openai-transcription): switch to providerOptions
1782
+ - c15dfbf: feat (providers/openai): add gpt-image-1 model id to image settings
1783
+ - 9bf7291: chore(providers/openai): enable structuredOutputs by default & switch to provider option
1784
+ - 4617fab: chore(embedding-models): remove remaining settings
1785
+ - Updated dependencies
1786
+ - @ai-sdk/provider@2.0.0-canary.11
1787
+ - @ai-sdk/provider-utils@3.0.0-canary.12
1788
+
1789
+ ## 2.0.0-canary.12
1790
+
1791
+ ### Patch Changes
1792
+
1793
+ - db72adc: chore(providers/openai): update completion model to use providerOptions
1794
+ - 66962ed: fix(packages): export node10 compatible types
1795
+ - 9301f86: refactor (image-model): rename `ImageModelV1` to `ImageModelV2`
1796
+ - 7df7a25: feat (providers/openai): support gpt-image-1 image generation
1797
+ - Updated dependencies
1798
+ - @ai-sdk/provider-utils@3.0.0-canary.11
1799
+ - @ai-sdk/provider@2.0.0-canary.10
1800
+
1801
+ ## 2.0.0-canary.11
1802
+
1803
+ ### Patch Changes
1804
+
1805
+ - 8493141: feat (providers/openai): add support for reasoning summaries
1806
+ - Updated dependencies [e86be6f]
1807
+ - @ai-sdk/provider@2.0.0-canary.9
1808
+ - @ai-sdk/provider-utils@3.0.0-canary.10
1809
+
1810
+ ## 2.0.0-canary.10
1811
+
1812
+ ### Patch Changes
1813
+
1814
+ - 3bd3c0b: chore(providers/openai): update embedding model to use providerOptions
1815
+ - Updated dependencies
1816
+ - @ai-sdk/provider@2.0.0-canary.8
1817
+ - @ai-sdk/provider-utils@3.0.0-canary.9
1818
+
1819
+ ## 2.0.0-canary.9
1820
+
1821
+ ### Patch Changes
1822
+
1823
+ - d63bcbc: feat (provider/openai): o4 updates for responses api
1824
+ - d2af019: feat (providers/openai): add gpt-4.1 models
1825
+ - 870c5c0: feat (providers/openai): add o3 and o4-mini models
1826
+ - 06bac05: fix (openai): structure output for responses model
1827
+
1828
+ ## 2.0.0-canary.8
1829
+
1830
+ ### Patch Changes
1831
+
1832
+ - 8aa9e20: feat: add speech with experimental_generateSpeech
1833
+ - Updated dependencies
1834
+ - @ai-sdk/provider-utils@3.0.0-canary.8
1835
+ - @ai-sdk/provider@2.0.0-canary.7
1836
+
1837
+ ## 2.0.0-canary.7
1838
+
1839
+ ### Patch Changes
1840
+
1841
+ - 26735b5: chore(embedding-model): add v2 interface
1842
+ - 443d8ec: feat(embedding-model-v2): add response body field
1843
+ - fd65bc6: chore(embedding-model-v2): rename rawResponse to response
1844
+ - Updated dependencies
1845
+ - @ai-sdk/provider@2.0.0-canary.6
1846
+ - @ai-sdk/provider-utils@3.0.0-canary.7
1847
+
1848
+ ## 2.0.0-canary.6
1849
+
1850
+ ### Patch Changes
1851
+
1852
+ - 948b755: chore(providers/openai): convert to providerOptions
1853
+ - 3b1ea10: adding support for gpt-4o-search-preview and handling unsupported parameters
1854
+ - 442be08: fix: propagate openai transcription fixes
1855
+ - 5147e6e: chore(openai): remove simulateStreaming
1856
+ - c2b92cc: chore(openai): remove legacy function calling
1857
+ - f10304b: feat(tool-calling): don't require the user to have to pass parameters
1858
+ - Updated dependencies
1859
+ - @ai-sdk/provider@2.0.0-canary.5
1860
+ - @ai-sdk/provider-utils@3.0.0-canary.6
1861
+
1862
+ ## 2.0.0-canary.5
1863
+
1864
+ ### Patch Changes
1865
+
1866
+ - Updated dependencies [6f6bb89]
1867
+ - @ai-sdk/provider@2.0.0-canary.4
1868
+ - @ai-sdk/provider-utils@3.0.0-canary.5
1869
+
1870
+ ## 2.0.0-canary.4
1871
+
1872
+ ### Patch Changes
1873
+
1874
+ - Updated dependencies [d1a1aa1]
1875
+ - @ai-sdk/provider@2.0.0-canary.3
1876
+ - @ai-sdk/provider-utils@3.0.0-canary.4
1877
+
1878
+ ## 2.0.0-canary.3
1879
+
1880
+ ### Patch Changes
1881
+
1882
+ - a166433: feat: add transcription with experimental_transcribe
1883
+ - 0a87932: core (ai): change transcription model mimeType to mediaType
1884
+ - 0a87932: fix (provider/openai): increase transcription model resilience
1885
+ - Updated dependencies
1886
+ - @ai-sdk/provider-utils@3.0.0-canary.3
1887
+ - @ai-sdk/provider@2.0.0-canary.2
1888
+
1889
+ ## 2.0.0-canary.2
1890
+
1891
+ ### Patch Changes
1892
+
1893
+ - Updated dependencies
1894
+ - @ai-sdk/provider@2.0.0-canary.1
1895
+ - @ai-sdk/provider-utils@3.0.0-canary.2
1896
+
1897
+ ## 2.0.0-canary.1
1898
+
1899
+ ### Patch Changes
1900
+
1901
+ - Updated dependencies
1902
+ - @ai-sdk/provider-utils@3.0.0-canary.1
1903
+
1904
+ ## 2.0.0-canary.0
1905
+
1906
+ ### Major Changes
1907
+
1908
+ - d5f588f: AI SDK 5
1909
+
1910
+ ### Patch Changes
1911
+
1912
+ - Updated dependencies [d5f588f]
1913
+ - @ai-sdk/provider-utils@3.0.0-canary.0
1914
+ - @ai-sdk/provider@2.0.0-canary.0
1915
+
1916
+ ## 1.3.6
1917
+
1918
+ ### Patch Changes
1919
+
1920
+ - Updated dependencies [28be004]
1921
+ - @ai-sdk/provider-utils@2.2.3
1922
+
1923
+ ## 1.3.5
1924
+
1925
+ ### Patch Changes
1926
+
1927
+ - 52ed95f: fix (provider/openai): force web search tool
1928
+ - Updated dependencies [b01120e]
1929
+ - @ai-sdk/provider-utils@2.2.2
1930
+
1931
+ ## 1.3.4
1932
+
1933
+ ### Patch Changes
1934
+
1935
+ - b520dba: feat (provider/openai): add chatgpt-4o-latest model
1936
+
1937
+ ## 1.3.3
1938
+
1939
+ ### Patch Changes
1940
+
1941
+ - 24befd8: feat (provider/openai): add instructions to providerOptions
1942
+
1943
+ ## 1.3.2
1944
+
1945
+ ### Patch Changes
1946
+
1947
+ - db15028: feat (provider/openai): expose type for validating OpenAI responses provider options
1948
+
1949
+ ## 1.3.1
1950
+
1951
+ ### Patch Changes
1952
+
1953
+ - Updated dependencies [f10f0fa]
1954
+ - @ai-sdk/provider-utils@2.2.1
1955
+
1956
+ ## 1.3.0
1957
+
1958
+ ### Minor Changes
1959
+
1960
+ - 5bc638d: AI SDK 4.2
1961
+
1962
+ ### Patch Changes
1963
+
1964
+ - Updated dependencies [5bc638d]
1965
+ - @ai-sdk/provider@1.1.0
1966
+ - @ai-sdk/provider-utils@2.2.0
1967
+
1968
+ ## 1.2.8
1969
+
1970
+ ### Patch Changes
1971
+
1972
+ - 9f4f1bc: feat (provider/openai): pdf support for chat language models
1973
+
1974
+ ## 1.2.7
1975
+
1976
+ ### Patch Changes
1977
+
1978
+ - Updated dependencies [d0c4659]
1979
+ - @ai-sdk/provider-utils@2.1.15
1980
+
1981
+ ## 1.2.6
1982
+
1983
+ ### Patch Changes
1984
+
1985
+ - Updated dependencies [0bd5bc6]
1986
+ - @ai-sdk/provider@1.0.12
1987
+ - @ai-sdk/provider-utils@2.1.14
1988
+
1989
+ ## 1.2.5
1990
+
1991
+ ### Patch Changes
1992
+
1993
+ - 2e1101a: feat (provider/openai): pdf input support
1994
+ - Updated dependencies [2e1101a]
1995
+ - @ai-sdk/provider@1.0.11
1996
+ - @ai-sdk/provider-utils@2.1.13
1997
+
1998
+ ## 1.2.4
1999
+
2000
+ ### Patch Changes
2001
+
2002
+ - 523f128: feat (provider/openai): add strictSchemas option to responses model
2003
+
2004
+ ## 1.2.3
2005
+
2006
+ ### Patch Changes
2007
+
2008
+ - Updated dependencies [1531959]
2009
+ - @ai-sdk/provider-utils@2.1.12
2010
+
2011
+ ## 1.2.2
2012
+
2013
+ ### Patch Changes
2014
+
2015
+ - e3a389e: feat (provider/openai): support responses api
2016
+
2017
+ ## 1.2.1
2018
+
2019
+ ### Patch Changes
2020
+
2021
+ - e1d3d42: feat (ai): expose raw response body in generateText and generateObject
2022
+ - Updated dependencies [e1d3d42]
2023
+ - @ai-sdk/provider@1.0.10
2024
+ - @ai-sdk/provider-utils@2.1.11
2025
+
2026
+ ## 1.2.0
2027
+
2028
+ ### Minor Changes
2029
+
2030
+ - ede6d1b: feat (provider/azure): Add Azure image model support
2031
+
2032
+ ## 1.1.15
2033
+
2034
+ ### Patch Changes
2035
+
2036
+ - d8216f8: feat (provider/openai): add gpt-4.5-preview to model id set
2037
+
2038
+ ## 1.1.14
2039
+
2040
+ ### Patch Changes
2041
+
2042
+ - Updated dependencies [ddf9740]
2043
+ - @ai-sdk/provider@1.0.9
2044
+ - @ai-sdk/provider-utils@2.1.10
2045
+
2046
+ ## 1.1.13
2047
+
2048
+ ### Patch Changes
2049
+
2050
+ - Updated dependencies [2761f06]
2051
+ - @ai-sdk/provider@1.0.8
2052
+ - @ai-sdk/provider-utils@2.1.9
2053
+
2054
+ ## 1.1.12
2055
+
2056
+ ### Patch Changes
2057
+
2058
+ - ea159cb: chore (provider/openai): remove default streaming simulation for o1
2059
+
2060
+ ## 1.1.11
2061
+
2062
+ ### Patch Changes
2063
+
2064
+ - Updated dependencies [2e898b4]
2065
+ - @ai-sdk/provider-utils@2.1.8
2066
+
2067
+ ## 1.1.10
2068
+
2069
+ ### Patch Changes
2070
+
2071
+ - Updated dependencies [3ff4ef8]
2072
+ - @ai-sdk/provider-utils@2.1.7
2073
+
2074
+ ## 1.1.9
2075
+
2076
+ ### Patch Changes
2077
+
2078
+ - c55b81a: fix (provider/openai): fix o3-mini streaming
2079
+
2080
+ ## 1.1.8
2081
+
2082
+ ### Patch Changes
2083
+
2084
+ - 161be90: fix (provider/openai): fix model id typo
2085
+
2086
+ ## 1.1.7
2087
+
2088
+ ### Patch Changes
2089
+
2090
+ - 0a2f026: feat (provider/openai): add o3-mini
2091
+
2092
+ ## 1.1.6
2093
+
2094
+ ### Patch Changes
2095
+
2096
+ - d89c3b9: feat (provider): add image model support to provider specification
2097
+ - Updated dependencies [d89c3b9]
2098
+ - @ai-sdk/provider@1.0.7
2099
+ - @ai-sdk/provider-utils@2.1.6
2100
+
2101
+ ## 1.1.5
2102
+
2103
+ ### Patch Changes
2104
+
2105
+ - Updated dependencies [3a602ca]
2106
+ - @ai-sdk/provider-utils@2.1.5
2107
+
2108
+ ## 1.1.4
2109
+
2110
+ ### Patch Changes
2111
+
2112
+ - Updated dependencies [066206e]
2113
+ - @ai-sdk/provider-utils@2.1.4
2114
+
2115
+ ## 1.1.3
2116
+
2117
+ ### Patch Changes
2118
+
2119
+ - Updated dependencies [39e5c1f]
2120
+ - @ai-sdk/provider-utils@2.1.3
2121
+
2122
+ ## 1.1.2
2123
+
2124
+ ### Patch Changes
2125
+
2126
+ - 3a58a2e: feat (ai/core): throw NoImageGeneratedError from generateImage when no predictions are returned.
2127
+ - Updated dependencies
2128
+ - @ai-sdk/provider-utils@2.1.2
2129
+ - @ai-sdk/provider@1.0.6
2130
+
2131
+ ## 1.1.1
2132
+
2133
+ ### Patch Changes
2134
+
2135
+ - e7a9ec9: feat (provider-utils): include raw value in json parse results
2136
+ - Updated dependencies
2137
+ - @ai-sdk/provider-utils@2.1.1
2138
+ - @ai-sdk/provider@1.0.5
2139
+
2140
+ ## 1.1.0
2141
+
2142
+ ### Minor Changes
2143
+
2144
+ - 62ba5ad: release: AI SDK 4.1
2145
+
2146
+ ### Patch Changes
2147
+
2148
+ - Updated dependencies [62ba5ad]
2149
+ - @ai-sdk/provider-utils@2.1.0
2150
+
2151
+ ## 1.0.20
2152
+
2153
+ ### Patch Changes
2154
+
2155
+ - Updated dependencies [00114c5]
2156
+ - @ai-sdk/provider-utils@2.0.8
2157
+
2158
+ ## 1.0.19
2159
+
2160
+ ### Patch Changes
2161
+
2162
+ - 218d001: feat (provider): Add maxImagesPerCall setting to all image providers.
2163
+
2164
+ ## 1.0.18
2165
+
2166
+ ### Patch Changes
2167
+
2168
+ - fe816e4: fix (provider/openai): streamObject with o1
2169
+
2170
+ ## 1.0.17
2171
+
2172
+ ### Patch Changes
2173
+
2174
+ - ba62cf2: feat (provider/openai): automatically map maxTokens to max_completion_tokens for reasoning models
2175
+ - 3c3fae8: fix (provider/openai): add o1-mini-2024-09-12 and o1-preview-2024-09-12 configurations
2176
+
2177
+ ## 1.0.16
2178
+
2179
+ ### Patch Changes
2180
+
2181
+ - Updated dependencies
2182
+ - @ai-sdk/provider-utils@2.0.7
2183
+
2184
+ ## 1.0.15
2185
+
2186
+ ### Patch Changes
2187
+
2188
+ - f8c6acb: feat (provider/openai): automatically simulate streaming for reasoning models
2189
+ - d0041f7: feat (provider/openai): improved system message support for reasoning models
2190
+ - 4d2f97b: feat (provider/openai): improve automatic setting removal for reasoning models
2191
+
2192
+ ## 1.0.14
2193
+
2194
+ ### Patch Changes
2195
+
2196
+ - 19a2ce7: feat (ai/core): add aspectRatio and seed options to generateImage
2197
+ - 6337688: feat: change image generation errors to warnings
2198
+ - Updated dependencies
2199
+ - @ai-sdk/provider@1.0.4
2200
+ - @ai-sdk/provider-utils@2.0.6
2201
+
2202
+ ## 1.0.13
2203
+
2204
+ ### Patch Changes
2205
+
2206
+ - b19aa82: feat (provider/openai): add predicted outputs token usage
2207
+
2208
+ ## 1.0.12
2209
+
2210
+ ### Patch Changes
2211
+
2212
+ - a4241ff: feat (provider/openai): add o3 reasoning model support
2213
+
2214
+ ## 1.0.11
2215
+
2216
+ ### Patch Changes
2217
+
2218
+ - 5ed5e45: chore (config): Use ts-library.json tsconfig for no-UI libs.
2219
+ - Updated dependencies [5ed5e45]
2220
+ - @ai-sdk/provider-utils@2.0.5
2221
+ - @ai-sdk/provider@1.0.3
2222
+
2223
+ ## 1.0.10
2224
+
2225
+ ### Patch Changes
2226
+
2227
+ - d4fad4e: fix (provider/openai): fix reasoning model detection
2228
+
2229
+ ## 1.0.9
2230
+
2231
+ ### Patch Changes
2232
+
2233
+ - 3fab0fb: feat (provider/openai): support reasoning_effort setting
2234
+ - e956eed: feat (provider/openai): update model list and add o1
2235
+ - 6faab13: feat (provider/openai): simulated streaming setting
2236
+
2237
+ ## 1.0.8
2238
+
2239
+ ### Patch Changes
2240
+
2241
+ - 09a9cab: feat (ai/core): add experimental generateImage function
2242
+ - Updated dependencies [09a9cab]
2243
+ - @ai-sdk/provider@1.0.2
2244
+ - @ai-sdk/provider-utils@2.0.4
2245
+
2246
+ ## 1.0.7
2247
+
2248
+ ### Patch Changes
2249
+
2250
+ - Updated dependencies [0984f0b]
2251
+ - @ai-sdk/provider-utils@2.0.3
2252
+
2253
+ ## 1.0.6
2254
+
2255
+ ### Patch Changes
2256
+
2257
+ - a9a19cb: fix (provider/openai,groq): prevent sending duplicate tool calls
2258
+
2259
+ ## 1.0.5
2260
+
2261
+ ### Patch Changes
2262
+
2263
+ - fc18132: feat (ai/core): experimental output for generateText
2264
+
2265
+ ## 1.0.4
2266
+
2267
+ ### Patch Changes
2268
+
2269
+ - Updated dependencies [b446ae5]
2270
+ - @ai-sdk/provider@1.0.1
2271
+ - @ai-sdk/provider-utils@2.0.2
2272
+
2273
+ ## 1.0.3
2274
+
2275
+ ### Patch Changes
2276
+
2277
+ - b748dfb: feat (providers): update model lists
2278
+
2279
+ ## 1.0.2
2280
+
2281
+ ### Patch Changes
2282
+
2283
+ - Updated dependencies [c3ab5de]
2284
+ - @ai-sdk/provider-utils@2.0.1
2285
+
2286
+ ## 1.0.1
2287
+
2288
+ ### Patch Changes
2289
+
2290
+ - 5e6419a: feat (provider/openai): support streaming for reasoning models
2291
+
2292
+ ## 1.0.0
2293
+
2294
+ ### Major Changes
2295
+
2296
+ - 66060f7: chore (release): bump major version to 4.0
2297
+ - 79644e9: chore (provider/openai): remove OpenAI facade
2298
+ - 0d3d3f5: chore (providers): remove baseUrl option
2299
+
2300
+ ### Patch Changes
2301
+
2302
+ - Updated dependencies
2303
+ - @ai-sdk/provider-utils@2.0.0
2304
+ - @ai-sdk/provider@1.0.0
2305
+
2306
+ ## 1.0.0-canary.3
2307
+
2308
+ ### Patch Changes
2309
+
2310
+ - Updated dependencies [8426f55]
2311
+ - @ai-sdk/provider-utils@2.0.0-canary.3
2312
+
2313
+ ## 1.0.0-canary.2
2314
+
2315
+ ### Patch Changes
2316
+
2317
+ - Updated dependencies
2318
+ - @ai-sdk/provider-utils@2.0.0-canary.2
2319
+
2320
+ ## 1.0.0-canary.1
2321
+
2322
+ ### Major Changes
2323
+
2324
+ - 79644e9: chore (provider/openai): remove OpenAI facade
2325
+ - 0d3d3f5: chore (providers): remove baseUrl option
2326
+
2327
+ ### Patch Changes
2328
+
2329
+ - Updated dependencies [b1da952]
2330
+ - @ai-sdk/provider-utils@2.0.0-canary.1
2331
+
2332
+ ## 1.0.0-canary.0
2333
+
2334
+ ### Major Changes
2335
+
2336
+ - 66060f7: chore (release): bump major version to 4.0
2337
+
2338
+ ### Patch Changes
2339
+
2340
+ - Updated dependencies
2341
+ - @ai-sdk/provider-utils@2.0.0-canary.0
2342
+ - @ai-sdk/provider@1.0.0-canary.0
2343
+
2344
+ ## 0.0.72
2345
+
2346
+ ### Patch Changes
2347
+
2348
+ - 0bc4115: feat (provider/openai): support predicted outputs
2349
+
2350
+ ## 0.0.71
2351
+
2352
+ ### Patch Changes
2353
+
2354
+ - 54a3a59: fix (provider/openai): support object-json mode without schema
2355
+
2356
+ ## 0.0.70
2357
+
2358
+ ### Patch Changes
2359
+
2360
+ - 3b1b69a: feat: provider-defined tools
2361
+ - Updated dependencies
2362
+ - @ai-sdk/provider-utils@1.0.22
2363
+ - @ai-sdk/provider@0.0.26
2364
+
2365
+ ## 0.0.69
2366
+
2367
+ ### Patch Changes
2368
+
2369
+ - b9b0d7b: feat (ai): access raw request body
2370
+ - Updated dependencies [b9b0d7b]
2371
+ - @ai-sdk/provider@0.0.25
2372
+ - @ai-sdk/provider-utils@1.0.21
2373
+
2374
+ ## 0.0.68
2375
+
2376
+ ### Patch Changes
2377
+
2378
+ - 741ca51: feat (provider/openai): support mp3 and wav audio inputs
2379
+
2380
+ ## 0.0.67
2381
+
2382
+ ### Patch Changes
2383
+
2384
+ - 39fccee: feat (provider/openai): provider name can be changed for 3rd party openai compatible providers
2385
+
2386
+ ## 0.0.66
2387
+
2388
+ ### Patch Changes
2389
+
2390
+ - 3f29c10: feat (provider/openai): support metadata field for distillation
2391
+
2392
+ ## 0.0.65
2393
+
2394
+ ### Patch Changes
2395
+
2396
+ - e8aed44: Add OpenAI cached prompt tokens to experimental_providerMetadata for generateText and streamText
2397
+
2398
+ ## 0.0.64
2399
+
2400
+ ### Patch Changes
2401
+
2402
+ - 5aa576d: feat (provider/openai): support store parameter for distillation
2403
+
2404
+ ## 0.0.63
2405
+
2406
+ ### Patch Changes
2407
+
2408
+ - Updated dependencies [d595d0d]
2409
+ - @ai-sdk/provider@0.0.24
2410
+ - @ai-sdk/provider-utils@1.0.20
2411
+
2412
+ ## 0.0.62
2413
+
2414
+ ### Patch Changes
2415
+
2416
+ - 7efa867: feat (provider/openai): simulated streaming for reasoning models
2417
+
2418
+ ## 0.0.61
2419
+
2420
+ ### Patch Changes
2421
+
2422
+ - 8132a60: feat (provider/openai): support reasoning token usage and max_completion_tokens
2423
+
2424
+ ## 0.0.60
2425
+
2426
+ ### Patch Changes
2427
+
2428
+ - Updated dependencies [273f696]
2429
+ - @ai-sdk/provider-utils@1.0.19
2430
+
2431
+ ## 0.0.59
2432
+
2433
+ ### Patch Changes
2434
+
2435
+ - a0991ec: feat (provider/openai): add o1-preview and o1-mini models
2436
+
2437
+ ## 0.0.58
2438
+
2439
+ ### Patch Changes
2440
+
2441
+ - e0c36bd: feat (provider/openai): support image detail
2442
+
2443
+ ## 0.0.57
2444
+
2445
+ ### Patch Changes
2446
+
2447
+ - d1aaeae: feat (provider/openai): support ai sdk image download
2448
+
2449
+ ## 0.0.56
2450
+
2451
+ ### Patch Changes
2452
+
2453
+ - 03313cd: feat (ai): expose response id, response model, response timestamp in telemetry and api
2454
+ - Updated dependencies
2455
+ - @ai-sdk/provider-utils@1.0.18
2456
+ - @ai-sdk/provider@0.0.23
2457
+
2458
+ ## 0.0.55
2459
+
2460
+ ### Patch Changes
2461
+
2462
+ - 28cbf2e: fix (provider/openai): support tool call deltas when arguments are sent in the first chunk
2463
+
2464
+ ## 0.0.54
2465
+
2466
+ ### Patch Changes
2467
+
2468
+ - 26515cb: feat (ai/provider): introduce ProviderV1 specification
2469
+ - Updated dependencies [26515cb]
2470
+ - @ai-sdk/provider@0.0.22
2471
+ - @ai-sdk/provider-utils@1.0.17
2472
+
2473
+ ## 0.0.53
2474
+
2475
+ ### Patch Changes
2476
+
2477
+ - Updated dependencies [09f895f]
2478
+ - @ai-sdk/provider-utils@1.0.16
2479
+
2480
+ ## 0.0.52
2481
+
2482
+ ### Patch Changes
2483
+
2484
+ - d5b6a15: feat (provider/openai): support partial usage information
2485
+
2486
+ ## 0.0.51
2487
+
2488
+ ### Patch Changes
2489
+
2490
+ - Updated dependencies [d67fa9c]
2491
+ - @ai-sdk/provider-utils@1.0.15
2492
+
2493
+ ## 0.0.50
2494
+
2495
+ ### Patch Changes
2496
+
2497
+ - Updated dependencies [f2c025e]
2498
+ - @ai-sdk/provider@0.0.21
2499
+ - @ai-sdk/provider-utils@1.0.14
2500
+
2501
+ ## 0.0.49
2502
+
2503
+ ### Patch Changes
2504
+
2505
+ - f42d9bd: fix (provider/openai): support OpenRouter streaming errors
2506
+
2507
+ ## 0.0.48
2508
+
2509
+ ### Patch Changes
2510
+
2511
+ - Updated dependencies [6ac355e]
2512
+ - @ai-sdk/provider@0.0.20
2513
+ - @ai-sdk/provider-utils@1.0.13
2514
+
2515
+ ## 0.0.47
2516
+
2517
+ ### Patch Changes
2518
+
2519
+ - 4ffbaee: fix (provider/openai): fix strict flag for structured outputs with tools
2520
+ - dd712ac: fix: use FetchFunction type to prevent self-reference
2521
+ - Updated dependencies [dd712ac]
2522
+ - @ai-sdk/provider-utils@1.0.12
2523
+
2524
+ ## 0.0.46
2525
+
2526
+ ### Patch Changes
2527
+
2528
+ - 89b18ca: fix (ai/provider): send finish reason 'unknown' by default
2529
+ - Updated dependencies [dd4a0f5]
2530
+ - @ai-sdk/provider@0.0.19
2531
+ - @ai-sdk/provider-utils@1.0.11
2532
+
2533
+ ## 0.0.45
2534
+
2535
+ ### Patch Changes
2536
+
2537
+ - Updated dependencies
2538
+ - @ai-sdk/provider-utils@1.0.10
2539
+ - @ai-sdk/provider@0.0.18
2540
+
2541
+ ## 0.0.44
2542
+
2543
+ ### Patch Changes
2544
+
2545
+ - 029af4c: feat (ai/core): support schema name & description in generateObject & streamObject
2546
+ - Updated dependencies [029af4c]
2547
+ - @ai-sdk/provider@0.0.17
2548
+ - @ai-sdk/provider-utils@1.0.9
2549
+
2550
+ ## 0.0.43
2551
+
2552
+ ### Patch Changes
2553
+
2554
+ - d58517b: feat (ai/openai): structured outputs
2555
+ - c0a73ee: feat (provider/openai): add gpt-4o-2024-08-06 to list of supported models
2556
+ - Updated dependencies [d58517b]
2557
+ - @ai-sdk/provider@0.0.16
2558
+ - @ai-sdk/provider-utils@1.0.8
2559
+
2560
+ ## 0.0.42
2561
+
2562
+ ### Patch Changes
2563
+
2564
+ - Updated dependencies [96aed25]
2565
+ - @ai-sdk/provider@0.0.15
2566
+ - @ai-sdk/provider-utils@1.0.7
2567
+
2568
+ ## 0.0.41
2569
+
2570
+ ### Patch Changes
2571
+
2572
+ - 7a2eb27: feat (provider/openai): make role nullish to enhance provider support
2573
+ - Updated dependencies
2574
+ - @ai-sdk/provider-utils@1.0.6
2575
+
2576
+ ## 0.0.40
2577
+
2578
+ ### Patch Changes
2579
+
2580
+ - Updated dependencies [a8d1c9e9]
2581
+ - @ai-sdk/provider-utils@1.0.5
2582
+ - @ai-sdk/provider@0.0.14
2583
+
2584
+ ## 0.0.39
2585
+
2586
+ ### Patch Changes
2587
+
2588
+ - Updated dependencies [4f88248f]
2589
+ - @ai-sdk/provider-utils@1.0.4
2590
+
2591
+ ## 0.0.38
2592
+
2593
+ ### Patch Changes
2594
+
2595
+ - 2b9da0f0: feat (core): support stopSequences setting.
2596
+ - 909b9d27: feat (ai/openai): Support legacy function calls
2597
+ - a5b58845: feat (core): support topK setting
2598
+ - 4aa8deb3: feat (provider): support responseFormat setting in provider api
2599
+ - 13b27ec6: chore (ai/core): remove grammar mode
2600
+ - Updated dependencies
2601
+ - @ai-sdk/provider@0.0.13
2602
+ - @ai-sdk/provider-utils@1.0.3
2603
+
2604
+ ## 0.0.37
2605
+
2606
+ ### Patch Changes
2607
+
2608
+ - 89947fc5: chore (provider/openai): update model list for type-ahead support
2609
+
2610
+ ## 0.0.36
2611
+
2612
+ ### Patch Changes
2613
+
2614
+ - b7290943: feat (ai/core): add token usage to embed and embedMany
2615
+ - Updated dependencies [b7290943]
2616
+ - @ai-sdk/provider@0.0.12
2617
+ - @ai-sdk/provider-utils@1.0.2
2618
+
2619
+ ## 0.0.35
2620
+
2621
+ ### Patch Changes
2622
+
2623
+ - Updated dependencies [d481729f]
2624
+ - @ai-sdk/provider-utils@1.0.1
2625
+
2626
+ ## 0.0.34
2627
+
2628
+ ### Patch Changes
2629
+
2630
+ - 5edc6110: feat (ai/core): add custom request header support
2631
+ - Updated dependencies
2632
+ - @ai-sdk/provider@0.0.11
2633
+ - @ai-sdk/provider-utils@1.0.0
2634
+
2635
+ ## 0.0.33
2636
+
2637
+ ### Patch Changes
2638
+
2639
+ - Updated dependencies [02f6a088]
2640
+ - @ai-sdk/provider-utils@0.0.16
2641
+
2642
+ ## 0.0.32
2643
+
2644
+ ### Patch Changes
2645
+
2646
+ - 1b37b8b9: fix (@ai-sdk/openai): only send logprobs settings when logprobs are requested
2647
+
2648
+ ## 0.0.31
2649
+
2650
+ ### Patch Changes
2651
+
2652
+ - eba071dd: feat (@ai-sdk/azure): add azure openai completion support
2653
+ - 1ea890fe: feat (@ai-sdk/azure): add azure openai completion support
2654
+
2655
+ ## 0.0.30
2656
+
2657
+ ### Patch Changes
2658
+
2659
+ - Updated dependencies
2660
+ - @ai-sdk/provider-utils@0.0.15
2661
+
2662
+ ## 0.0.29
2663
+
2664
+ ### Patch Changes
2665
+
2666
+ - 4728c37f: feat (core): add text embedding model support to provider registry
2667
+ - 7910ae84: feat (providers): support custom fetch implementations
2668
+ - Updated dependencies [7910ae84]
2669
+ - @ai-sdk/provider-utils@0.0.14
2670
+
2671
+ ## 0.0.28
2672
+
2673
+ ### Patch Changes
2674
+
2675
+ - f9db8fd6: feat (@ai-sdk/openai): add parallelToolCalls setting
2676
+
2677
+ ## 0.0.27
2678
+
2679
+ ### Patch Changes
2680
+
2681
+ - fc9552ec: fix (@ai-sdk/azure): allow for nullish delta
2682
+
2683
+ ## 0.0.26
2684
+
2685
+ ### Patch Changes
2686
+
2687
+ - 7530f861: fix (@ai-sdk/openai): add internal dist to bundle
2688
+
2689
+ ## 0.0.25
2690
+
2691
+ ### Patch Changes
2692
+
2693
+ - 8b1362a7: chore (@ai-sdk/openai): expose models under /internal for reuse in other providers
2694
+
2695
+ ## 0.0.24
2696
+
2697
+ ### Patch Changes
2698
+
2699
+ - 0e78960c: fix (@ai-sdk/openai): make function name and arguments nullish
2700
+
2701
+ ## 0.0.23
2702
+
2703
+ ### Patch Changes
2704
+
2705
+ - a68fe74a: fix (@ai-sdk/openai): allow null tool_calls value.
2706
+
2707
+ ## 0.0.22
2708
+
2709
+ ### Patch Changes
2710
+
2711
+ - Updated dependencies [102ca22f]
2712
+ - @ai-sdk/provider@0.0.10
2713
+ - @ai-sdk/provider-utils@0.0.13
2714
+
2715
+ ## 0.0.21
2716
+
2717
+ ### Patch Changes
2718
+
2719
+ - fca7d026: feat (provider/openai): support streaming tool calls that are sent in one chunk
2720
+ - Updated dependencies
2721
+ - @ai-sdk/provider@0.0.9
2722
+ - @ai-sdk/provider-utils@0.0.12
2723
+
2724
+ ## 0.0.20
2725
+
2726
+ ### Patch Changes
2727
+
2728
+ - a1d08f3e: fix (provider/openai): handle error chunks when streaming
2729
+
2730
+ ## 0.0.19
2731
+
2732
+ ### Patch Changes
2733
+
2734
+ - beb8b739: fix (provider/openai): return unknown finish reasons as unknown
2735
+
2736
+ ## 0.0.18
2737
+
2738
+ ### Patch Changes
2739
+
2740
+ - fb42e760: feat (provider/openai): send user message content as text when possible
2741
+
2742
+ ## 0.0.17
2743
+
2744
+ ### Patch Changes
2745
+
2746
+ - f39c0dd2: feat (provider): implement toolChoice support
2747
+ - Updated dependencies [f39c0dd2]
2748
+ - @ai-sdk/provider@0.0.8
2749
+ - @ai-sdk/provider-utils@0.0.11
2750
+
2751
+ ## 0.0.16
2752
+
2753
+ ### Patch Changes
2754
+
2755
+ - 2b18fa11: fix (provider/openai): remove object type validation
2756
+
2757
+ ## 0.0.15
2758
+
2759
+ ### Patch Changes
2760
+
2761
+ - 24683b72: fix (providers): Zod is required dependency
2762
+ - Updated dependencies [8e780288]
2763
+ - @ai-sdk/provider@0.0.7
2764
+ - @ai-sdk/provider-utils@0.0.10
2765
+
2766
+ ## 0.0.14
2767
+
2768
+ ### Patch Changes
2769
+
2770
+ - Updated dependencies
2771
+ - @ai-sdk/provider@0.0.6
2772
+ - @ai-sdk/provider-utils@0.0.9
2773
+
2774
+ ## 0.0.13
2775
+
2776
+ ### Patch Changes
2777
+
2778
+ - 4e3c922: fix (provider/openai): introduce compatibility mode in which "stream_options" are not sent
2779
+
2780
+ ## 0.0.12
2781
+
2782
+ ### Patch Changes
2783
+
2784
+ - 6f48839: feat (provider/openai): add gpt-4o to the list of supported models
2785
+ - 1009594: feat (provider/openai): set stream_options/include_usage to true when streaming
2786
+ - 0f6bc4e: feat (ai/core): add embed function
2787
+ - Updated dependencies [0f6bc4e]
2788
+ - @ai-sdk/provider@0.0.5
2789
+ - @ai-sdk/provider-utils@0.0.8
2790
+
2791
+ ## 0.0.11
2792
+
2793
+ ### Patch Changes
2794
+
2795
+ - Updated dependencies [325ca55]
2796
+ - @ai-sdk/provider@0.0.4
2797
+ - @ai-sdk/provider-utils@0.0.7
2798
+
2799
+ ## 0.0.10
2800
+
2801
+ ### Patch Changes
2802
+
2803
+ - Updated dependencies [276f22b]
2804
+ - @ai-sdk/provider-utils@0.0.6
2805
+
2806
+ ## 0.0.9
2807
+
2808
+ ### Patch Changes
2809
+
2810
+ - Updated dependencies [41d5736]
2811
+ - @ai-sdk/provider@0.0.3
2812
+ - @ai-sdk/provider-utils@0.0.5
2813
+
2814
+ ## 0.0.8
2815
+
2816
+ ### Patch Changes
2817
+
2818
+ - Updated dependencies [56ef84a]
2819
+ - @ai-sdk/provider-utils@0.0.4
2820
+
2821
+ ## 0.0.7
2822
+
2823
+ ### Patch Changes
2824
+
2825
+ - 0833e19: Allow optional content to support Fireworks function calling.
2826
+
2827
+ ## 0.0.6
2828
+
2829
+ ### Patch Changes
2830
+
2831
+ - d6431ae: ai/core: add logprobs support (thanks @SamStenner for the contribution)
2832
+ - 25f3350: ai/core: add support for getting raw response headers.
2833
+ - Updated dependencies
2834
+ - @ai-sdk/provider@0.0.2
2835
+ - @ai-sdk/provider-utils@0.0.3
2836
+
2837
+ ## 0.0.5
2838
+
2839
+ ### Patch Changes
2840
+
2841
+ - 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.
2842
+ - Updated dependencies [eb150a6]
2843
+ - @ai-sdk/provider-utils@0.0.2
2844
+ - @ai-sdk/provider@0.0.1
2845
+
2846
+ ## 0.0.4
2847
+
2848
+ ### Patch Changes
2849
+
2850
+ - c6fc35b: Add custom header and OpenAI project support.
2851
+
2852
+ ## 0.0.3
2853
+
2854
+ ### Patch Changes
2855
+
2856
+ - ab60b18: Simplified model construction by directly calling provider functions. Add create... functions to create provider instances.
2857
+
2858
+ ## 0.0.2
2859
+
2860
+ ### Patch Changes
2861
+
2862
+ - 2bff460: Fix build for release.
2863
+
2864
+ ## 0.0.1
2865
+
2866
+ ### Patch Changes
2867
+
2868
+ - 7b8791d: Support streams with 'chat.completion' objects.
2869
+ - 7b8791d: Rename baseUrl to baseURL. Automatically remove trailing slashes.
2870
+ - Updated dependencies [7b8791d]
2871
+ - @ai-sdk/provider-utils@0.0.1