@ai-sdk/azure 4.0.0-beta.6 → 4.0.0-beta.76

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,5 +1,601 @@
1
1
  # @ai-sdk/azure
2
2
 
3
+ ## 4.0.0-beta.76
4
+
5
+ ### Patch Changes
6
+
7
+ - b8396f0: trigger initial beta release
8
+ - Updated dependencies [b8396f0]
9
+ - @ai-sdk/deepseek@3.0.0-beta.55
10
+ - @ai-sdk/openai@4.0.0-beta.74
11
+ - @ai-sdk/provider-utils@5.0.0-beta.49
12
+ - @ai-sdk/provider@4.0.0-beta.19
13
+
14
+ ## 4.0.0-canary.75
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [aeda373]
19
+ - Updated dependencies [375fdd7]
20
+ - Updated dependencies [b4507d5]
21
+ - @ai-sdk/provider-utils@5.0.0-canary.48
22
+ - @ai-sdk/deepseek@3.0.0-canary.54
23
+ - @ai-sdk/openai@4.0.0-canary.73
24
+
25
+ ## 4.0.0-canary.74
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [bae5e2b]
30
+ - @ai-sdk/provider-utils@5.0.0-canary.47
31
+ - @ai-sdk/deepseek@3.0.0-canary.53
32
+ - @ai-sdk/openai@4.0.0-canary.72
33
+
34
+ ## 4.0.0-canary.73
35
+
36
+ ### Patch Changes
37
+
38
+ - b23b042: feat(azure): add deepseek model support to azure
39
+ - Updated dependencies [b23b042]
40
+ - @ai-sdk/deepseek@3.0.0-canary.52
41
+
42
+ ## 4.0.0-canary.72
43
+
44
+ ### Patch Changes
45
+
46
+ - Updated dependencies [ae7f932]
47
+ - @ai-sdk/openai@4.0.0-canary.71
48
+
49
+ ## 4.0.0-canary.71
50
+
51
+ ### Patch Changes
52
+
53
+ - Updated dependencies [6a5800e]
54
+ - @ai-sdk/openai@4.0.0-canary.70
55
+
56
+ ## 4.0.0-canary.70
57
+
58
+ ### Patch Changes
59
+
60
+ - Updated dependencies [ce769dd]
61
+ - @ai-sdk/provider@4.0.0-canary.18
62
+ - @ai-sdk/openai@4.0.0-canary.69
63
+ - @ai-sdk/provider-utils@5.0.0-canary.46
64
+
65
+ ## 4.0.0-canary.69
66
+
67
+ ### Patch Changes
68
+
69
+ - Updated dependencies [94eba1b]
70
+ - @ai-sdk/openai@4.0.0-canary.68
71
+
72
+ ## 4.0.0-canary.68
73
+
74
+ ### Patch Changes
75
+
76
+ - Updated dependencies [ee798eb]
77
+ - Updated dependencies [61bcdb5]
78
+ - Updated dependencies [daf6637]
79
+ - @ai-sdk/provider-utils@5.0.0-canary.45
80
+ - @ai-sdk/openai@4.0.0-canary.67
81
+
82
+ ## 4.0.0-canary.67
83
+
84
+ ### Patch Changes
85
+
86
+ - 9f4dca0: Add Microsoft Entra ID token provider authentication for Azure OpenAI.
87
+
88
+ ## 4.0.0-canary.66
89
+
90
+ ### Patch Changes
91
+
92
+ - e776fc7: feat(provider/azure):web search tool in the Azure OpenAI Responses API.
93
+ - Updated dependencies [e776fc7]
94
+ - @ai-sdk/openai@4.0.0-canary.66
95
+
96
+ ## 4.0.0-canary.65
97
+
98
+ ### Patch Changes
99
+
100
+ - Updated dependencies [cd3de8b]
101
+ - @ai-sdk/openai@4.0.0-canary.65
102
+
103
+ ## 4.0.0-canary.64
104
+
105
+ ### Patch Changes
106
+
107
+ - Updated dependencies [6c93e36]
108
+ - Updated dependencies [f617ac2]
109
+ - @ai-sdk/provider-utils@5.0.0-canary.44
110
+ - @ai-sdk/openai@4.0.0-canary.64
111
+
112
+ ## 4.0.0-canary.63
113
+
114
+ ### Patch Changes
115
+
116
+ - Updated dependencies [17b5597]
117
+ - @ai-sdk/openai@4.0.0-canary.63
118
+
119
+ ## 4.0.0-canary.62
120
+
121
+ ### Patch Changes
122
+
123
+ - Updated dependencies [bf837fe]
124
+ - @ai-sdk/openai@4.0.0-canary.62
125
+
126
+ ## 4.0.0-canary.61
127
+
128
+ ### Patch Changes
129
+
130
+ - 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
131
+ - Updated dependencies [7fc6bd6]
132
+ - @ai-sdk/openai@4.0.0-canary.61
133
+ - @ai-sdk/provider-utils@5.0.0-canary.43
134
+ - @ai-sdk/provider@4.0.0-canary.17
135
+
136
+ ## 4.0.0-canary.60
137
+
138
+ ### Patch Changes
139
+
140
+ - Updated dependencies [a6617c5]
141
+ - @ai-sdk/provider-utils@5.0.0-canary.42
142
+ - @ai-sdk/openai@4.0.0-canary.60
143
+
144
+ ## 4.0.0-canary.59
145
+
146
+ ### Patch Changes
147
+
148
+ - Updated dependencies [685cec7]
149
+ - @ai-sdk/openai@4.0.0-canary.59
150
+
151
+ ## 4.0.0-canary.58
152
+
153
+ ### Patch Changes
154
+
155
+ - Updated dependencies [28dfa06]
156
+ - Updated dependencies [e93fa91]
157
+ - @ai-sdk/provider-utils@5.0.0-canary.41
158
+ - @ai-sdk/openai@4.0.0-canary.58
159
+
160
+ ## 4.0.0-canary.57
161
+
162
+ ### Patch Changes
163
+
164
+ - Updated dependencies [a7de9c9]
165
+ - @ai-sdk/provider-utils@5.0.0-canary.40
166
+ - @ai-sdk/openai@4.0.0-canary.57
167
+
168
+ ## 4.0.0-canary.56
169
+
170
+ ### Patch Changes
171
+
172
+ - Updated dependencies [105f95b]
173
+ - @ai-sdk/provider-utils@5.0.0-canary.39
174
+ - @ai-sdk/openai@4.0.0-canary.56
175
+
176
+ ## 4.0.0-canary.55
177
+
178
+ ### Patch Changes
179
+
180
+ - Updated dependencies [ca446f8]
181
+ - @ai-sdk/provider-utils@5.0.0-canary.38
182
+ - @ai-sdk/openai@4.0.0-canary.55
183
+
184
+ ## 4.0.0-canary.54
185
+
186
+ ### Patch Changes
187
+
188
+ - Updated dependencies [d848405]
189
+ - @ai-sdk/provider-utils@5.0.0-canary.37
190
+ - @ai-sdk/openai@4.0.0-canary.54
191
+
192
+ ## 4.0.0-canary.53
193
+
194
+ ### Patch Changes
195
+
196
+ - Updated dependencies [ca39020]
197
+ - @ai-sdk/provider-utils@5.0.0-canary.36
198
+ - @ai-sdk/openai@4.0.0-canary.53
199
+
200
+ ## 4.0.0-canary.52
201
+
202
+ ### Patch Changes
203
+
204
+ - Updated dependencies [f634bac]
205
+ - @ai-sdk/provider-utils@5.0.0-canary.35
206
+ - @ai-sdk/openai@4.0.0-canary.52
207
+
208
+ ## 4.0.0-canary.51
209
+
210
+ ### Patch Changes
211
+
212
+ - Updated dependencies [69254e0]
213
+ - Updated dependencies [3015fc3]
214
+ - @ai-sdk/provider-utils@5.0.0-canary.34
215
+ - @ai-sdk/openai@4.0.0-canary.51
216
+
217
+ ## 4.0.0-canary.50
218
+
219
+ ### Patch Changes
220
+
221
+ - Updated dependencies [29e6ac6]
222
+ - @ai-sdk/openai@4.0.0-canary.50
223
+
224
+ ## 4.0.0-canary.49
225
+
226
+ ### Patch Changes
227
+
228
+ - Updated dependencies [2427d88]
229
+ - Updated dependencies [7bbc194]
230
+ - @ai-sdk/provider-utils@5.0.0-canary.33
231
+ - @ai-sdk/openai@4.0.0-canary.49
232
+
233
+ ## 4.0.0-canary.48
234
+
235
+ ### Patch Changes
236
+
237
+ - Updated dependencies [d6c79e3]
238
+ - @ai-sdk/openai@4.0.0-canary.48
239
+
240
+ ## 4.0.0-canary.47
241
+
242
+ ### Patch Changes
243
+
244
+ - Updated dependencies [5463d0d]
245
+ - @ai-sdk/provider-utils@5.0.0-canary.32
246
+ - @ai-sdk/provider@4.0.0-canary.16
247
+ - @ai-sdk/openai@4.0.0-canary.47
248
+
249
+ ## 4.0.0-canary.46
250
+
251
+ ### Patch Changes
252
+
253
+ - Updated dependencies [cd9c311]
254
+ - @ai-sdk/openai@4.0.0-canary.46
255
+
256
+ ## 4.0.0-canary.45
257
+
258
+ ### Patch Changes
259
+
260
+ - 0c4c275: trigger initial canary release
261
+ - Updated dependencies [0c4c275]
262
+ - @ai-sdk/provider-utils@5.0.0-canary.31
263
+ - @ai-sdk/provider@4.0.0-canary.15
264
+ - @ai-sdk/openai@4.0.0-canary.45
265
+
266
+ ## 4.0.0-beta.44
267
+
268
+ ### Patch Changes
269
+
270
+ - Updated dependencies [bada0f3]
271
+ - @ai-sdk/openai@4.0.0-beta.44
272
+
273
+ ## 4.0.0-beta.43
274
+
275
+ ### Patch Changes
276
+
277
+ - Updated dependencies [9ea40e0]
278
+ - @ai-sdk/openai@4.0.0-beta.43
279
+
280
+ ## 4.0.0-beta.42
281
+
282
+ ### Patch Changes
283
+
284
+ - Updated dependencies [08d2129]
285
+ - Updated dependencies [04e9009]
286
+ - @ai-sdk/provider-utils@5.0.0-beta.30
287
+ - @ai-sdk/openai@4.0.0-beta.42
288
+
289
+ ## 4.0.0-beta.41
290
+
291
+ ### Patch Changes
292
+
293
+ - 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
294
+ - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
295
+ - Updated dependencies [9bd6512]
296
+ - Updated dependencies [258c093]
297
+ - Updated dependencies [b6783da]
298
+ - @ai-sdk/provider-utils@5.0.0-beta.29
299
+ - @ai-sdk/provider@4.0.0-beta.14
300
+ - @ai-sdk/openai@4.0.0-beta.41
301
+
302
+ ## 4.0.0-beta.40
303
+
304
+ ### Patch Changes
305
+
306
+ - 9f0e36c: trigger release for all packages after provenance setup
307
+ - Updated dependencies [9f0e36c]
308
+ - @ai-sdk/openai@4.0.0-beta.40
309
+ - @ai-sdk/provider@4.0.0-beta.13
310
+ - @ai-sdk/provider-utils@5.0.0-beta.28
311
+
312
+ ## 4.0.0-beta.39
313
+
314
+ ### Patch Changes
315
+
316
+ - Updated dependencies [785fe16]
317
+ - Updated dependencies [67df0a0]
318
+ - Updated dependencies [befb78c]
319
+ - Updated dependencies [0458559]
320
+ - Updated dependencies [58a2ad7]
321
+ - Updated dependencies [5852c0a]
322
+ - Updated dependencies [fc92055]
323
+ - Updated dependencies [f9acbc0]
324
+ - @ai-sdk/provider-utils@5.0.0-beta.27
325
+ - @ai-sdk/openai@4.0.0-beta.39
326
+
327
+ ## 4.0.0-beta.38
328
+
329
+ ### Patch Changes
330
+
331
+ - Updated dependencies [2e98477]
332
+ - Updated dependencies [bfb756d]
333
+ - @ai-sdk/provider-utils@5.0.0-beta.26
334
+ - @ai-sdk/openai@4.0.0-beta.38
335
+
336
+ ## 4.0.0-beta.37
337
+
338
+ ### Patch Changes
339
+
340
+ - Updated dependencies [eea8d98]
341
+ - @ai-sdk/provider-utils@5.0.0-beta.25
342
+ - @ai-sdk/openai@4.0.0-beta.37
343
+
344
+ ## 4.0.0-beta.36
345
+
346
+ ### Patch Changes
347
+
348
+ - Updated dependencies [f807e45]
349
+ - @ai-sdk/provider-utils@5.0.0-beta.24
350
+ - @ai-sdk/openai@4.0.0-beta.36
351
+
352
+ ## 4.0.0-beta.35
353
+
354
+ ### Patch Changes
355
+
356
+ - Updated dependencies [350ea38]
357
+ - @ai-sdk/provider-utils@5.0.0-beta.23
358
+ - @ai-sdk/openai@4.0.0-beta.35
359
+
360
+ ## 4.0.0-beta.34
361
+
362
+ ### Patch Changes
363
+
364
+ - Updated dependencies [083947b]
365
+ - @ai-sdk/provider-utils@5.0.0-beta.22
366
+ - @ai-sdk/openai@4.0.0-beta.34
367
+
368
+ ## 4.0.0-beta.33
369
+
370
+ ### Patch Changes
371
+
372
+ - Updated dependencies [add1126]
373
+ - @ai-sdk/provider-utils@5.0.0-beta.21
374
+ - @ai-sdk/openai@4.0.0-beta.33
375
+
376
+ ## 4.0.0-beta.32
377
+
378
+ ### Patch Changes
379
+
380
+ - Updated dependencies [0c4ac8a]
381
+ - @ai-sdk/openai@4.0.0-beta.32
382
+
383
+ ## 4.0.0-beta.31
384
+
385
+ ### Patch Changes
386
+
387
+ - Updated dependencies [b3976a2]
388
+ - Updated dependencies [ff5eba1]
389
+ - @ai-sdk/provider-utils@5.0.0-beta.20
390
+ - @ai-sdk/openai@4.0.0-beta.31
391
+ - @ai-sdk/provider@4.0.0-beta.12
392
+
393
+ ## 4.0.0-beta.30
394
+
395
+ ### Major Changes
396
+
397
+ - ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
398
+
399
+ ### Patch Changes
400
+
401
+ - Updated dependencies [ef992f8]
402
+ - @ai-sdk/openai@4.0.0-beta.30
403
+ - @ai-sdk/provider@4.0.0-beta.11
404
+ - @ai-sdk/provider-utils@5.0.0-beta.19
405
+
406
+ ## 4.0.0-beta.29
407
+
408
+ ### Patch Changes
409
+
410
+ - Updated dependencies [90e2d8a]
411
+ - @ai-sdk/provider-utils@5.0.0-beta.18
412
+ - @ai-sdk/openai@4.0.0-beta.29
413
+
414
+ ## 4.0.0-beta.28
415
+
416
+ ### Patch Changes
417
+
418
+ - Updated dependencies [3ae1786]
419
+ - @ai-sdk/provider-utils@5.0.0-beta.17
420
+ - @ai-sdk/openai@4.0.0-beta.28
421
+
422
+ ## 4.0.0-beta.27
423
+
424
+ ### Patch Changes
425
+
426
+ - Updated dependencies [176466a]
427
+ - @ai-sdk/provider@4.0.0-beta.10
428
+ - @ai-sdk/openai@4.0.0-beta.27
429
+ - @ai-sdk/provider-utils@5.0.0-beta.16
430
+
431
+ ## 4.0.0-beta.26
432
+
433
+ ### Patch Changes
434
+
435
+ - Updated dependencies [e311194]
436
+ - @ai-sdk/provider@4.0.0-beta.9
437
+ - @ai-sdk/openai@4.0.0-beta.26
438
+ - @ai-sdk/provider-utils@5.0.0-beta.15
439
+
440
+ ## 4.0.0-beta.25
441
+
442
+ ### Patch Changes
443
+
444
+ - Updated dependencies [34bd95d]
445
+ - Updated dependencies [008271d]
446
+ - @ai-sdk/provider@4.0.0-beta.8
447
+ - @ai-sdk/openai@4.0.0-beta.25
448
+ - @ai-sdk/provider-utils@5.0.0-beta.14
449
+
450
+ ## 4.0.0-beta.24
451
+
452
+ ### Patch Changes
453
+
454
+ - Updated dependencies [b0c2869]
455
+ - Updated dependencies [7e26e81]
456
+ - @ai-sdk/provider-utils@5.0.0-beta.13
457
+ - @ai-sdk/openai@4.0.0-beta.24
458
+
459
+ ## 4.0.0-beta.23
460
+
461
+ ### Patch Changes
462
+
463
+ - Updated dependencies [46d1149]
464
+ - @ai-sdk/provider-utils@5.0.0-beta.12
465
+ - @ai-sdk/openai@4.0.0-beta.23
466
+
467
+ ## 4.0.0-beta.22
468
+
469
+ ### Patch Changes
470
+
471
+ - Updated dependencies [6fd51c0]
472
+ - @ai-sdk/provider-utils@5.0.0-beta.11
473
+ - @ai-sdk/provider@4.0.0-beta.7
474
+ - @ai-sdk/openai@4.0.0-beta.22
475
+
476
+ ## 4.0.0-beta.21
477
+
478
+ ### Patch Changes
479
+
480
+ - c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
481
+ - Updated dependencies [c29a26f]
482
+ - @ai-sdk/provider-utils@5.0.0-beta.10
483
+ - @ai-sdk/provider@4.0.0-beta.6
484
+ - @ai-sdk/openai@4.0.0-beta.21
485
+
486
+ ## 4.0.0-beta.20
487
+
488
+ ### Patch Changes
489
+
490
+ - 38fc777: Add AI Gateway hint to provider READMEs
491
+ - Updated dependencies [38fc777]
492
+ - @ai-sdk/openai@4.0.0-beta.20
493
+
494
+ ## 4.0.0-beta.19
495
+
496
+ ### Patch Changes
497
+
498
+ - Updated dependencies [2e17091]
499
+ - @ai-sdk/provider-utils@5.0.0-beta.9
500
+ - @ai-sdk/openai@4.0.0-beta.19
501
+
502
+ ## 4.0.0-beta.18
503
+
504
+ ### Patch Changes
505
+
506
+ - Updated dependencies [986c6fd]
507
+ - Updated dependencies [493295c]
508
+ - @ai-sdk/provider-utils@5.0.0-beta.8
509
+ - @ai-sdk/openai@4.0.0-beta.18
510
+
511
+ ## 4.0.0-beta.17
512
+
513
+ ### Patch Changes
514
+
515
+ - Updated dependencies [817a1a6]
516
+ - @ai-sdk/openai@4.0.0-beta.17
517
+
518
+ ## 4.0.0-beta.16
519
+
520
+ ### Patch Changes
521
+
522
+ - Updated dependencies [1f509d4]
523
+ - @ai-sdk/provider-utils@5.0.0-beta.7
524
+ - @ai-sdk/provider@4.0.0-beta.5
525
+ - @ai-sdk/openai@4.0.0-beta.16
526
+
527
+ ## 4.0.0-beta.15
528
+
529
+ ### Patch Changes
530
+
531
+ - Updated dependencies [365da1a]
532
+ - @ai-sdk/openai@4.0.0-beta.15
533
+
534
+ ## 4.0.0-beta.14
535
+
536
+ ### Patch Changes
537
+
538
+ - Updated dependencies [e6376c2]
539
+ - @ai-sdk/openai@4.0.0-beta.14
540
+
541
+ ## 4.0.0-beta.13
542
+
543
+ ### Patch Changes
544
+
545
+ - Updated dependencies [3887c70]
546
+ - @ai-sdk/provider-utils@5.0.0-beta.6
547
+ - @ai-sdk/provider@4.0.0-beta.4
548
+ - @ai-sdk/openai@4.0.0-beta.13
549
+
550
+ ## 4.0.0-beta.12
551
+
552
+ ### Patch Changes
553
+
554
+ - Updated dependencies [d9a1e9a]
555
+ - @ai-sdk/openai@4.0.0-beta.12
556
+
557
+ ## 4.0.0-beta.11
558
+
559
+ ### Patch Changes
560
+
561
+ - Updated dependencies [776b617]
562
+ - @ai-sdk/provider-utils@5.0.0-beta.5
563
+ - @ai-sdk/provider@4.0.0-beta.3
564
+ - @ai-sdk/openai@4.0.0-beta.11
565
+
566
+ ## 4.0.0-beta.10
567
+
568
+ ### Patch Changes
569
+
570
+ - Updated dependencies [61753c3]
571
+ - @ai-sdk/provider-utils@5.0.0-beta.4
572
+ - @ai-sdk/openai@4.0.0-beta.10
573
+
574
+ ## 4.0.0-beta.9
575
+
576
+ ### Patch Changes
577
+
578
+ - Updated dependencies [156cdf0]
579
+ - @ai-sdk/openai@4.0.0-beta.9
580
+
581
+ ## 4.0.0-beta.8
582
+
583
+ ### Patch Changes
584
+
585
+ - Updated dependencies [f7d4f01]
586
+ - @ai-sdk/provider-utils@5.0.0-beta.3
587
+ - @ai-sdk/provider@4.0.0-beta.2
588
+ - @ai-sdk/openai@4.0.0-beta.8
589
+
590
+ ## 4.0.0-beta.7
591
+
592
+ ### Patch Changes
593
+
594
+ - Updated dependencies [5c2a5a2]
595
+ - @ai-sdk/provider@4.0.0-beta.1
596
+ - @ai-sdk/openai@4.0.0-beta.7
597
+ - @ai-sdk/provider-utils@5.0.0-beta.2
598
+
3
599
  ## 4.0.0-beta.6
