@ai-sdk/xai 0.0.0-64aae7dd-20260114144918

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,1883 @@
1
+ # @ai-sdk/xai
2
+
3
+ ## 0.0.0-64aae7dd-20260114144918
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9fbe723]
8
+ - @ai-sdk/provider-utils@0.0.0-64aae7dd-20260114144918
9
+ - @ai-sdk/provider@0.0.0-64aae7dd-20260114144918
10
+ - @ai-sdk/openai-compatible@0.0.0-64aae7dd-20260114144918
11
+
12
+ ## 3.0.22
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [bc02a3c]
17
+ - @ai-sdk/openai-compatible@2.0.9
18
+
19
+ ## 3.0.21
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [78fcb18]
24
+ - @ai-sdk/openai-compatible@2.0.8
25
+
26
+ ## 3.0.20
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies [cd7bb0e]
31
+ - @ai-sdk/openai-compatible@2.0.7
32
+
33
+ ## 3.0.19
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [34d1c8a]
38
+ - @ai-sdk/provider-utils@4.0.5
39
+ - @ai-sdk/openai-compatible@2.0.6
40
+
41
+ ## 3.0.18
42
+
43
+ ### Patch Changes
44
+
45
+ - 9ed771c: feat(provider/xai): add image support to responses api
46
+
47
+ ## 3.0.17
48
+
49
+ ### Patch Changes
50
+
51
+ - Updated dependencies [d54c380]
52
+ - @ai-sdk/openai-compatible@2.0.5
53
+
54
+ ## 3.0.16
55
+
56
+ ### Patch Changes
57
+
58
+ - f446e23: fix(provider/xai): make streaming providerMetadata structure consistent with non-streaming
59
+
60
+ ## 3.0.15
61
+
62
+ ### Patch Changes
63
+
64
+ - ed1587d: feat (provider/xai): add support for encrypted reasoning content
65
+
66
+ ## 3.0.14
67
+
68
+ ### Patch Changes
69
+
70
+ - 0a081cb: fix (provider/xai): set response format to allow object generation
71
+
72
+ ## 3.0.13
73
+
74
+ ### Patch Changes
75
+
76
+ - 7ac2437: fix(provider/xai): send reasoning-end before text-start in streaming
77
+
78
+ ## 3.0.12
79
+
80
+ ### Patch Changes
81
+
82
+ - e7bdbc7: fix(provider/xai): handle error responses returned with 200 status
83
+
84
+ ## 3.0.11
85
+
86
+ ### Patch Changes
87
+
88
+ - 9a53f59: fix (provider/xai): no duplicate text delta in responses api
89
+
90
+ ## 3.0.10
91
+
92
+ ### Patch Changes
93
+
94
+ - 659c53d: fixed streaming tool input for custom_tool_call types (x_search, view_x_video) which were incorrectly returning empty input values
95
+
96
+ ## 3.0.9
97
+
98
+ ### Patch Changes
99
+
100
+ - 173dcfd: added support for streaming custom tool input chunks in xAI
101
+
102
+ ## 3.0.8
103
+
104
+ ### Patch Changes
105
+
106
+ - Updated dependencies [d937c8f]
107
+ - @ai-sdk/provider@3.0.2
108
+ - @ai-sdk/openai-compatible@2.0.4
109
+ - @ai-sdk/provider-utils@4.0.4
110
+
111
+ ## 3.0.7
112
+
113
+ ### Patch Changes
114
+
115
+ - 23179aa: fix (provider/xai): use correct format for function tools
116
+
117
+ ## 3.0.6
118
+
119
+ ### Patch Changes
120
+
121
+ - 77012ef: fix(xai): correct token counting for reasoning models to prevent negative text_output_tokens
122
+
123
+ ## 3.0.5
124
+
125
+ ### Patch Changes
126
+
127
+ - e7f0a6f: fix(xai): add missing stream response schema and provider tool name parsing
128
+
129
+ ## 3.0.4
130
+
131
+ ### Patch Changes
132
+
133
+ - Updated dependencies [0b429d4]
134
+ - @ai-sdk/provider-utils@4.0.3
135
+ - @ai-sdk/openai-compatible@2.0.3
136
+
137
+ ## 3.0.3
138
+
139
+ ### Patch Changes
140
+
141
+ - 863d34f: fix: trigger release to update `@latest`
142
+ - Updated dependencies [863d34f]
143
+ - @ai-sdk/openai-compatible@2.0.2
144
+ - @ai-sdk/provider@3.0.1
145
+ - @ai-sdk/provider-utils@4.0.2
146
+
147
+ ## 3.0.2
148
+
149
+ ### Patch Changes
150
+
151
+ - 2761f04: feat (provider/xai): fix chat usage output token computation
152
+
153
+ ## 3.0.1
154
+
155
+ ### Patch Changes
156
+
157
+ - Updated dependencies [29264a3]
158
+ - @ai-sdk/provider-utils@4.0.1
159
+ - @ai-sdk/openai-compatible@2.0.1
160
+
161
+ ## 3.0.0
162
+
163
+ ### Major Changes
164
+
165
+ - dee8b05: ai SDK 6 beta
166
+
167
+ ### Minor Changes
168
+
169
+ - 78928cb: release: start 5.1 beta
170
+
171
+ ### Patch Changes
172
+
173
+ - 0c3b58b: fix(provider): add specificationVersion to ProviderV3
174
+ - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
175
+
176
+ Before
177
+
178
+ ```ts
179
+ model.textEmbeddingModel('my-model-id');
180
+ ```
181
+
182
+ After
183
+
184
+ ```ts
185
+ model.embeddingModel('my-model-id');
186
+ ```
187
+
188
+ - 2625a04: feat(openai); update spec for mcp approval
189
+ - b9e5b77: feat(xai): Support `parallel_function_calling` provider option for XAI provider
190
+ - 95f65c2: chore: use import \* from zod/v4
191
+ - 954c356: feat(openai): allow custom names for provider-defined tools
192
+ - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
193
+ - e8109d3: feat: tool execution approval
194
+ - ed329cb: feat: `Provider-V3`
195
+ - 3bd2689: feat: extended token usage
196
+ - 1cad0ab: feat: add provider version to user-agent header
197
+ - 8a2c18e: fix(provider/xai): remove json schema unsupported warning
198
+ - 8dac895: feat: `LanguageModelV3`
199
+ - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
200
+ - 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases
201
+ - 248b540: fix(xai): responses model fixes
202
+ - 4616b86: chore: update zod peer depenedency version
203
+ - b39ec2c: Fix Responses API validation errors for server-side tools (web_search, x_search, code_execution). Add missing custom_tool_call type and streaming event schemas.
204
+ - 8514146: add grok-4-1 model IDs
205
+ - 5ad1bbe: feat: xai server-side tool calling
206
+ - 522f6b8: feat: `ImageModelV3`
207
+ - 1861f6f: feat(xai) add grok-4-fast model ids
208
+ - cbf52cd: feat: expose raw finish reason
209
+ - 10c1322: fix: moved dependency `@ai-sdk/test-server` to devDependencies
210
+ - 4b4c37b: fix(xai): add cache input tokens
211
+ - 9cded0d: fix(provider/xai): correct sources format in searchParameters
212
+ - 47c0ac0: fix(xai): use correct parameter names for maxOutputTokens
213
+ - Updated dependencies
214
+ - @ai-sdk/openai-compatible@2.0.0
215
+ - @ai-sdk/provider@3.0.0
216
+ - @ai-sdk/provider-utils@4.0.0
217
+
218
+ ## 3.0.0-beta.69
219
+
220
+ ### Patch Changes
221
+
222
+ - Updated dependencies [475189e]
223
+ - @ai-sdk/provider@3.0.0-beta.32
224
+ - @ai-sdk/openai-compatible@2.0.0-beta.60
225
+ - @ai-sdk/provider-utils@4.0.0-beta.59
226
+
227
+ ## 3.0.0-beta.68
228
+
229
+ ### Patch Changes
230
+
231
+ - 2625a04: feat(openai); update spec for mcp approval
232
+ - Updated dependencies [2625a04]
233
+ - @ai-sdk/openai-compatible@2.0.0-beta.59
234
+ - @ai-sdk/provider@3.0.0-beta.31
235
+ - @ai-sdk/provider-utils@4.0.0-beta.58
236
+
237
+ ## 3.0.0-beta.67
238
+
239
+ ### Patch Changes
240
+
241
+ - cbf52cd: feat: expose raw finish reason
242
+ - Updated dependencies [cbf52cd]
243
+ - @ai-sdk/openai-compatible@2.0.0-beta.58
244
+ - @ai-sdk/provider@3.0.0-beta.30
245
+ - @ai-sdk/provider-utils@4.0.0-beta.57
246
+
247
+ ## 3.0.0-beta.66
248
+
249
+ ### Patch Changes
250
+
251
+ - Updated dependencies [9549c9e]
252
+ - @ai-sdk/provider@3.0.0-beta.29
253
+ - @ai-sdk/openai-compatible@2.0.0-beta.57
254
+ - @ai-sdk/provider-utils@4.0.0-beta.56
255
+
256
+ ## 3.0.0-beta.65
257
+
258
+ ### Patch Changes
259
+
260
+ - Updated dependencies [50b70d6]
261
+ - @ai-sdk/provider-utils@4.0.0-beta.55
262
+ - @ai-sdk/openai-compatible@2.0.0-beta.56
263
+
264
+ ## 3.0.0-beta.64
265
+
266
+ ### Patch Changes
267
+
268
+ - 9cded0d: fix(provider/xai): correct sources format in searchParameters
269
+
270
+ ## 3.0.0-beta.63
271
+
272
+ ### Patch Changes
273
+
274
+ - Updated dependencies [9061dc0]
275
+ - @ai-sdk/openai-compatible@2.0.0-beta.55
276
+ - @ai-sdk/provider-utils@4.0.0-beta.54
277
+ - @ai-sdk/provider@3.0.0-beta.28
278
+
279
+ ## 3.0.0-beta.62
280
+
281
+ ### Patch Changes
282
+
283
+ - 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases
284
+ - Updated dependencies [366f50b]
285
+ - @ai-sdk/openai-compatible@2.0.0-beta.54
286
+ - @ai-sdk/provider@3.0.0-beta.27
287
+ - @ai-sdk/provider-utils@4.0.0-beta.53
288
+
289
+ ## 3.0.0-beta.61
290
+
291
+ ### Patch Changes
292
+
293
+ - Updated dependencies [763d04a]
294
+ - @ai-sdk/provider-utils@4.0.0-beta.52
295
+ - @ai-sdk/openai-compatible@2.0.0-beta.53
296
+
297
+ ## 3.0.0-beta.60
298
+
299
+ ### Patch Changes
300
+
301
+ - 47c0ac0: fix(xai): use correct parameter names for maxOutputTokens
302
+
303
+ ## 3.0.0-beta.59
304
+
305
+ ### Patch Changes
306
+
307
+ - Updated dependencies [c1efac4]
308
+ - @ai-sdk/provider-utils@4.0.0-beta.51
309
+ - @ai-sdk/openai-compatible@2.0.0-beta.52
310
+
311
+ ## 3.0.0-beta.58
312
+
313
+ ### Patch Changes
314
+
315
+ - Updated dependencies [32223c8]
316
+ - @ai-sdk/provider-utils@4.0.0-beta.50
317
+ - @ai-sdk/openai-compatible@2.0.0-beta.51
318
+
319
+ ## 3.0.0-beta.57
320
+
321
+ ### Patch Changes
322
+
323
+ - Updated dependencies [83e5744]
324
+ - @ai-sdk/provider-utils@4.0.0-beta.49
325
+ - @ai-sdk/openai-compatible@2.0.0-beta.50
326
+
327
+ ## 3.0.0-beta.56
328
+
329
+ ### Patch Changes
330
+
331
+ - Updated dependencies [960ec8f]
332
+ - @ai-sdk/provider-utils@4.0.0-beta.48
333
+ - @ai-sdk/openai-compatible@2.0.0-beta.49
334
+
335
+ ## 3.0.0-beta.55
336
+
337
+ ### Patch Changes
338
+
339
+ - Updated dependencies [e9e157f]
340
+ - @ai-sdk/provider-utils@4.0.0-beta.47
341
+ - @ai-sdk/openai-compatible@2.0.0-beta.48
342
+
343
+ ## 3.0.0-beta.54
344
+
345
+ ### Patch Changes
346
+
347
+ - Updated dependencies [81e29ab]
348
+ - @ai-sdk/provider-utils@4.0.0-beta.46
349
+ - @ai-sdk/openai-compatible@2.0.0-beta.47
350
+
351
+ ## 3.0.0-beta.53
352
+
353
+ ### Patch Changes
354
+
355
+ - 3bd2689: feat: extended token usage
356
+ - Updated dependencies [3bd2689]
357
+ - @ai-sdk/openai-compatible@2.0.0-beta.46
358
+ - @ai-sdk/provider@3.0.0-beta.26
359
+ - @ai-sdk/provider-utils@4.0.0-beta.45
360
+
361
+ ## 3.0.0-beta.52
362
+
363
+ ### Patch Changes
364
+
365
+ - Updated dependencies [53f3368]
366
+ - @ai-sdk/provider@3.0.0-beta.25
367
+ - @ai-sdk/openai-compatible@2.0.0-beta.45
368
+ - @ai-sdk/provider-utils@4.0.0-beta.44
369
+
370
+ ## 3.0.0-beta.51
371
+
372
+ ### Patch Changes
373
+
374
+ - Updated dependencies [dce03c4]
375
+ - @ai-sdk/provider-utils@4.0.0-beta.43
376
+ - @ai-sdk/provider@3.0.0-beta.24
377
+ - @ai-sdk/openai-compatible@2.0.0-beta.44
378
+
379
+ ## 3.0.0-beta.50
380
+
381
+ ### Patch Changes
382
+
383
+ - Updated dependencies [3ed5519]
384
+ - @ai-sdk/provider-utils@4.0.0-beta.42
385
+ - @ai-sdk/openai-compatible@2.0.0-beta.43
386
+
387
+ ## 3.0.0-beta.49
388
+
389
+ ### Patch Changes
390
+
391
+ - Updated dependencies [1bd7d32]
392
+ - @ai-sdk/openai-compatible@2.0.0-beta.42
393
+ - @ai-sdk/provider-utils@4.0.0-beta.41
394
+ - @ai-sdk/provider@3.0.0-beta.23
395
+
396
+ ## 3.0.0-beta.48
397
+
398
+ ### Patch Changes
399
+
400
+ - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
401
+ - Updated dependencies [544d4e8]
402
+ - @ai-sdk/openai-compatible@2.0.0-beta.41
403
+ - @ai-sdk/provider-utils@4.0.0-beta.40
404
+ - @ai-sdk/provider@3.0.0-beta.22
405
+
406
+ ## 3.0.0-beta.47
407
+
408
+ ### Patch Changes
409
+
410
+ - 954c356: feat(openai): allow custom names for provider-defined tools
411
+ - Updated dependencies [954c356]
412
+ - @ai-sdk/provider-utils@4.0.0-beta.39
413
+ - @ai-sdk/provider@3.0.0-beta.21
414
+ - @ai-sdk/openai-compatible@2.0.0-beta.40
415
+
416
+ ## 3.0.0-beta.46
417
+
418
+ ### Patch Changes
419
+
420
+ - Updated dependencies [03849b0]
421
+ - @ai-sdk/provider-utils@4.0.0-beta.38
422
+ - @ai-sdk/openai-compatible@2.0.0-beta.39
423
+
424
+ ## 3.0.0-beta.45
425
+
426
+ ### Patch Changes
427
+
428
+ - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
429
+ - Updated dependencies [457318b]
430
+ - @ai-sdk/openai-compatible@2.0.0-beta.38
431
+ - @ai-sdk/provider@3.0.0-beta.20
432
+ - @ai-sdk/provider-utils@4.0.0-beta.37
433
+
434
+ ## 3.0.0-beta.44
435
+
436
+ ### Patch Changes
437
+
438
+ - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
439
+
440
+ Before
441
+
442
+ ```ts
443
+ model.textEmbeddingModel('my-model-id');
444
+ ```
445
+
446
+ After
447
+
448
+ ```ts
449
+ model.embeddingModel('my-model-id');
450
+ ```
451
+
452
+ - 8514146: add grok-4-1 model IDs
453
+ - Updated dependencies [8d9e8ad]
454
+ - @ai-sdk/openai-compatible@2.0.0-beta.37
455
+ - @ai-sdk/provider@3.0.0-beta.19
456
+ - @ai-sdk/provider-utils@4.0.0-beta.36
457
+
458
+ ## 3.0.0-beta.43
459
+
460
+ ### Patch Changes
461
+
462
+ - Updated dependencies [10d819b]
463
+ - @ai-sdk/provider@3.0.0-beta.18
464
+ - @ai-sdk/openai-compatible@2.0.0-beta.36
465
+ - @ai-sdk/provider-utils@4.0.0-beta.35
466
+
467
+ ## 3.0.0-beta.42
468
+
469
+ ### Patch Changes
470
+
471
+ - b39ec2c: Fix Responses API validation errors for server-side tools (web_search, x_search, code_execution). Add missing custom_tool_call type and streaming event schemas.
472
+
473
+ ## 3.0.0-beta.41
474
+
475
+ ### Patch Changes
476
+
477
+ - 248b540: fix(xai): responses model fixes
478
+
479
+ ## 3.0.0-beta.40
480
+
481
+ ### Patch Changes
482
+
483
+ - Updated dependencies [db913bd]
484
+ - @ai-sdk/provider@3.0.0-beta.17
485
+ - @ai-sdk/openai-compatible@2.0.0-beta.35
486
+ - @ai-sdk/provider-utils@4.0.0-beta.34
487
+
488
+ ## 3.0.0-beta.39
489
+
490
+ ### Patch Changes
491
+
492
+ - 4b4c37b: fix(xai): add cache input tokens
493
+
494
+ ## 3.0.0-beta.38
495
+
496
+ ### Patch Changes
497
+
498
+ - 8a2c18e: fix(provider/xai): remove json schema unsupported warning
499
+
500
+ ## 3.0.0-beta.37
501
+
502
+ ### Patch Changes
503
+
504
+ - Updated dependencies [b681d7d]
505
+ - @ai-sdk/provider@3.0.0-beta.16
506
+ - @ai-sdk/openai-compatible@2.0.0-beta.34
507
+ - @ai-sdk/provider-utils@4.0.0-beta.33
508
+
509
+ ## 3.0.0-beta.36
510
+
511
+ ### Patch Changes
512
+
513
+ - Updated dependencies [32d8dbb]
514
+ - @ai-sdk/provider-utils@4.0.0-beta.32
515
+ - @ai-sdk/openai-compatible@2.0.0-beta.33
516
+
517
+ ## 3.0.0-beta.35
518
+
519
+ ### Patch Changes
520
+
521
+ - Updated dependencies [bb36798]
522
+ - @ai-sdk/provider@3.0.0-beta.15
523
+ - @ai-sdk/openai-compatible@2.0.0-beta.32
524
+ - @ai-sdk/provider-utils@4.0.0-beta.31
525
+
526
+ ## 3.0.0-beta.34
527
+
528
+ ### Patch Changes
529
+
530
+ - 5ad1bbe: feat: xai server-side tool calling
531
+
532
+ ## 3.0.0-beta.33
533
+
534
+ ### Patch Changes
535
+
536
+ - Updated dependencies [4f16c37]
537
+ - @ai-sdk/provider-utils@4.0.0-beta.30
538
+ - @ai-sdk/openai-compatible@2.0.0-beta.31
539
+
540
+ ## 3.0.0-beta.32
541
+
542
+ ### Patch Changes
543
+
544
+ - Updated dependencies [af3780b]
545
+ - @ai-sdk/provider@3.0.0-beta.14
546
+ - @ai-sdk/openai-compatible@2.0.0-beta.30
547
+ - @ai-sdk/provider-utils@4.0.0-beta.29
548
+
549
+ ## 3.0.0-beta.31
550
+
551
+ ### Patch Changes
552
+
553
+ - Updated dependencies [016b111]
554
+ - @ai-sdk/provider-utils@4.0.0-beta.28
555
+ - @ai-sdk/openai-compatible@2.0.0-beta.29
556
+
557
+ ## 3.0.0-beta.30
558
+
559
+ ### Patch Changes
560
+
561
+ - Updated dependencies [37c58a0]
562
+ - @ai-sdk/provider@3.0.0-beta.13
563
+ - @ai-sdk/openai-compatible@2.0.0-beta.28
564
+ - @ai-sdk/provider-utils@4.0.0-beta.27
565
+
566
+ ## 3.0.0-beta.29
567
+
568
+ ### Patch Changes
569
+
570
+ - Updated dependencies [d1bdadb]
571
+ - @ai-sdk/provider@3.0.0-beta.12
572
+ - @ai-sdk/openai-compatible@2.0.0-beta.27
573
+ - @ai-sdk/provider-utils@4.0.0-beta.26
574
+
575
+ ## 3.0.0-beta.28
576
+
577
+ ### Patch Changes
578
+
579
+ - Updated dependencies [4c44a5b]
580
+ - @ai-sdk/provider@3.0.0-beta.11
581
+ - @ai-sdk/openai-compatible@2.0.0-beta.26
582
+ - @ai-sdk/provider-utils@4.0.0-beta.25
583
+
584
+ ## 3.0.0-beta.27
585
+
586
+ ### Patch Changes
587
+
588
+ - 0c3b58b: fix(provider): add specificationVersion to ProviderV3
589
+ - Updated dependencies [0c3b58b]
590
+ - @ai-sdk/openai-compatible@2.0.0-beta.25
591
+ - @ai-sdk/provider@3.0.0-beta.10
592
+ - @ai-sdk/provider-utils@4.0.0-beta.24
593
+
594
+ ## 3.0.0-beta.26
595
+
596
+ ### Patch Changes
597
+
598
+ - Updated dependencies [a755db5]
599
+ - @ai-sdk/provider@3.0.0-beta.9
600
+ - @ai-sdk/openai-compatible@2.0.0-beta.24
601
+ - @ai-sdk/provider-utils@4.0.0-beta.23
602
+
603
+ ## 3.0.0-beta.25
604
+
605
+ ### Patch Changes
606
+
607
+ - Updated dependencies [58920e0]
608
+ - @ai-sdk/provider-utils@4.0.0-beta.22
609
+ - @ai-sdk/openai-compatible@2.0.0-beta.23
610
+
611
+ ## 3.0.0-beta.24
612
+
613
+ ### Patch Changes
614
+
615
+ - Updated dependencies [293a6b7]
616
+ - @ai-sdk/provider-utils@4.0.0-beta.21
617
+ - @ai-sdk/openai-compatible@2.0.0-beta.22
618
+
619
+ ## 3.0.0-beta.23
620
+
621
+ ### Patch Changes
622
+
623
+ - b9e5b77: feat(xai): Support `parallel_function_calling` provider option for XAI provider
624
+
625
+ ## 3.0.0-beta.22
626
+
627
+ ### Patch Changes
628
+
629
+ - Updated dependencies [fca786b]
630
+ - @ai-sdk/provider-utils@4.0.0-beta.20
631
+ - @ai-sdk/openai-compatible@2.0.0-beta.21
632
+
633
+ ## 3.0.0-beta.21
634
+
635
+ ### Patch Changes
636
+
637
+ - Updated dependencies [3794514]
638
+ - @ai-sdk/provider-utils@4.0.0-beta.19
639
+ - @ai-sdk/provider@3.0.0-beta.8
640
+ - @ai-sdk/openai-compatible@2.0.0-beta.20
641
+
642
+ ## 3.0.0-beta.20
643
+
644
+ ### Patch Changes
645
+
646
+ - Updated dependencies [81d4308]
647
+ - @ai-sdk/provider@3.0.0-beta.7
648
+ - @ai-sdk/openai-compatible@2.0.0-beta.19
649
+ - @ai-sdk/provider-utils@4.0.0-beta.18
650
+
651
+ ## 3.0.0-beta.19
652
+
653
+ ### Patch Changes
654
+
655
+ - Updated dependencies [703459a]
656
+ - @ai-sdk/provider-utils@4.0.0-beta.17
657
+ - @ai-sdk/openai-compatible@2.0.0-beta.18
658
+
659
+ ## 3.0.0-beta.18
660
+
661
+ ### Patch Changes
662
+
663
+ - Updated dependencies [b689220]
664
+ - @ai-sdk/openai-compatible@2.0.0-beta.17
665
+
666
+ ## 3.0.0-beta.17
667
+
668
+ ### Patch Changes
669
+
670
+ - Updated dependencies [6306603]
671
+ - @ai-sdk/provider-utils@4.0.0-beta.16
672
+ - @ai-sdk/openai-compatible@2.0.0-beta.16
673
+
674
+ ## 3.0.0-beta.16
675
+
676
+ ### Patch Changes
677
+
678
+ - Updated dependencies [f0b2157]
679
+ - @ai-sdk/provider-utils@4.0.0-beta.15
680
+ - @ai-sdk/openai-compatible@2.0.0-beta.15
681
+
682
+ ## 3.0.0-beta.15
683
+
684
+ ### Patch Changes
685
+
686
+ - Updated dependencies [3b1d015]
687
+ - @ai-sdk/provider-utils@4.0.0-beta.14
688
+ - @ai-sdk/openai-compatible@2.0.0-beta.14
689
+
690
+ ## 3.0.0-beta.14
691
+
692
+ ### Patch Changes
693
+
694
+ - Updated dependencies [d116b4b]
695
+ - @ai-sdk/provider-utils@4.0.0-beta.13
696
+ - @ai-sdk/openai-compatible@2.0.0-beta.13
697
+
698
+ ## 3.0.0-beta.13
699
+
700
+ ### Patch Changes
701
+
702
+ - Updated dependencies [7e32fea]
703
+ - @ai-sdk/provider-utils@4.0.0-beta.12
704
+ - @ai-sdk/openai-compatible@2.0.0-beta.12
705
+
706
+ ## 3.0.0-beta.12
707
+
708
+ ### Patch Changes
709
+
710
+ - 95f65c2: chore: use import \* from zod/v4
711
+ - Updated dependencies
712
+ - @ai-sdk/openai-compatible@2.0.0-beta.11
713
+ - @ai-sdk/provider-utils@4.0.0-beta.11
714
+
715
+ ## 3.0.0-beta.11
716
+
717
+ ### Major Changes
718
+
719
+ - dee8b05: ai SDK 6 beta
720
+
721
+ ### Patch Changes
722
+
723
+ - Updated dependencies [dee8b05]
724
+ - @ai-sdk/openai-compatible@2.0.0-beta.10
725
+ - @ai-sdk/provider@3.0.0-beta.6
726
+ - @ai-sdk/provider-utils@4.0.0-beta.10
727
+
728
+ ## 2.1.0-beta.10
729
+
730
+ ### Patch Changes
731
+
732
+ - Updated dependencies [521c537]
733
+ - @ai-sdk/provider-utils@3.1.0-beta.9
734
+ - @ai-sdk/openai-compatible@1.1.0-beta.9
735
+
736
+ ## 2.1.0-beta.9
737
+
738
+ ### Patch Changes
739
+
740
+ - Updated dependencies [e06565c]
741
+ - @ai-sdk/provider-utils@3.1.0-beta.8
742
+ - @ai-sdk/openai-compatible@1.1.0-beta.8
743
+
744
+ ## 2.1.0-beta.8
745
+
746
+ ### Patch Changes
747
+
748
+ - e8109d3: feat: tool execution approval
749
+ - Updated dependencies
750
+ - @ai-sdk/provider@2.1.0-beta.5
751
+ - @ai-sdk/openai-compatible@1.1.0-beta.7
752
+ - @ai-sdk/provider-utils@3.1.0-beta.7
753
+
754
+ ## 2.1.0-beta.7
755
+
756
+ ### Patch Changes
757
+
758
+ - Updated dependencies
759
+ - @ai-sdk/openai-compatible@1.1.0-beta.6
760
+ - @ai-sdk/provider-utils@3.1.0-beta.6
761
+ - @ai-sdk/provider@2.1.0-beta.4
762
+
763
+ ## 2.1.0-beta.6
764
+
765
+ ### Patch Changes
766
+
767
+ - 8dac895: feat: `LanguageModelV3`
768
+ - 10c1322: fix: moved dependency `@ai-sdk/test-server` to devDependencies
769
+ - Updated dependencies
770
+ - @ai-sdk/openai-compatible@1.1.0-beta.5
771
+ - @ai-sdk/provider-utils@3.1.0-beta.5
772
+ - @ai-sdk/provider@2.1.0-beta.3
773
+
774
+ ## 2.1.0-beta.5
775
+
776
+ ### Patch Changes
777
+
778
+ - 4616b86: chore: update zod peer depenedency version
779
+ - Updated dependencies [4616b86]
780
+ - @ai-sdk/openai-compatible@1.1.0-beta.4
781
+ - @ai-sdk/provider-utils@3.1.0-beta.4
782
+
783
+ ## 2.1.0-beta.4
784
+
785
+ ### Patch Changes
786
+
787
+ - ed329cb: feat: `Provider-V3`
788
+ - 522f6b8: feat: `ImageModelV3`
789
+ - Updated dependencies
790
+ - @ai-sdk/openai-compatible@1.1.0-beta.3
791
+ - @ai-sdk/provider@2.1.0-beta.2
792
+ - @ai-sdk/provider-utils@3.1.0-beta.3
793
+
794
+ ## 2.1.0-beta.3
795
+
796
+ ### Patch Changes
797
+
798
+ - 1cad0ab: feat: add provider version to user-agent header
799
+ - Updated dependencies [0c4822d]
800
+ - @ai-sdk/openai-compatible@1.1.0-beta.2
801
+ - @ai-sdk/provider@2.1.0-beta.1
802
+ - @ai-sdk/provider-utils@3.1.0-beta.2
803
+
804
+ ## 2.1.0-beta.2
805
+
806
+ ### Patch Changes
807
+
808
+ - 1861f6f: feat(xai) add grok-4-fast model ids
809
+
810
+ ## 2.1.0-beta.1
811
+
812
+ ### Patch Changes
813
+
814
+ - Updated dependencies
815
+ - @ai-sdk/test-server@1.0.0-beta.0
816
+ - @ai-sdk/provider-utils@3.1.0-beta.1
817
+ - @ai-sdk/openai-compatible@1.1.0-beta.1
818
+
819
+ ## 2.1.0-beta.0
820
+
821
+ ### Minor Changes
822
+
823
+ - 78928cb: release: start 5.1 beta
824
+
825
+ ### Patch Changes
826
+
827
+ - Updated dependencies [78928cb]
828
+ - @ai-sdk/openai-compatible@1.1.0-beta.0
829
+ - @ai-sdk/provider@2.1.0-beta.0
830
+ - @ai-sdk/provider-utils@3.1.0-beta.0
831
+
832
+ ## 2.0.20
833
+
834
+ ### Patch Changes
835
+
836
+ - 3a10095: added new xai x live search fields
837
+
838
+ ## 2.0.19
839
+
840
+ ### Patch Changes
841
+
842
+ - Updated dependencies [28363da]
843
+ - @ai-sdk/openai-compatible@1.0.18
844
+
845
+ ## 2.0.18
846
+
847
+ ### Patch Changes
848
+
849
+ - Updated dependencies [3aed04c]
850
+ - @ai-sdk/openai-compatible@1.0.17
851
+
852
+ ## 2.0.17
853
+
854
+ ### Patch Changes
855
+
856
+ - Updated dependencies [0294b58]
857
+ - @ai-sdk/provider-utils@3.0.9
858
+ - @ai-sdk/openai-compatible@1.0.16
859
+
860
+ ## 2.0.16
861
+
862
+ ### Patch Changes
863
+
864
+ - Updated dependencies [99964ed]
865
+ - @ai-sdk/provider-utils@3.0.8
866
+ - @ai-sdk/openai-compatible@1.0.15
867
+
868
+ ## 2.0.15
869
+
870
+ ### Patch Changes
871
+
872
+ - Updated dependencies [818f021]
873
+ - @ai-sdk/openai-compatible@1.0.14
874
+
875
+ ## 2.0.14
876
+
877
+ ### Patch Changes
878
+
879
+ - ddb70ed: feat(xai) add grok-code-fast-1 model id
880
+
881
+ ## 2.0.13
882
+
883
+ ### Patch Changes
884
+
885
+ - Updated dependencies [886e7cd]
886
+ - @ai-sdk/provider-utils@3.0.7
887
+ - @ai-sdk/openai-compatible@1.0.13
888
+
889
+ ## 2.0.12
890
+
891
+ ### Patch Changes
892
+
893
+ - Updated dependencies [1b5a3d3]
894
+ - @ai-sdk/provider-utils@3.0.6
895
+ - @ai-sdk/openai-compatible@1.0.12
896
+
897
+ ## 2.0.11
898
+
899
+ ### Patch Changes
900
+
901
+ - Updated dependencies [0857788]
902
+ - @ai-sdk/provider-utils@3.0.5
903
+ - @ai-sdk/openai-compatible@1.0.11
904
+
905
+ ## 2.0.10
906
+
907
+ ### Patch Changes
908
+
909
+ - Updated dependencies [7ca3aee]
910
+ - @ai-sdk/openai-compatible@1.0.10
911
+
912
+ ## 2.0.9
913
+
914
+ ### Patch Changes
915
+
916
+ - Updated dependencies [68751f9]
917
+ - @ai-sdk/provider-utils@3.0.4
918
+ - @ai-sdk/openai-compatible@1.0.9
919
+
920
+ ## 2.0.8
921
+
922
+ ### Patch Changes
923
+
924
+ - Updated dependencies [515c891]
925
+ - @ai-sdk/openai-compatible@1.0.8
926
+
927
+ ## 2.0.7
928
+
929
+ ### Patch Changes
930
+
931
+ - Updated dependencies
932
+ - @ai-sdk/provider-utils@3.0.3
933
+ - @ai-sdk/openai-compatible@1.0.7
934
+
935
+ ## 2.0.6
936
+
937
+ ### Patch Changes
938
+
939
+ - Updated dependencies [38ac190]
940
+ - @ai-sdk/provider-utils@3.0.2
941
+ - @ai-sdk/openai-compatible@1.0.6
942
+
943
+ ## 2.0.5
944
+
945
+ ### Patch Changes
946
+
947
+ - Updated dependencies
948
+ - @ai-sdk/openai-compatible@1.0.5
949
+
950
+ ## 2.0.4
951
+
952
+ ### Patch Changes
953
+
954
+ - Updated dependencies
955
+ - @ai-sdk/openai-compatible@1.0.4
956
+
957
+ ## 2.0.3
958
+
959
+ ### Patch Changes
960
+
961
+ - Updated dependencies [a0934f8]
962
+ - @ai-sdk/openai-compatible@1.0.3
963
+
964
+ ## 2.0.2
965
+
966
+ ### Patch Changes
967
+
968
+ - Updated dependencies
969
+ - @ai-sdk/openai-compatible@1.0.2
970
+ - @ai-sdk/provider-utils@3.0.1
971
+
972
+ ## 2.0.1
973
+
974
+ ### Patch Changes
975
+
976
+ - Updated dependencies [0e8ed8e]
977
+ - @ai-sdk/openai-compatible@1.0.1
978
+
979
+ ## 2.0.0
980
+
981
+ ### Major Changes
982
+
983
+ - d5f588f: AI SDK 5
984
+ - 516be5b: ### Move Image Model Settings into generate options
985
+
986
+ Image Models no longer have settings. Instead, `maxImagesPerCall` can be passed directly to `generateImage()`. All other image settings can be passed to `providerOptions[provider]`.
987
+
988
+ Before
989
+
990
+ ```js
991
+ await generateImage({
992
+ model: luma.image('photon-flash-1', {
993
+ maxImagesPerCall: 5,
994
+ pollIntervalMillis: 500,
995
+ }),
996
+ prompt,
997
+ n: 10,
998
+ });
999
+ ```
1000
+
1001
+ After
1002
+
1003
+ ```js
1004
+ await generateImage({
1005
+ model: luma.image('photon-flash-1'),
1006
+ prompt,
1007
+ n: 10,
1008
+ maxImagesPerCall: 5,
1009
+ providerOptions: {
1010
+ luma: { pollIntervalMillis: 5 },
1011
+ },
1012
+ });
1013
+ ```
1014
+
1015
+ Pull Request: https://github.com/vercel/ai/pull/6180
1016
+
1017
+ ### Minor Changes
1018
+
1019
+ - b94b4ed: add live search
1020
+
1021
+ ### Patch Changes
1022
+
1023
+ - 41cab5c: fix(providers/xai): edit supported models for structured output
1024
+ - fa49207: feat(providers/openai-compatible): convert to providerOptions
1025
+ - cf8280e: fix(providers/xai): return actual usage when streaming instead of NaN
1026
+ - e2aceaf: feat: add raw chunk support
1027
+ - eb173f1: chore (providers): remove model shorthand deprecation warnings
1028
+ - 9301f86: refactor (image-model): rename `ImageModelV1` to `ImageModelV2`
1029
+ - 6d835a7: fix (provider/grok): filter duplicated reasoning chunks
1030
+ - d9b26f2: chore (providers/xai): update grok-3 model aliases
1031
+ - 66b9661: feat (provider/xai): export XaiProviderOptions
1032
+ - 9e986f7: feat (provider/xai): add grok-4 model id
1033
+ - d1a034f: feature: using Zod 4 for internal stuff
1034
+ - 107cd62: Add native XAI chat language model implementation
1035
+ - 205077b: fix: improve Zod compatibility
1036
+ - a7d3fbd: feat (providers/xai): add grok-3 models
1037
+ - Updated dependencies
1038
+ - @ai-sdk/provider-utils@3.0.0
1039
+ - @ai-sdk/provider@2.0.0
1040
+ - @ai-sdk/openai-compatible@1.0.0
1041
+
1042
+ ## 2.0.0-beta.15
1043
+
1044
+ ### Patch Changes
1045
+
1046
+ - Updated dependencies [88a8ee5]
1047
+ - @ai-sdk/provider-utils@3.0.0-beta.10
1048
+ - @ai-sdk/openai-compatible@1.0.0-beta.13
1049
+
1050
+ ## 2.0.0-beta.14
1051
+
1052
+ ### Patch Changes
1053
+
1054
+ - Updated dependencies [27deb4d]
1055
+ - @ai-sdk/provider@2.0.0-beta.2
1056
+ - @ai-sdk/openai-compatible@1.0.0-beta.12
1057
+ - @ai-sdk/provider-utils@3.0.0-beta.9
1058
+
1059
+ ## 2.0.0-beta.13
1060
+
1061
+ ### Patch Changes
1062
+
1063
+ - eb173f1: chore (providers): remove model shorthand deprecation warnings
1064
+ - Updated dependencies [dd5fd43]
1065
+ - @ai-sdk/provider-utils@3.0.0-beta.8
1066
+ - @ai-sdk/openai-compatible@1.0.0-beta.11
1067
+
1068
+ ## 2.0.0-beta.12
1069
+
1070
+ ### Patch Changes
1071
+
1072
+ - Updated dependencies [e7fcc86]
1073
+ - @ai-sdk/provider-utils@3.0.0-beta.7
1074
+ - @ai-sdk/openai-compatible@1.0.0-beta.10
1075
+
1076
+ ## 2.0.0-beta.11
1077
+
1078
+ ### Patch Changes
1079
+
1080
+ - Updated dependencies
1081
+ - @ai-sdk/openai-compatible@1.0.0-beta.9
1082
+ - @ai-sdk/provider-utils@3.0.0-beta.6
1083
+
1084
+ ## 2.0.0-beta.10
1085
+
1086
+ ### Patch Changes
1087
+
1088
+ - Updated dependencies
1089
+ - @ai-sdk/provider-utils@3.0.0-beta.5
1090
+ - @ai-sdk/openai-compatible@1.0.0-beta.8
1091
+
1092
+ ## 2.0.0-beta.9
1093
+
1094
+ ### Patch Changes
1095
+
1096
+ - 205077b: fix: improve Zod compatibility
1097
+ - Updated dependencies [205077b]
1098
+ - @ai-sdk/openai-compatible@1.0.0-beta.7
1099
+ - @ai-sdk/provider-utils@3.0.0-beta.4
1100
+
1101
+ ## 2.0.0-beta.8
1102
+
1103
+ ### Patch Changes
1104
+
1105
+ - 6d835a7: fix (provider/grok): filter duplicated reasoning chunks
1106
+
1107
+ ## 2.0.0-beta.7
1108
+
1109
+ ### Patch Changes
1110
+
1111
+ - Updated dependencies [281bb1c]
1112
+ - @ai-sdk/openai-compatible@1.0.0-beta.6
1113
+
1114
+ ## 2.0.0-beta.6
1115
+
1116
+ ### Patch Changes
1117
+
1118
+ - Updated dependencies [05d2819]
1119
+ - @ai-sdk/provider-utils@3.0.0-beta.3
1120
+ - @ai-sdk/openai-compatible@1.0.0-beta.5
1121
+
1122
+ ## 2.0.0-beta.5
1123
+
1124
+ ### Patch Changes
1125
+
1126
+ - 66b9661: feat (provider/xai): export XaiProviderOptions
1127
+ - Updated dependencies [1b101e1]
1128
+ - @ai-sdk/openai-compatible@1.0.0-beta.4
1129
+
1130
+ ## 2.0.0-beta.4
1131
+
1132
+ ### Patch Changes
1133
+
1134
+ - 9e986f7: feat (provider/xai): add grok-4 model id
1135
+
1136
+ ## 2.0.0-beta.3
1137
+
1138
+ ### Patch Changes
1139
+
1140
+ - Updated dependencies [7b069ed]
1141
+ - @ai-sdk/openai-compatible@1.0.0-beta.3
1142
+
1143
+ ## 2.0.0-beta.2
1144
+
1145
+ ### Patch Changes
1146
+
1147
+ - d1a034f: feature: using Zod 4 for internal stuff
1148
+ - Updated dependencies
1149
+ - @ai-sdk/provider-utils@3.0.0-beta.2
1150
+ - @ai-sdk/openai-compatible@1.0.0-beta.2
1151
+
1152
+ ## 2.0.0-beta.1
1153
+
1154
+ ### Patch Changes
1155
+
1156
+ - Updated dependencies
1157
+ - @ai-sdk/provider@2.0.0-beta.1
1158
+ - @ai-sdk/provider-utils@3.0.0-beta.1
1159
+ - @ai-sdk/openai-compatible@1.0.0-beta.1
1160
+
1161
+ ## 2.0.0-alpha.15
1162
+
1163
+ ### Patch Changes
1164
+
1165
+ - Updated dependencies
1166
+ - @ai-sdk/provider@2.0.0-alpha.15
1167
+ - @ai-sdk/provider-utils@3.0.0-alpha.15
1168
+ - @ai-sdk/openai-compatible@1.0.0-alpha.15
1169
+
1170
+ ## 2.0.0-alpha.14
1171
+
1172
+ ### Patch Changes
1173
+
1174
+ - Updated dependencies
1175
+ - @ai-sdk/provider@2.0.0-alpha.14
1176
+ - @ai-sdk/openai-compatible@1.0.0-alpha.14
1177
+ - @ai-sdk/provider-utils@3.0.0-alpha.14
1178
+
1179
+ ## 2.0.0-alpha.13
1180
+
1181
+ ### Patch Changes
1182
+
1183
+ - Updated dependencies [68ecf2f]
1184
+ - @ai-sdk/provider@2.0.0-alpha.13
1185
+ - @ai-sdk/openai-compatible@1.0.0-alpha.13
1186
+ - @ai-sdk/provider-utils@3.0.0-alpha.13
1187
+
1188
+ ## 2.0.0-alpha.12
1189
+
1190
+ ### Patch Changes
1191
+
1192
+ - e2aceaf: feat: add raw chunk support
1193
+ - Updated dependencies [e2aceaf]
1194
+ - @ai-sdk/openai-compatible@1.0.0-alpha.12
1195
+ - @ai-sdk/provider@2.0.0-alpha.12
1196
+ - @ai-sdk/provider-utils@3.0.0-alpha.12
1197
+
1198
+ ## 2.0.0-alpha.11
1199
+
1200
+ ### Patch Changes
1201
+
1202
+ - Updated dependencies [c1e6647]
1203
+ - @ai-sdk/provider@2.0.0-alpha.11
1204
+ - @ai-sdk/openai-compatible@1.0.0-alpha.11
1205
+ - @ai-sdk/provider-utils@3.0.0-alpha.11
1206
+
1207
+ ## 2.0.0-alpha.10
1208
+
1209
+ ### Patch Changes
1210
+
1211
+ - Updated dependencies [c4df419]
1212
+ - @ai-sdk/provider@2.0.0-alpha.10
1213
+ - @ai-sdk/openai-compatible@1.0.0-alpha.10
1214
+ - @ai-sdk/provider-utils@3.0.0-alpha.10
1215
+
1216
+ ## 2.0.0-alpha.9
1217
+
1218
+ ### Minor Changes
1219
+
1220
+ - b94b4ed: add live search
1221
+
1222
+ ### Patch Changes
1223
+
1224
+ - 107cd62: Add native XAI chat language model implementation
1225
+ - Updated dependencies [811dff3]
1226
+ - @ai-sdk/provider@2.0.0-alpha.9
1227
+ - @ai-sdk/openai-compatible@1.0.0-alpha.9
1228
+ - @ai-sdk/provider-utils@3.0.0-alpha.9
1229
+
1230
+ ## 2.0.0-alpha.8
1231
+
1232
+ ### Patch Changes
1233
+
1234
+ - Updated dependencies
1235
+ - @ai-sdk/provider-utils@3.0.0-alpha.8
1236
+ - @ai-sdk/provider@2.0.0-alpha.8
1237
+ - @ai-sdk/openai-compatible@1.0.0-alpha.8
1238
+
1239
+ ## 2.0.0-alpha.7
1240
+
1241
+ ### Patch Changes
1242
+
1243
+ - Updated dependencies [5c56081]
1244
+ - @ai-sdk/provider@2.0.0-alpha.7
1245
+ - @ai-sdk/openai-compatible@1.0.0-alpha.7
1246
+ - @ai-sdk/provider-utils@3.0.0-alpha.7
1247
+
1248
+ ## 2.0.0-alpha.6
1249
+
1250
+ ### Patch Changes
1251
+
1252
+ - Updated dependencies [0d2c085]
1253
+ - @ai-sdk/provider@2.0.0-alpha.6
1254
+ - @ai-sdk/openai-compatible@1.0.0-alpha.6
1255
+ - @ai-sdk/provider-utils@3.0.0-alpha.6
1256
+
1257
+ ## 2.0.0-alpha.4
1258
+
1259
+ ### Patch Changes
1260
+
1261
+ - Updated dependencies [dc714f3]
1262
+ - @ai-sdk/provider@2.0.0-alpha.4
1263
+ - @ai-sdk/openai-compatible@1.0.0-alpha.4
1264
+ - @ai-sdk/provider-utils@3.0.0-alpha.4
1265
+
1266
+ ## 2.0.0-alpha.3
1267
+
1268
+ ### Patch Changes
1269
+
1270
+ - Updated dependencies [6b98118]
1271
+ - @ai-sdk/provider@2.0.0-alpha.3
1272
+ - @ai-sdk/openai-compatible@1.0.0-alpha.3
1273
+ - @ai-sdk/provider-utils@3.0.0-alpha.3
1274
+
1275
+ ## 2.0.0-alpha.2
1276
+
1277
+ ### Patch Changes
1278
+
1279
+ - Updated dependencies [26535e0]
1280
+ - @ai-sdk/provider@2.0.0-alpha.2
1281
+ - @ai-sdk/openai-compatible@1.0.0-alpha.2
1282
+ - @ai-sdk/provider-utils@3.0.0-alpha.2
1283
+
1284
+ ## 2.0.0-alpha.1
1285
+
1286
+ ### Patch Changes
1287
+
1288
+ - Updated dependencies [3f2f00c]
1289
+ - @ai-sdk/provider@2.0.0-alpha.1
1290
+ - @ai-sdk/openai-compatible@1.0.0-alpha.1
1291
+ - @ai-sdk/provider-utils@3.0.0-alpha.1
1292
+
1293
+ ## 2.0.0-canary.19
1294
+
1295
+ ### Patch Changes
1296
+
1297
+ - Updated dependencies [faf8446]
1298
+ - @ai-sdk/provider-utils@3.0.0-canary.19
1299
+ - @ai-sdk/openai-compatible@1.0.0-canary.19
1300
+
1301
+ ## 2.0.0-canary.18
1302
+
1303
+ ### Patch Changes
1304
+
1305
+ - Updated dependencies [40acf9b]
1306
+ - @ai-sdk/provider-utils@3.0.0-canary.18
1307
+ - @ai-sdk/openai-compatible@1.0.0-canary.18
1308
+
1309
+ ## 2.0.0-canary.17
1310
+
1311
+ ### Major Changes
1312
+
1313
+ - 516be5b: ### Move Image Model Settings into generate options
1314
+
1315
+ Image Models no longer have settings. Instead, `maxImagesPerCall` can be passed directly to `generateImage()`. All other image settings can be passed to `providerOptions[provider]`.
1316
+
1317
+ Before
1318
+
1319
+ ```js
1320
+ await generateImage({
1321
+ model: luma.image('photon-flash-1', {
1322
+ maxImagesPerCall: 5,
1323
+ pollIntervalMillis: 500,
1324
+ }),
1325
+ prompt,
1326
+ n: 10,
1327
+ });
1328
+ ```
1329
+
1330
+ After
1331
+
1332
+ ```js
1333
+ await generateImage({
1334
+ model: luma.image('photon-flash-1'),
1335
+ prompt,
1336
+ n: 10,
1337
+ maxImagesPerCall: 5,
1338
+ providerOptions: {
1339
+ luma: { pollIntervalMillis: 5 },
1340
+ },
1341
+ });
1342
+ ```
1343
+
1344
+ Pull Request: https://github.com/vercel/ai/pull/6180
1345
+
1346
+ ### Patch Changes
1347
+
1348
+ - Updated dependencies
1349
+ - @ai-sdk/openai-compatible@1.0.0-canary.17
1350
+ - @ai-sdk/provider-utils@3.0.0-canary.17
1351
+
1352
+ ## 2.0.0-canary.16
1353
+
1354
+ ### Patch Changes
1355
+
1356
+ - Updated dependencies [87b828f]
1357
+ - @ai-sdk/provider-utils@3.0.0-canary.16
1358
+ - @ai-sdk/openai-compatible@1.0.0-canary.16
1359
+
1360
+ ## 2.0.0-canary.15
1361
+
1362
+ ### Patch Changes
1363
+
1364
+ - Updated dependencies
1365
+ - @ai-sdk/provider-utils@3.0.0-canary.15
1366
+ - @ai-sdk/provider@2.0.0-canary.14
1367
+ - @ai-sdk/openai-compatible@1.0.0-canary.15
1368
+
1369
+ ## 2.0.0-canary.14
1370
+
1371
+ ### Patch Changes
1372
+
1373
+ - Updated dependencies
1374
+ - @ai-sdk/provider-utils@3.0.0-canary.14
1375
+ - @ai-sdk/provider@2.0.0-canary.13
1376
+ - @ai-sdk/openai-compatible@1.0.0-canary.14
1377
+
1378
+ ## 2.0.0-canary.13
1379
+
1380
+ ### Patch Changes
1381
+
1382
+ - Updated dependencies
1383
+ - @ai-sdk/provider@2.0.0-canary.12
1384
+ - @ai-sdk/openai-compatible@1.0.0-canary.13
1385
+ - @ai-sdk/provider-utils@3.0.0-canary.13
1386
+
1387
+ ## 2.0.0-canary.12
1388
+
1389
+ ### Patch Changes
1390
+
1391
+ - Updated dependencies
1392
+ - @ai-sdk/provider@2.0.0-canary.11
1393
+ - @ai-sdk/openai-compatible@1.0.0-canary.12
1394
+ - @ai-sdk/provider-utils@3.0.0-canary.12
1395
+
1396
+ ## 2.0.0-canary.11
1397
+
1398
+ ### Patch Changes
1399
+
1400
+ - 9301f86: refactor (image-model): rename `ImageModelV1` to `ImageModelV2`
1401
+ - Updated dependencies
1402
+ - @ai-sdk/openai-compatible@1.0.0-canary.11
1403
+ - @ai-sdk/provider-utils@3.0.0-canary.11
1404
+ - @ai-sdk/provider@2.0.0-canary.10
1405
+
1406
+ ## 2.0.0-canary.10
1407
+
1408
+ ### Patch Changes
1409
+
1410
+ - cf8280e: fix(providers/xai): return actual usage when streaming instead of NaN
1411
+ - Updated dependencies
1412
+ - @ai-sdk/openai-compatible@1.0.0-canary.10
1413
+ - @ai-sdk/provider@2.0.0-canary.9
1414
+ - @ai-sdk/provider-utils@3.0.0-canary.10
1415
+
1416
+ ## 2.0.0-canary.9
1417
+
1418
+ ### Patch Changes
1419
+
1420
+ - Updated dependencies
1421
+ - @ai-sdk/provider@2.0.0-canary.8
1422
+ - @ai-sdk/openai-compatible@1.0.0-canary.9
1423
+ - @ai-sdk/provider-utils@3.0.0-canary.9
1424
+
1425
+ ## 2.0.0-canary.8
1426
+
1427
+ ### Patch Changes
1428
+
1429
+ - Updated dependencies
1430
+ - @ai-sdk/provider-utils@3.0.0-canary.8
1431
+ - @ai-sdk/provider@2.0.0-canary.7
1432
+ - @ai-sdk/openai-compatible@1.0.0-canary.8
1433
+
1434
+ ## 2.0.0-canary.7
1435
+
1436
+ ### Patch Changes
1437
+
1438
+ - 41cab5c: fix(providers/xai): edit supported models for structured output
1439
+ - fa49207: feat(providers/openai-compatible): convert to providerOptions
1440
+ - d9b26f2: chore (providers/xai): update grok-3 model aliases
1441
+ - Updated dependencies
1442
+ - @ai-sdk/openai-compatible@1.0.0-canary.7
1443
+ - @ai-sdk/provider@2.0.0-canary.6
1444
+ - @ai-sdk/provider-utils@3.0.0-canary.7
1445
+
1446
+ ## 2.0.0-canary.6
1447
+
1448
+ ### Patch Changes
1449
+
1450
+ - Updated dependencies
1451
+ - @ai-sdk/openai-compatible@1.0.0-canary.6
1452
+ - @ai-sdk/provider@2.0.0-canary.5
1453
+ - @ai-sdk/provider-utils@3.0.0-canary.6
1454
+
1455
+ ## 2.0.0-canary.5
1456
+
1457
+ ### Patch Changes
1458
+
1459
+ - a7d3fbd: feat (providers/xai): add grok-3 models
1460
+ - Updated dependencies [6f6bb89]
1461
+ - @ai-sdk/provider@2.0.0-canary.4
1462
+ - @ai-sdk/openai-compatible@1.0.0-canary.5
1463
+ - @ai-sdk/provider-utils@3.0.0-canary.5
1464
+
1465
+ ## 2.0.0-canary.4
1466
+
1467
+ ### Patch Changes
1468
+
1469
+ - Updated dependencies [d1a1aa1]
1470
+ - @ai-sdk/provider@2.0.0-canary.3
1471
+ - @ai-sdk/openai-compatible@1.0.0-canary.4
1472
+ - @ai-sdk/provider-utils@3.0.0-canary.4
1473
+
1474
+ ## 2.0.0-canary.3
1475
+
1476
+ ### Patch Changes
1477
+
1478
+ - Updated dependencies
1479
+ - @ai-sdk/provider-utils@3.0.0-canary.3
1480
+ - @ai-sdk/provider@2.0.0-canary.2
1481
+ - @ai-sdk/openai-compatible@1.0.0-canary.3
1482
+
1483
+ ## 2.0.0-canary.2
1484
+
1485
+ ### Patch Changes
1486
+
1487
+ - Updated dependencies
1488
+ - @ai-sdk/provider@2.0.0-canary.1
1489
+ - @ai-sdk/openai-compatible@1.0.0-canary.2
1490
+ - @ai-sdk/provider-utils@3.0.0-canary.2
1491
+
1492
+ ## 2.0.0-canary.1
1493
+
1494
+ ### Patch Changes
1495
+
1496
+ - Updated dependencies
1497
+ - @ai-sdk/provider-utils@3.0.0-canary.1
1498
+ - @ai-sdk/openai-compatible@1.0.0-canary.1
1499
+
1500
+ ## 2.0.0-canary.0
1501
+
1502
+ ### Major Changes
1503
+
1504
+ - d5f588f: AI SDK 5
1505
+
1506
+ ### Patch Changes
1507
+
1508
+ - Updated dependencies [d5f588f]
1509
+ - @ai-sdk/provider-utils@3.0.0-canary.0
1510
+ - @ai-sdk/openai-compatible@1.0.0-canary.0
1511
+ - @ai-sdk/provider@2.0.0-canary.0
1512
+
1513
+ ## 1.2.6
1514
+
1515
+ ### Patch Changes
1516
+
1517
+ - Updated dependencies [d186cca]
1518
+ - @ai-sdk/openai-compatible@0.2.5
1519
+
1520
+ ## 1.2.5
1521
+
1522
+ ### Patch Changes
1523
+
1524
+ - Updated dependencies [28be004]
1525
+ - @ai-sdk/provider-utils@2.2.3
1526
+ - @ai-sdk/openai-compatible@0.2.4
1527
+
1528
+ ## 1.2.4
1529
+
1530
+ ### Patch Changes
1531
+
1532
+ - Updated dependencies [b01120e]
1533
+ - @ai-sdk/provider-utils@2.2.2
1534
+ - @ai-sdk/openai-compatible@0.2.3
1535
+
1536
+ ## 1.2.3
1537
+
1538
+ ### Patch Changes
1539
+
1540
+ - a6b55cc: feat (providers/openai-compatible): add openai-compatible image model and use as xai image model base
1541
+ - Updated dependencies [a6b55cc]
1542
+ - @ai-sdk/openai-compatible@0.2.2
1543
+
1544
+ ## 1.2.2
1545
+
1546
+ ### Patch Changes
1547
+
1548
+ - Updated dependencies [f10f0fa]
1549
+ - @ai-sdk/provider-utils@2.2.1
1550
+ - @ai-sdk/openai-compatible@0.2.1
1551
+
1552
+ ## 1.2.1
1553
+
1554
+ ### Patch Changes
1555
+
1556
+ - 82b5620: fix (providers/xai): handle raw b64 image response data
1557
+
1558
+ ## 1.2.0
1559
+
1560
+ ### Minor Changes
1561
+
1562
+ - 5bc638d: AI SDK 4.2
1563
+
1564
+ ### Patch Changes
1565
+
1566
+ - Updated dependencies [5bc638d]
1567
+ - @ai-sdk/openai-compatible@0.2.0
1568
+ - @ai-sdk/provider@1.1.0
1569
+ - @ai-sdk/provider-utils@2.2.0
1570
+
1571
+ ## 1.1.18
1572
+
1573
+ ### Patch Changes
1574
+
1575
+ - 6f0e741: feat (providers/xai): add xai image model support
1576
+
1577
+ ## 1.1.17
1578
+
1579
+ ### Patch Changes
1580
+
1581
+ - Updated dependencies [d0c4659]
1582
+ - @ai-sdk/provider-utils@2.1.15
1583
+ - @ai-sdk/openai-compatible@0.1.17
1584
+
1585
+ ## 1.1.16
1586
+
1587
+ ### Patch Changes
1588
+
1589
+ - Updated dependencies [0bd5bc6]
1590
+ - @ai-sdk/provider@1.0.12
1591
+ - @ai-sdk/openai-compatible@0.1.16
1592
+ - @ai-sdk/provider-utils@2.1.14
1593
+
1594
+ ## 1.1.15
1595
+
1596
+ ### Patch Changes
1597
+
1598
+ - Updated dependencies [2e1101a]
1599
+ - @ai-sdk/provider@1.0.11
1600
+ - @ai-sdk/openai-compatible@0.1.15
1601
+ - @ai-sdk/provider-utils@2.1.13
1602
+
1603
+ ## 1.1.14
1604
+
1605
+ ### Patch Changes
1606
+
1607
+ - Updated dependencies [1531959]
1608
+ - @ai-sdk/provider-utils@2.1.12
1609
+ - @ai-sdk/openai-compatible@0.1.14
1610
+
1611
+ ## 1.1.13
1612
+
1613
+ ### Patch Changes
1614
+
1615
+ - Updated dependencies [e1d3d42]
1616
+ - @ai-sdk/openai-compatible@0.1.13
1617
+ - @ai-sdk/provider@1.0.10
1618
+ - @ai-sdk/provider-utils@2.1.11
1619
+
1620
+ ## 1.1.12
1621
+
1622
+ ### Patch Changes
1623
+
1624
+ - Updated dependencies [ddf9740]
1625
+ - @ai-sdk/provider@1.0.9
1626
+ - @ai-sdk/openai-compatible@0.1.12
1627
+ - @ai-sdk/provider-utils@2.1.10
1628
+
1629
+ ## 1.1.11
1630
+
1631
+ ### Patch Changes
1632
+
1633
+ - Updated dependencies [2761f06]
1634
+ - @ai-sdk/provider@1.0.8
1635
+ - @ai-sdk/openai-compatible@0.1.11
1636
+ - @ai-sdk/provider-utils@2.1.9
1637
+
1638
+ ## 1.1.10
1639
+
1640
+ ### Patch Changes
1641
+
1642
+ - Updated dependencies [2e898b4]
1643
+ - @ai-sdk/provider-utils@2.1.8
1644
+ - @ai-sdk/openai-compatible@0.1.10
1645
+
1646
+ ## 1.1.9
1647
+
1648
+ ### Patch Changes
1649
+
1650
+ - Updated dependencies [3ff4ef8]
1651
+ - @ai-sdk/provider-utils@2.1.7
1652
+ - @ai-sdk/openai-compatible@0.1.9
1653
+
1654
+ ## 1.1.8
1655
+
1656
+ ### Patch Changes
1657
+
1658
+ - Updated dependencies [d89c3b9]
1659
+ - @ai-sdk/provider@1.0.7
1660
+ - @ai-sdk/openai-compatible@0.1.8
1661
+ - @ai-sdk/provider-utils@2.1.6
1662
+
1663
+ ## 1.1.7
1664
+
1665
+ ### Patch Changes
1666
+
1667
+ - Updated dependencies [f2c6c37]
1668
+ - @ai-sdk/openai-compatible@0.1.7
1669
+
1670
+ ## 1.1.6
1671
+
1672
+ ### Patch Changes
1673
+
1674
+ - Updated dependencies [3a602ca]
1675
+ - @ai-sdk/provider-utils@2.1.5
1676
+ - @ai-sdk/openai-compatible@0.1.6
1677
+
1678
+ ## 1.1.5
1679
+
1680
+ ### Patch Changes
1681
+
1682
+ - Updated dependencies [066206e]
1683
+ - @ai-sdk/provider-utils@2.1.4
1684
+ - @ai-sdk/openai-compatible@0.1.5
1685
+
1686
+ ## 1.1.4
1687
+
1688
+ ### Patch Changes
1689
+
1690
+ - Updated dependencies [39e5c1f]
1691
+ - @ai-sdk/provider-utils@2.1.3
1692
+ - @ai-sdk/openai-compatible@0.1.4
1693
+
1694
+ ## 1.1.3
1695
+
1696
+ ### Patch Changes
1697
+
1698
+ - Updated dependencies [361fd08]
1699
+ - @ai-sdk/openai-compatible@0.1.3
1700
+
1701
+ ## 1.1.2
1702
+
1703
+ ### Patch Changes
1704
+
1705
+ - Updated dependencies
1706
+ - @ai-sdk/openai-compatible@0.1.2
1707
+ - @ai-sdk/provider-utils@2.1.2
1708
+ - @ai-sdk/provider@1.0.6
1709
+
1710
+ ## 1.1.1
1711
+
1712
+ ### Patch Changes
1713
+
1714
+ - Updated dependencies
1715
+ - @ai-sdk/provider-utils@2.1.1
1716
+ - @ai-sdk/openai-compatible@0.1.1
1717
+ - @ai-sdk/provider@1.0.5
1718
+
1719
+ ## 1.1.0
1720
+
1721
+ ### Minor Changes
1722
+
1723
+ - 62ba5ad: release: AI SDK 4.1
1724
+
1725
+ ### Patch Changes
1726
+
1727
+ - Updated dependencies [62ba5ad]
1728
+ - @ai-sdk/openai-compatible@0.1.0
1729
+ - @ai-sdk/provider-utils@2.1.0
1730
+
1731
+ ## 1.0.19
1732
+
1733
+ ### Patch Changes
1734
+
1735
+ - Updated dependencies [00114c5]
1736
+ - @ai-sdk/provider-utils@2.0.8
1737
+ - @ai-sdk/openai-compatible@0.0.18
1738
+
1739
+ ## 1.0.18
1740
+
1741
+ ### Patch Changes
1742
+
1743
+ - Updated dependencies [ae57beb]
1744
+ - @ai-sdk/openai-compatible@0.0.17
1745
+
1746
+ ## 1.0.17
1747
+
1748
+ ### Patch Changes
1749
+
1750
+ - 7611964: feat (provider/xai): Support structured output for latest models.
1751
+ - Updated dependencies [7611964]
1752
+ - @ai-sdk/openai-compatible@0.0.16
1753
+
1754
+ ## 1.0.16
1755
+
1756
+ ### Patch Changes
1757
+
1758
+ - Updated dependencies
1759
+ - @ai-sdk/provider-utils@2.0.7
1760
+ - @ai-sdk/openai-compatible@0.0.15
1761
+
1762
+ ## 1.0.15
1763
+
1764
+ ### Patch Changes
1765
+
1766
+ - Updated dependencies
1767
+ - @ai-sdk/provider@1.0.4
1768
+ - @ai-sdk/provider-utils@2.0.6
1769
+ - @ai-sdk/openai-compatible@0.0.14
1770
+
1771
+ ## 1.0.14
1772
+
1773
+ ### Patch Changes
1774
+
1775
+ - Updated dependencies [6564812]
1776
+ - @ai-sdk/openai-compatible@0.0.13
1777
+
1778
+ ## 1.0.13
1779
+
1780
+ ### Patch Changes
1781
+
1782
+ - Updated dependencies [70003b8]
1783
+ - @ai-sdk/openai-compatible@0.0.12
1784
+
1785
+ ## 1.0.12
1786
+
1787
+ ### Patch Changes
1788
+
1789
+ - 5ed5e45: chore (config): Use ts-library.json tsconfig for no-UI libs.
1790
+ - Updated dependencies
1791
+ - @ai-sdk/openai-compatible@0.0.11
1792
+ - @ai-sdk/provider-utils@2.0.5
1793
+ - @ai-sdk/provider@1.0.3
1794
+
1795
+ ## 1.0.11
1796
+
1797
+ ### Patch Changes
1798
+
1799
+ - Updated dependencies [baae8f4]
1800
+ - @ai-sdk/openai-compatible@0.0.10
1801
+
1802
+ ## 1.0.10
1803
+
1804
+ ### Patch Changes
1805
+
1806
+ - Updated dependencies [9c7653b]
1807
+ - @ai-sdk/openai-compatible@0.0.9
1808
+
1809
+ ## 1.0.9
1810
+
1811
+ ### Patch Changes
1812
+
1813
+ - Updated dependencies [6faab13]
1814
+ - @ai-sdk/openai-compatible@0.0.8
1815
+
1816
+ ## 1.0.8
1817
+
1818
+ ### Patch Changes
1819
+
1820
+ - 50821de: feat (docs): Use new grok-2 model in xai example code.
1821
+
1822
+ ## 1.0.7
1823
+
1824
+ ### Patch Changes
1825
+
1826
+ - 4e9032c: feat (provider/xai): Add grok-2 models, use openai-compatible base impl.
1827
+
1828
+ ## 1.0.6
1829
+
1830
+ ### Patch Changes
1831
+
1832
+ - Updated dependencies [09a9cab]
1833
+ - @ai-sdk/provider@1.0.2
1834
+ - @ai-sdk/provider-utils@2.0.4
1835
+
1836
+ ## 1.0.5
1837
+
1838
+ ### Patch Changes
1839
+
1840
+ - Updated dependencies [0984f0b]
1841
+ - @ai-sdk/provider-utils@2.0.3
1842
+
1843
+ ## 1.0.4
1844
+
1845
+ ### Patch Changes
1846
+
1847
+ - b1f31da: chore (providers): Remove obsolete 'internal' from several packages.
1848
+
1849
+ ## 1.0.3
1850
+
1851
+ ### Patch Changes
1852
+
1853
+ - Updated dependencies [b446ae5]
1854
+ - @ai-sdk/provider@1.0.1
1855
+ - @ai-sdk/provider-utils@2.0.2
1856
+
1857
+ ## 1.0.2
1858
+
1859
+ ### Patch Changes
1860
+
1861
+ - Updated dependencies [c3ab5de]
1862
+ - @ai-sdk/provider-utils@2.0.1
1863
+
1864
+ ## 1.0.1
1865
+
1866
+ ### Patch Changes
1867
+
1868
+ - 870c09e: feat (provider/xai): add groq-vision-beta support
1869
+
1870
+ ## 1.0.0
1871
+
1872
+ ### Patch Changes
1873
+
1874
+ - 75d0065: feat (providers/xai): Initial xAI provider.
1875
+ - Updated dependencies
1876
+ - @ai-sdk/provider-utils@2.0.0
1877
+ - @ai-sdk/provider@1.0.0
1878
+
1879
+ ## 1.0.0-canary.1
1880
+
1881
+ ### Patch Changes
1882
+
1883
+ - 75d0065: feat (providers/xai): Initial xAI provider.