@ai-sdk/azure 4.0.0-beta.7 → 4.0.0-beta.77

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,599 @@
1
1
  # @ai-sdk/azure
2
2
 
3
+ ## 4.0.0-beta.77
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [1772a63]
8
+ - @ai-sdk/openai@4.0.0-beta.75
9
+
10
+ ## 4.0.0-beta.76
11
+
12
+ ### Patch Changes
13
+
14
+ - b8396f0: trigger initial beta release
15
+ - Updated dependencies [b8396f0]
16
+ - @ai-sdk/deepseek@3.0.0-beta.55
17
+ - @ai-sdk/openai@4.0.0-beta.74
18
+ - @ai-sdk/provider-utils@5.0.0-beta.49
19
+ - @ai-sdk/provider@4.0.0-beta.19
20
+
21
+ ## 4.0.0-canary.75
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [aeda373]
26
+ - Updated dependencies [375fdd7]
27
+ - Updated dependencies [b4507d5]
28
+ - @ai-sdk/provider-utils@5.0.0-canary.48
29
+ - @ai-sdk/deepseek@3.0.0-canary.54
30
+ - @ai-sdk/openai@4.0.0-canary.73
31
+
32
+ ## 4.0.0-canary.74
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies [bae5e2b]
37
+ - @ai-sdk/provider-utils@5.0.0-canary.47
38
+ - @ai-sdk/deepseek@3.0.0-canary.53
39
+ - @ai-sdk/openai@4.0.0-canary.72
40
+
41
+ ## 4.0.0-canary.73
42
+
43
+ ### Patch Changes
44
+
45
+ - b23b042: feat(azure): add deepseek model support to azure
46
+ - Updated dependencies [b23b042]
47
+ - @ai-sdk/deepseek@3.0.0-canary.52
48
+
49
+ ## 4.0.0-canary.72
50
+
51
+ ### Patch Changes
52
+
53
+ - Updated dependencies [ae7f932]
54
+ - @ai-sdk/openai@4.0.0-canary.71
55
+
56
+ ## 4.0.0-canary.71
57
+
58
+ ### Patch Changes
59
+
60
+ - Updated dependencies [6a5800e]
61
+ - @ai-sdk/openai@4.0.0-canary.70
62
+
63
+ ## 4.0.0-canary.70
64
+
65
+ ### Patch Changes
66
+
67
+ - Updated dependencies [ce769dd]
68
+ - @ai-sdk/provider@4.0.0-canary.18
69
+ - @ai-sdk/openai@4.0.0-canary.69
70
+ - @ai-sdk/provider-utils@5.0.0-canary.46
71
+
72
+ ## 4.0.0-canary.69
73
+
74
+ ### Patch Changes
75
+
76
+ - Updated dependencies [94eba1b]
77
+ - @ai-sdk/openai@4.0.0-canary.68
78
+
79
+ ## 4.0.0-canary.68
80
+
81
+ ### Patch Changes
82
+
83
+ - Updated dependencies [ee798eb]
84
+ - Updated dependencies [61bcdb5]
85
+ - Updated dependencies [daf6637]
86
+ - @ai-sdk/provider-utils@5.0.0-canary.45
87
+ - @ai-sdk/openai@4.0.0-canary.67
88
+
89
+ ## 4.0.0-canary.67
90
+
91
+ ### Patch Changes
92
+
93
+ - 9f4dca0: Add Microsoft Entra ID token provider authentication for Azure OpenAI.
94
+
95
+ ## 4.0.0-canary.66
96
+
97
+ ### Patch Changes
98
+
99
+ - e776fc7: feat(provider/azure):web search tool in the Azure OpenAI Responses API.
100
+ - Updated dependencies [e776fc7]
101
+ - @ai-sdk/openai@4.0.0-canary.66
102
+
103
+ ## 4.0.0-canary.65
104
+
105
+ ### Patch Changes
106
+
107
+ - Updated dependencies [cd3de8b]
108
+ - @ai-sdk/openai@4.0.0-canary.65
109
+
110
+ ## 4.0.0-canary.64
111
+
112
+ ### Patch Changes
113
+
114
+ - Updated dependencies [6c93e36]
115
+ - Updated dependencies [f617ac2]
116
+ - @ai-sdk/provider-utils@5.0.0-canary.44
117
+ - @ai-sdk/openai@4.0.0-canary.64
118
+
119
+ ## 4.0.0-canary.63
120
+
121
+ ### Patch Changes
122
+
123
+ - Updated dependencies [17b5597]
124
+ - @ai-sdk/openai@4.0.0-canary.63
125
+
126
+ ## 4.0.0-canary.62
127
+
128
+ ### Patch Changes
129
+
130
+ - Updated dependencies [bf837fe]
131
+ - @ai-sdk/openai@4.0.0-canary.62
132
+
133
+ ## 4.0.0-canary.61
134
+
135
+ ### Patch Changes
136
+
137
+ - 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
138
+ - Updated dependencies [7fc6bd6]
139
+ - @ai-sdk/openai@4.0.0-canary.61
140
+ - @ai-sdk/provider-utils@5.0.0-canary.43
141
+ - @ai-sdk/provider@4.0.0-canary.17
142
+
143
+ ## 4.0.0-canary.60
144
+
145
+ ### Patch Changes
146
+
147
+ - Updated dependencies [a6617c5]
148
+ - @ai-sdk/provider-utils@5.0.0-canary.42
149
+ - @ai-sdk/openai@4.0.0-canary.60
150
+
151
+ ## 4.0.0-canary.59
152
+
153
+ ### Patch Changes
154
+
155
+ - Updated dependencies [685cec7]
156
+ - @ai-sdk/openai@4.0.0-canary.59
157
+
158
+ ## 4.0.0-canary.58
159
+
160
+ ### Patch Changes
161
+
162
+ - Updated dependencies [28dfa06]
163
+ - Updated dependencies [e93fa91]
164
+ - @ai-sdk/provider-utils@5.0.0-canary.41
165
+ - @ai-sdk/openai@4.0.0-canary.58
166
+
167
+ ## 4.0.0-canary.57
168
+
169
+ ### Patch Changes
170
+
171
+ - Updated dependencies [a7de9c9]
172
+ - @ai-sdk/provider-utils@5.0.0-canary.40
173
+ - @ai-sdk/openai@4.0.0-canary.57
174
+
175
+ ## 4.0.0-canary.56
176
+
177
+ ### Patch Changes
178
+
179
+ - Updated dependencies [105f95b]
180
+ - @ai-sdk/provider-utils@5.0.0-canary.39
181
+ - @ai-sdk/openai@4.0.0-canary.56
182
+
183
+ ## 4.0.0-canary.55
184
+
185
+ ### Patch Changes
186
+
187
+ - Updated dependencies [ca446f8]
188
+ - @ai-sdk/provider-utils@5.0.0-canary.38
189
+ - @ai-sdk/openai@4.0.0-canary.55
190
+
191
+ ## 4.0.0-canary.54
192
+
193
+ ### Patch Changes
194
+
195
+ - Updated dependencies [d848405]
196
+ - @ai-sdk/provider-utils@5.0.0-canary.37
197
+ - @ai-sdk/openai@4.0.0-canary.54
198
+
199
+ ## 4.0.0-canary.53
200
+
201
+ ### Patch Changes
202
+
203
+ - Updated dependencies [ca39020]
204
+ - @ai-sdk/provider-utils@5.0.0-canary.36
205
+ - @ai-sdk/openai@4.0.0-canary.53
206
+
207
+ ## 4.0.0-canary.52
208
+
209
+ ### Patch Changes
210
+
211
+ - Updated dependencies [f634bac]
212
+ - @ai-sdk/provider-utils@5.0.0-canary.35
213
+ - @ai-sdk/openai@4.0.0-canary.52
214
+
215
+ ## 4.0.0-canary.51
216
+
217
+ ### Patch Changes
218
+
219
+ - Updated dependencies [69254e0]
220
+ - Updated dependencies [3015fc3]
221
+ - @ai-sdk/provider-utils@5.0.0-canary.34
222
+ - @ai-sdk/openai@4.0.0-canary.51
223
+
224
+ ## 4.0.0-canary.50
225
+
226
+ ### Patch Changes
227
+
228
+ - Updated dependencies [29e6ac6]
229
+ - @ai-sdk/openai@4.0.0-canary.50
230
+
231
+ ## 4.0.0-canary.49
232
+
233
+ ### Patch Changes
234
+
235
+ - Updated dependencies [2427d88]
236
+ - Updated dependencies [7bbc194]
237
+ - @ai-sdk/provider-utils@5.0.0-canary.33
238
+ - @ai-sdk/openai@4.0.0-canary.49
239
+
240
+ ## 4.0.0-canary.48
241
+
242
+ ### Patch Changes
243
+
244
+ - Updated dependencies [d6c79e3]
245
+ - @ai-sdk/openai@4.0.0-canary.48
246
+
247
+ ## 4.0.0-canary.47
248
+
249
+ ### Patch Changes
250
+
251
+ - Updated dependencies [5463d0d]
252
+ - @ai-sdk/provider-utils@5.0.0-canary.32
253
+ - @ai-sdk/provider@4.0.0-canary.16
254
+ - @ai-sdk/openai@4.0.0-canary.47
255
+
256
+ ## 4.0.0-canary.46
257
+
258
+ ### Patch Changes
259
+
260
+ - Updated dependencies [cd9c311]
261
+ - @ai-sdk/openai@4.0.0-canary.46
262
+
263
+ ## 4.0.0-canary.45
264
+
265
+ ### Patch Changes
266
+
267
+ - 0c4c275: trigger initial canary release
268
+ - Updated dependencies [0c4c275]
269
+ - @ai-sdk/provider-utils@5.0.0-canary.31
270
+ - @ai-sdk/provider@4.0.0-canary.15
271
+ - @ai-sdk/openai@4.0.0-canary.45
272
+
273
+ ## 4.0.0-beta.44
274
+
275
+ ### Patch Changes
276
+
277
+ - Updated dependencies [bada0f3]
278
+ - @ai-sdk/openai@4.0.0-beta.44
279
+
280
+ ## 4.0.0-beta.43
281
+
282
+ ### Patch Changes
283
+
284
+ - Updated dependencies [9ea40e0]
285
+ - @ai-sdk/openai@4.0.0-beta.43
286
+
287
+ ## 4.0.0-beta.42
288
+
289
+ ### Patch Changes
290
+
291
+ - Updated dependencies [08d2129]
292
+ - Updated dependencies [04e9009]
293
+ - @ai-sdk/provider-utils@5.0.0-beta.30
294
+ - @ai-sdk/openai@4.0.0-beta.42
295
+
296
+ ## 4.0.0-beta.41
297
+
298
+ ### Patch Changes
299
+
300
+ - 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
301
+ - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
302
+ - Updated dependencies [9bd6512]
303
+ - Updated dependencies [258c093]
304
+ - Updated dependencies [b6783da]
305
+ - @ai-sdk/provider-utils@5.0.0-beta.29
306
+ - @ai-sdk/provider@4.0.0-beta.14
307
+ - @ai-sdk/openai@4.0.0-beta.41
308
+
309
+ ## 4.0.0-beta.40
310
+
311
+ ### Patch Changes
312
+
313
+ - 9f0e36c: trigger release for all packages after provenance setup
314
+ - Updated dependencies [9f0e36c]
315
+ - @ai-sdk/openai@4.0.0-beta.40
316
+ - @ai-sdk/provider@4.0.0-beta.13
317
+ - @ai-sdk/provider-utils@5.0.0-beta.28
318
+
319
+ ## 4.0.0-beta.39
320
+
321
+ ### Patch Changes
322
+
323
+ - Updated dependencies [785fe16]
324
+ - Updated dependencies [67df0a0]
325
+ - Updated dependencies [befb78c]
326
+ - Updated dependencies [0458559]
327
+ - Updated dependencies [58a2ad7]
328
+ - Updated dependencies [5852c0a]
329
+ - Updated dependencies [fc92055]
330
+ - Updated dependencies [f9acbc0]
331
+ - @ai-sdk/provider-utils@5.0.0-beta.27
332
+ - @ai-sdk/openai@4.0.0-beta.39
333
+
334
+ ## 4.0.0-beta.38
335
+
336
+ ### Patch Changes
337
+
338
+ - Updated dependencies [2e98477]
339
+ - Updated dependencies [bfb756d]
340
+ - @ai-sdk/provider-utils@5.0.0-beta.26
341
+ - @ai-sdk/openai@4.0.0-beta.38
342
+
343
+ ## 4.0.0-beta.37
344
+
345
+ ### Patch Changes
346
+
347
+ - Updated dependencies [eea8d98]
348
+ - @ai-sdk/provider-utils@5.0.0-beta.25
349
+ - @ai-sdk/openai@4.0.0-beta.37
350
+
351
+ ## 4.0.0-beta.36
352
+
353
+ ### Patch Changes
354
+
355
+ - Updated dependencies [f807e45]
356
+ - @ai-sdk/provider-utils@5.0.0-beta.24
357
+ - @ai-sdk/openai@4.0.0-beta.36
358
+
359
+ ## 4.0.0-beta.35
360
+
361
+ ### Patch Changes
362
+
363
+ - Updated dependencies [350ea38]
364
+ - @ai-sdk/provider-utils@5.0.0-beta.23
365
+ - @ai-sdk/openai@4.0.0-beta.35
366
+
367
+ ## 4.0.0-beta.34
368
+
369
+ ### Patch Changes
370
+
371
+ - Updated dependencies [083947b]
372
+ - @ai-sdk/provider-utils@5.0.0-beta.22
373
+ - @ai-sdk/openai@4.0.0-beta.34
374
+
375
+ ## 4.0.0-beta.33
376
+
377
+ ### Patch Changes
378
+
379
+ - Updated dependencies [add1126]
380
+ - @ai-sdk/provider-utils@5.0.0-beta.21
381
+ - @ai-sdk/openai@4.0.0-beta.33
382
+
383
+ ## 4.0.0-beta.32
384
+
385
+ ### Patch Changes
386
+
387
+ - Updated dependencies [0c4ac8a]
388
+ - @ai-sdk/openai@4.0.0-beta.32
389
+
390
+ ## 4.0.0-beta.31
391
+
392
+ ### Patch Changes
393
+
394
+ - Updated dependencies [b3976a2]
395
+ - Updated dependencies [ff5eba1]
396
+ - @ai-sdk/provider-utils@5.0.0-beta.20
397
+ - @ai-sdk/openai@4.0.0-beta.31
398
+ - @ai-sdk/provider@4.0.0-beta.12
399
+
400
+ ## 4.0.0-beta.30
401
+
402
+ ### Major Changes
403
+
404
+ - ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
405
+
406
+ ### Patch Changes
407
+
408
+ - Updated dependencies [ef992f8]
409
+ - @ai-sdk/openai@4.0.0-beta.30
410
+ - @ai-sdk/provider@4.0.0-beta.11
411
+ - @ai-sdk/provider-utils@5.0.0-beta.19
412
+
413
+ ## 4.0.0-beta.29
414
+
415
+ ### Patch Changes
416
+
417
+ - Updated dependencies [90e2d8a]
418
+ - @ai-sdk/provider-utils@5.0.0-beta.18
419
+ - @ai-sdk/openai@4.0.0-beta.29
420
+
421
+ ## 4.0.0-beta.28
422
+
423
+ ### Patch Changes
424
+
425
+ - Updated dependencies [3ae1786]
426
+ - @ai-sdk/provider-utils@5.0.0-beta.17
427
+ - @ai-sdk/openai@4.0.0-beta.28
428
+
429
+ ## 4.0.0-beta.27
430
+
431
+ ### Patch Changes
432
+
433
+ - Updated dependencies [176466a]
434
+ - @ai-sdk/provider@4.0.0-beta.10
435
+ - @ai-sdk/openai@4.0.0-beta.27
436
+ - @ai-sdk/provider-utils@5.0.0-beta.16
437
+
438
+ ## 4.0.0-beta.26
439
+
440
+ ### Patch Changes
441
+
442
+ - Updated dependencies [e311194]
443
+ - @ai-sdk/provider@4.0.0-beta.9
444
+ - @ai-sdk/openai@4.0.0-beta.26
445
+ - @ai-sdk/provider-utils@5.0.0-beta.15
446
+
447
+ ## 4.0.0-beta.25
448
+
449
+ ### Patch Changes
450
+
451
+ - Updated dependencies [34bd95d]
452
+ - Updated dependencies [008271d]
453
+ - @ai-sdk/provider@4.0.0-beta.8
454
+ - @ai-sdk/openai@4.0.0-beta.25
455
+ - @ai-sdk/provider-utils@5.0.0-beta.14
456
+
457
+ ## 4.0.0-beta.24
458
+
459
+ ### Patch Changes
460
+
461
+ - Updated dependencies [b0c2869]
462
+ - Updated dependencies [7e26e81]
463
+ - @ai-sdk/provider-utils@5.0.0-beta.13
464
+ - @ai-sdk/openai@4.0.0-beta.24
465
+
466
+ ## 4.0.0-beta.23
467
+
468
+ ### Patch Changes
469
+
470
+ - Updated dependencies [46d1149]
471
+ - @ai-sdk/provider-utils@5.0.0-beta.12
472
+ - @ai-sdk/openai@4.0.0-beta.23
473
+
474
+ ## 4.0.0-beta.22
475
+
476
+ ### Patch Changes
477
+
478
+ - Updated dependencies [6fd51c0]
479
+ - @ai-sdk/provider-utils@5.0.0-beta.11
480
+ - @ai-sdk/provider@4.0.0-beta.7
481
+ - @ai-sdk/openai@4.0.0-beta.22
482
+
483
+ ## 4.0.0-beta.21
484
+
485
+ ### Patch Changes
486
+
487
+ - c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
488
+ - Updated dependencies [c29a26f]
489
+ - @ai-sdk/provider-utils@5.0.0-beta.10
490
+ - @ai-sdk/provider@4.0.0-beta.6
491
+ - @ai-sdk/openai@4.0.0-beta.21
492
+
493
+ ## 4.0.0-beta.20
494
+
495
+ ### Patch Changes
496
+
497
+ - 38fc777: Add AI Gateway hint to provider READMEs
498
+ - Updated dependencies [38fc777]
499
+ - @ai-sdk/openai@4.0.0-beta.20
500
+
501
+ ## 4.0.0-beta.19
502
+
503
+ ### Patch Changes
504
+
505
+ - Updated dependencies [2e17091]
506
+ - @ai-sdk/provider-utils@5.0.0-beta.9
507
+ - @ai-sdk/openai@4.0.0-beta.19
508
+
509
+ ## 4.0.0-beta.18
510
+
511
+ ### Patch Changes
512
+
513
+ - Updated dependencies [986c6fd]
514
+ - Updated dependencies [493295c]
515
+ - @ai-sdk/provider-utils@5.0.0-beta.8
516
+ - @ai-sdk/openai@4.0.0-beta.18
517
+
518
+ ## 4.0.0-beta.17
519
+
520
+ ### Patch Changes
521
+
522
+ - Updated dependencies [817a1a6]
523
+ - @ai-sdk/openai@4.0.0-beta.17
524
+
525
+ ## 4.0.0-beta.16
526
+
527
+ ### Patch Changes
528
+
529
+ - Updated dependencies [1f509d4]
530
+ - @ai-sdk/provider-utils@5.0.0-beta.7
531
+ - @ai-sdk/provider@4.0.0-beta.5
532
+ - @ai-sdk/openai@4.0.0-beta.16
533
+
534
+ ## 4.0.0-beta.15
535
+
536
+ ### Patch Changes
537
+
538
+ - Updated dependencies [365da1a]
539
+ - @ai-sdk/openai@4.0.0-beta.15
540
+
541
+ ## 4.0.0-beta.14
542
+
543
+ ### Patch Changes
544
+
545
+ - Updated dependencies [e6376c2]
546
+ - @ai-sdk/openai@4.0.0-beta.14
547
+
548
+ ## 4.0.0-beta.13
549
+
550
+ ### Patch Changes
551
+
552
+ - Updated dependencies [3887c70]
553
+ - @ai-sdk/provider-utils@5.0.0-beta.6
554
+ - @ai-sdk/provider@4.0.0-beta.4
555
+ - @ai-sdk/openai@4.0.0-beta.13
556
+
557
+ ## 4.0.0-beta.12
558
+
559
+ ### Patch Changes
560
+
561
+ - Updated dependencies [d9a1e9a]
562
+ - @ai-sdk/openai@4.0.0-beta.12
563
+
564
+ ## 4.0.0-beta.11
565
+
566
+ ### Patch Changes
567
+
568
+ - Updated dependencies [776b617]
569
+ - @ai-sdk/provider-utils@5.0.0-beta.5
570
+ - @ai-sdk/provider@4.0.0-beta.3
571
+ - @ai-sdk/openai@4.0.0-beta.11
572
+
573
+ ## 4.0.0-beta.10
574
+
575
+ ### Patch Changes
576
+
577
+ - Updated dependencies [61753c3]
578
+ - @ai-sdk/provider-utils@5.0.0-beta.4
579
+ - @ai-sdk/openai@4.0.0-beta.10
580
+
581
+ ## 4.0.0-beta.9
582
+
583
+ ### Patch Changes
584
+
585
+ - Updated dependencies [156cdf0]
586
+ - @ai-sdk/openai@4.0.0-beta.9
587
+
588
+ ## 4.0.0-beta.8
589
+
590
+ ### Patch Changes
591
+
592
+ - Updated dependencies [f7d4f01]
593
+ - @ai-sdk/provider-utils@5.0.0-beta.3
594
+ - @ai-sdk/provider@4.0.0-beta.2
595
+ - @ai-sdk/openai@4.0.0-beta.8
596
+
3
597
  ## 4.0.0-beta.7
