@ai-sdk/xai 0.0.0-01d6317c-20260129172110

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