4
600
 
5
601
  ### Patch Changes
@@ -422,13 +1018,13 @@
422
1018
  Before
423
1019
 
424
1020
  ```ts
425
- model.textEmbeddingModel('my-model-id');
1021
+ model.textEmbeddingModel("my-model-id");
426
1022
  ```
427
1023
 
428
1024
  After
429
1025
 
430
1026
  ```ts
431
- model.embeddingModel('my-model-id');
1027
+ model.embeddingModel("my-model-id");
432
1028
  ```
433
1029
 
434
1030
  - d64ece9: enables image_generation capabilities in the Azure provider through the Responses API.
@@ -815,13 +1411,13 @@
815
1411
  Before
816
1412
 
817
1413
  ```ts
818
- model.textEmbeddingModel('my-model-id');
1414
+ model.textEmbeddingModel("my-model-id");
819
1415
  ```
820
1416
 
821
1417
  After
822
1418
 
823
1419
  ```ts
824
- model.embeddingModel('my-model-id');
1420
+ model.embeddingModel("my-model-id");
825
1421
  ```
826
1422
 
827
1423
  - Updated dependencies [8d9e8ad]
@@ -1652,7 +2248,7 @@
1652
2248
 
1653
2249
  ```js
1654
2250
  await generateImage({
1655
- model: luma.image('photon-flash-1', {
2251
+ model: luma.image("photon-flash-1", {
1656
2252
  maxImagesPerCall: 5,
1657
2253
  pollIntervalMillis: 500,
1658
2254
  }),
@@ -1665,7 +2261,7 @@
1665
2261
 
1666
2262
  ```js