4
598
 
5
599
  ### Patch Changes
@@ -431,13 +1025,13 @@
431
1025
  Before
432
1026
 
433
1027
  ```ts
434
- model.textEmbeddingModel('my-model-id');
1028
+ model.textEmbeddingModel("my-model-id");
435
1029
  ```
436
1030
 
437
1031
  After
438
1032
 
439
1033
  ```ts
440
- model.embeddingModel('my-model-id');
1034
+ model.embeddingModel("my-model-id");
441
1035
  ```
442
1036
 
443
1037
  - d64ece9: enables image_generation capabilities in the Azure provider through the Responses API.
@@ -824,13 +1418,13 @@
824
1418
  Before
825
1419
 
826
1420
  ```ts
827
- model.textEmbeddingModel('my-model-id');
1421
+ model.textEmbeddingModel("my-model-id");
828
1422
  ```
829
1423
 
830
1424
  After
831
1425
 
832
1426
  ```ts
833
- model.embeddingModel('my-model-id');
1427
+ model.embeddingModel("my-model-id");
834
1428
  ```
835
1429
 
836
1430
  - Updated dependencies [8d9e8ad]
@@ -1661,7 +2255,7 @@
1661
2255
 
1662
2256
  ```js
1663
2257
  await generateImage({
1664
- model: luma.image('photon-flash-1', {
2258
+ model: luma.image("photon-flash-1", {
1665
2259
  maxImagesPerCall: 5,
1666
2260
  pollIntervalMillis: 500,
1667
2261
  }),
@@ -1674,7 +2268,7 @@
1674
2268
 
1675
2269
  ```js
1676
2270
  await generateImage({
1677
- model: luma.image('photon-flash-1'),
2271
+ model: luma.image("photon-flash-1"),
1678
2272
  prompt,
1679
2273
  n: 10,
1680
2274
  maxImagesPerCall: 5,
@@ -1988,7 +2582,7 @@
1988
2582
 
1989
2583
  ```js
1990
2584
  await generateImage({
1991
- model: luma.image('photon-flash-1', {
2585
+ model: luma.image("photon-flash-1", {
1992
2586
  maxImagesPerCall: 5,
1993
2587
  pollIntervalMillis: 500,
1994
2588
  }),
@@ -2001,7 +2595,7 @@
2001
2595
 
2002
2596
  ```js
2003
2597
  await generateImage({
2004
- model: luma.image('photon-flash-1'),
2598
+ model: luma.image("photon-flash-1"),
2005
2599
  prompt,
2006
2600
  n: 10,
2007
2601
  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 };