1667
2263
  await generateImage({
1668
- model: luma.image('photon-flash-1'),
2264
+ model: luma.image("photon-flash-1"),
1669
2265
  prompt,
1670
2266
  n: 10,
1671
2267
  maxImagesPerCall: 5,
@@ -1979,7 +2575,7 @@
1979
2575
 
1980
2576
  ```js
1981
2577
  await generateImage({
1982
- model: luma.image('photon-flash-1', {
2578
+ model: luma.image("photon-flash-1", {
1983
2579
  maxImagesPerCall: 5,
1984
2580
  pollIntervalMillis: 500,
1985
2581
  }),
@@ -1992,7 +2588,7 @@
1992
2588
 
1993
2589
  ```js
1994
2590
  await generateImage({
1995
- model: luma.image('photon-flash-1'),
2591
+ model: luma.image("photon-flash-1"),
1996
2592
  prompt,
1997
2593
  n: 10,
1998
2594
  maxImagesPerCall: 5,
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  The **[Azure provider](https://ai-sdk.dev/providers/ai-sdk-providers/azure)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the Azure OpenAI API.
4
4
 
5
+ > **Deploying to Vercel?** With Vercel's AI Gateway you can access Azure OpenAI (and hundreds of models from other providers) — no additional packages, API keys, or extra cost. [Get started with AI Gateway](https://vercel.com/ai-gateway).
6
+
5
7
  ## Setup
6
8
 
7
9
  The Azure provider is available in the `@ai-sdk/azure` module. You can install it with
package/dist/index.d.ts CHANGED
@@ -1,12 +1,14 @@
1
+ import { DeepSeekLanguageModelChatOptions } from '@ai-sdk/deepseek';
1
2
  export { OpenAILanguageModelChatOptions as OpenAIChatLanguageModelOptions, OpenAILanguageModelChatOptions, OpenAILanguageModelResponsesOptions, OpenAILanguageModelResponsesOptions as OpenAIResponsesProviderOptions } from '@ai-sdk/openai';
2
3
  import { ProviderV4, LanguageModelV4, EmbeddingModelV4, ImageModelV4, TranscriptionModelV4, SpeechModelV4 } from '@ai-sdk/provider';
3
4
  import { FetchFunction } from '@ai-sdk/provider-utils';
4
- import { codeInterpreter, fileSearch, imageGeneration, webSearchPreview, ResponsesProviderMetadata, ResponsesReasoningProviderMetadata, ResponsesTextProviderMetadata, ResponsesSourceDocumentProviderMetadata } from '@ai-sdk/openai/internal';
5
+ import { codeInterpreter, fileSearch, imageGeneration, webSearch, webSearchPreview, ResponsesProviderMetadata, ResponsesReasoningProviderMetadata, ResponsesSourceDocumentProviderMetadata, ResponsesTextProviderMetadata } from '@ai-sdk/openai/internal';
5
6
 
6
7
  declare const azureOpenaiTools: {
7
8
  codeInterpreter: typeof codeInterpreter;
8
9
  fileSearch: typeof fileSearch;
9
10
  imageGeneration: typeof imageGeneration;
11
+ webSearch: typeof webSearch;
10
12
  webSearchPreview: typeof webSearchPreview;
11
13
  };
12
14
 
@@ -20,6 +22,10 @@ interface AzureOpenAIProvider extends ProviderV4 {
20
22
  * Creates an Azure OpenAI chat model for text generation.
21
23
  */
22
24
  chat(deploymentId: string): LanguageModelV4;
25
+ /**
26
+ * Creates an Azure-hosted DeepSeek chat model for text generation.
27
+ */
28
+ deepseek(deploymentId: string): LanguageModelV4;
23
29
  /**
24
30
  * Creates an Azure OpenAI responses API model for text generation.
25
31
  */
@@ -83,6 +89,12 @@ interface AzureOpenAIProviderSettings {
83
89
  * API key for authenticating requests.
84
90
  */
85
91
  apiKey?: string;
92
+ /**
93
+ * A function that returns an access token for Microsoft Entra
94
+ * (formerly known as Azure Active Directory), which will be invoked
95
+ * on every request.
96
+ */
97
+ tokenProvider?: (() => Promise<string>) | undefined;
86
98
  /**
87
99
  * Custom headers to include in the requests.
88
100
  */
@@ -127,4 +139,8 @@ type AzureResponsesSourceDocumentProviderMetadata = {
127
139
 
128
140
  declare const VERSION: string;
129
141
 
130
- export { type AzureOpenAIProvider, type AzureOpenAIProviderSettings, type AzureResponsesProviderMetadata, type AzureResponsesReasoningProviderMetadata, type AzureResponsesSourceDocumentProviderMetadata, type AzureResponsesTextProviderMetadata, VERSION, azure, createAzure };
142
+ type AzureDeepSeekLanguageModelOptions = Omit<DeepSeekLanguageModelChatOptions, 'thinking'>;
143
+ /** @deprecated Use `AzureDeepSeekLanguageModelOptions` instead. */
144
+ type AzureDeepSeekChatOptions = AzureDeepSeekLanguageModelOptions;
145
+
146
+ export { type AzureDeepSeekChatOptions, type AzureDeepSeekLanguageModelOptions, type AzureOpenAIProvider, type AzureOpenAIProviderSettings, type AzureResponsesProviderMetadata, type AzureResponsesReasoningProviderMetadata, type AzureResponsesSourceDocumentProviderMetadata, type AzureResponsesTextProviderMetadata, VERSION, azure, createAzure };