ai 6.0.0-beta.99 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,835 @@
1
1
  # ai
2
2
 
3
+ ## 6.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [387980f]
8
+ - @ai-sdk/gateway@3.0.0
9
+
10
+ ## 6.0.0
11
+
12
+ ### Major Changes
13
+
14
+ - dee8b05: ai SDK 6 beta
15
+
16
+ ### Minor Changes
17
+
18
+ - 78928cb: release: start 5.1 beta
19
+
20
+ ### Patch Changes
21
+
22
+ - 0c3b58b: fix(provider): add specificationVersion to ProviderV3
23
+ - 58920e0: fix(ai): do not drop custom headers in HttpChatTransport
24
+ - a7da2b6: feat(agent): change output generics
25
+ - 0adc679: feat(provider): shared spec v3
26
+ - 50b70d6: feat(anthropic): add programmatic tool calling
27
+ - 2d28066: chore(agent): limit agent call parameters
28
+ - fca786b: feat(agent): configurable call options
29
+ - 046aa3b: feat(provider): speech model v3 spec
30
+ - e1f6e8e: feat(ai): add Output.json()
31
+ - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
32
+
33
+ Before
34
+
35
+ ```ts
36
+ model.textEmbeddingModel('my-model-id');
37
+ ```
38
+
39
+ After
40
+
41
+ ```ts
42
+ model.embeddingModel('my-model-id');
43
+ ```
44
+
45
+ - b67d224: Fixes an issue where `providerMetadata` and `providerExecuted` were lost when tool input validation failed
46
+ - ab6f01a: Improve ai gateway error message when api key is not present
47
+ - 9388ff1: feat(ui): add isDataUIPart helper
48
+ - dce03c4: feat: tool input examples
49
+ - 2625a04: feat(openai); update spec for mcp approval
50
+ - 37c58a0: This release introduces `wrapEmbeddingModel`, a new helper that brings embedding model customization capabilities similar to `wrapLanguageModel`.
51
+ - 4e2b04d: fix(gateway): throw error with user-friendly message in non-production environments if `AI_GATEWAY_API_KEY` is not configured
52
+ - ab1087b: feat(ai): `chat.addToolResult()` is now `chat.addToolOutput()`
53
+ - bb10a89: fix(ai): mcp errors to be jsonrpc 2.0 compliant
54
+ - 457f1c6: feat(ai): onFinish callback for generateText
55
+ - 95f65c2: chore: use import \* from zod/v4
56
+ - 754df61: fix(ai): correct type field in arrayOutputStrategy from 'enum' to 'array'
57
+ - 58920e0: refactor: consolidate header normalization across packages, remove duplicates, preserve custom headers
58
+ - 954c356: feat(openai): allow custom names for provider-defined tools
59
+ - 7fdd89d: feat(agent): export AgentCallParameters and AgentStreamParameters types
60
+ - eca63f3: feat(ai): add OAuth for MCP clients + refactor to new package
61
+
62
+ This change replaces
63
+
64
+ ```ts
65
+ import { experimental_createMCPClient } from 'ai';
66
+ import { Experimental_StdioMCPTransport } from 'ai/mcp-stdio';
67
+ ```
68
+
69
+ with
70
+
71
+ ```ts
72
+ import { experimental_createMCPClient } from '@ai-sdk/mcp';
73
+ import { Experimental_StdioMCPTransport } from '@ai-sdk/mcp/mcp-stdio';
74
+ ```
75
+
76
+ - 90e5bdd: chore(ai): restructure agent files
77
+ - 42cf7ed: fix(agent): use tool.toModelOutput when available
78
+ - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
79
+ - 4812235: fix(ai): add missing export for `LoadSettingError`
80
+ - 7f2c9b6: fix(ui): do not submit automatically when server return with error
81
+ - 614599a: chore(ai): deprecate generateObject and streamObject
82
+ - 0c4822d: feat: `EmbeddingModelV3`
83
+ - e062079: chore(agent): move Agent.respond into createAgentStreamResponse function
84
+ - 2b49dae: feat(agent): support UIMessageStreamOptions in createAgentStreamResponse
85
+ - ee651d7: `https://v6.ai-sdk.dev` -> `https://ai-sdk.dev`
86
+ - 5a4e732: Export `parseJsonEventStream` and `uiMessageChunkSchema` from "ai" package
87
+ - f733285: fix(ai): only parse experimental_output in generateText when finishReason is stop
88
+ - 9b83947: feat(ai): add convertDataPart option to convertToModelMessages
89
+
90
+ Add optional convertDataPart callback for converting custom data parts (URLs, code files, etc.) to text or file parts that models can process. Fully type-safe using existing UIMessage generics.
91
+
92
+ - 7eca093: fix(ai): update `uiMessageChunkSchema` to satisfy the `UIMessageChunk` type
93
+ - 077aea3: feat(ai): stable structured output on generateText, streamText, and ToolLoopAgent
94
+ - 9f20c87: chore: updated README
95
+ - 521c537: feat(ai): Tool.needsApproval can be a function
96
+ - 7169511: feat(agent): support context in onFinish callback
97
+ - e8109d3: feat: tool execution approval
98
+ - 03849b0: move DelayedPromise into provider utils
99
+ - ed329cb: feat: `Provider-V3`
100
+ - 22ef5c6: feat(ai): Output.text() is default output mode
101
+ - 9ba4324: feat(ai): support SystemModelMessage[] in system and instructions properties
102
+ - 3bd2689: feat: extended token usage
103
+ - 293a6b7: Added a title to the tools
104
+ - 7c3c216: fixed docs and exported NoSpeechGeneratedError
105
+ - c62ecf0: feat(ai): add support for v2 specs in transcription and speech models
106
+ - d1bdadb: Added experimental_rerank support
107
+ - 703459a: feat: tool execution approval for dynamic tools
108
+ - 3071620: fix header loss when statusText is undefined in writeHead
109
+ - 7e4649f: fix(core): Fix image download behavior when the initial model is swapped out during prepareStep
110
+ - 48454ab: fix(ai): handle backpressure in `writeToServerResponse`
111
+ - e06b663: feat(agent): support experimental stream transforms
112
+ - 83e5744: feat: support async Tool.toModelOutput
113
+ - 8c98371: Extend addToolResult to support error results
114
+ - b1405bf: feat(ai): send context into streamText / generateText onFinish callbacks
115
+ - a5e152d: fix(ai): back version support for V2 providers
116
+ - aa0515c: feat(ai): move Agent to stable
117
+ - f6f0c5a: chore: remove zod from ui packages
118
+ - 3ed5519: chore: rename ToolCallOptions to ToolExecutionOptions
119
+ - eb8d1cb: fix not catching of empty arrays in validateUIMessage
120
+ - e7d9b00: feat(agent): add optional name property to agent
121
+ - d5b25ee: feat(ai): add Output.array()
122
+ - d7bae86: feat(ai): add Output.choice()
123
+ - 8dac895: feat: `LanguageModelV3`
124
+ - a755db5: feat(ai): improve warnings with provider and model id
125
+ - 1c2a4c1: fix(ai): remove outdated jsdoc param descriptions
126
+ - 686103c: chore(ai): export ContentPart type
127
+ - 0d6c0d8: chore(ai): remove deprecated CodeMessage type and related types and functions
128
+ - 9b8d17e: fix(agent): move provider options to main agent config
129
+ - 79a8e7f: feat(agent): support abortSignal in createAgentUIStream
130
+ - d59ce25: fix(ai): do not mutate middleware array argument when wrapping
131
+ - 475189e: chore(specification): rename EmbeddingModelCallOptions
132
+ - 3d83f38: chore(ai): improve addToolInputExamplesMiddleware
133
+ - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
134
+ - b681d7d: feat: expose usage tokens for 'generateImage' function
135
+ - c99da05: feat(ai): add onFinish to Agent
136
+ - db913bd: fix(google): add thought signature to gemini 3 pro image parts
137
+ - 9061dc0: feat: image editing
138
+ - 8445d70: feat: export GatewayModelId and use to type LanguageModel
139
+ - 32223c8: feat: add toolCallId arg to toModelOutput
140
+ - 8370068: fix(provider/google): preserve thoughtSignature through tool execution
141
+ - 5e313e3: fix(agent): do not allow static tools when tools is empty
142
+ - db62f7d: Added schema name and description for generateText and output
143
+ - a7f6f81: Add safeValidateUIMessages utility to validate UI messages without throwing, returning a success/failure result object like Zod’s safeParse
144
+ - 79ba99f: feat(agent): add message metadata support when inferring UI messages
145
+ - c98373a: chore(agent): rename createAgentStreamResponse to createAgentUIStreamResponse
146
+ - 846e80e: fix(ai): bind functions for v2 -> v3 adapter
147
+ - bbdcb81: Add experimental_context parameter to prepareStep callback
148
+ - 67a407c: chore(ai): add warning when using v2 models with AISDK v6
149
+ - 9524761: chore(ai): rename relevanceScore to score
150
+ - ca13d26: feat(ai): add output to StreamTextResult
151
+ - 4616b86: chore: update zod peer depenedency version
152
+ - a322efa: Added finishReason on useChat onFinish callbck
153
+ - 2d166e4: feat(provider/gateway): add support for image models
154
+ - 384142c: feat(agent): add abortSignal parameter to generate and stream
155
+ - 36b175c: chore(ai): change output generics
156
+ - 2b1bf9d: feat(ai): add pruneMessages helper function
157
+ - 81d4308: feat: provider-executed dynamic tools
158
+ - e0d1ea9: fix(ai): align logic of text-end with reasoning-end
159
+ - 2406576: chore(agent): rename messages property on agent ui stream functions to uiMessages
160
+ - b1aeea7: feat(ai): set default stopWhen on Agent to stepCountIs(20)
161
+ - dce4e7b: chore(agent): rename system to instructions
162
+ - 4ece5f9: feat(agent): add experimental_download to ToolLoopAgent
163
+ - a417a34: feat(agent): introduce version property
164
+ - 637eaa4: feat(ai): print model warnings in embed and embedMany
165
+ - 177b475: fix(ai): download files when intermediate file cannot be downloaded
166
+ - 21e20c0: feat(provider): transcription model v3 spec
167
+ - afe7093: feat: add middleware for tool input examples
168
+ - 61f7b0f: chore(agent): rename BasicAgent to ToolLoopAgent
169
+ - af9dab3: fix(ai): remove unused mode setting from generateObject and streamObject
170
+ - 522f6b8: feat: `ImageModelV3`
171
+ - 97b1d77: fix(ui): Don't resend messages for providerExecuted tools in lastAssistantMessageIsCompleteWithToolCalls and lastAssistantMessageIsCompleteWithApprovalResponses
172
+ - 69768c2: chore(ai): remove UI message reference from model message validation
173
+ - 27e8c3a: chore(ai): rename Agent to BasicAgent, introduce Agent interface
174
+ - 81e29ab: feat(ai): allow modifying experimental context in prepareStep
175
+ - 7da02d2: fix(ai): prune messages properly when toolCalls set to 'before-last-message'
176
+ - 763d04a: feat: Standard JSON Schema support
177
+ - 95b77e2: feat(agent): extract createAgentUIStream, add pipeAgentUIStreamToResponse
178
+ - 3794514: feat: flexible tool output content support
179
+ - cbf52cd: feat: expose raw finish reason
180
+ - 14ca35d: feat: add support for v2 specs
181
+ - 10c1322: fix: moved dependency `@ai-sdk/test-server` to devDependencies
182
+ - dcdac8c: chore(ai): rename tool helpers
183
+ - 960ec8f: chore: change argument of toModelOutput to parameter object
184
+ - b59d924: feat(ai): support SystemModelMessage in system and instructions properties
185
+ - 1bd7d32: feat: tool-specific strict mode
186
+ - 95f65c2: chore: load zod schemas lazily
187
+ - Updated dependencies [0c3b58b]
188
+ - Updated dependencies [ea9ca31]
189
+ - Updated dependencies [5dd4c6a]
190
+ - Updated dependencies [5d21222]
191
+ - Updated dependencies [0adc679]
192
+ - Updated dependencies [50b70d6]
193
+ - Updated dependencies [d1bdadb]
194
+ - Updated dependencies [7294355]
195
+ - Updated dependencies [e8694af]
196
+ - Updated dependencies [dee8b05]
197
+ - Updated dependencies [046aa3b]
198
+ - Updated dependencies [8d9e8ad]
199
+ - Updated dependencies [78928cb]
200
+ - Updated dependencies [dce03c4]
201
+ - Updated dependencies [2625a04]
202
+ - Updated dependencies [37c58a0]
203
+ - Updated dependencies [3b1d015]
204
+ - Updated dependencies [2b0caef]
205
+ - Updated dependencies [aaf5ebf]
206
+ - Updated dependencies [95f65c2]
207
+ - Updated dependencies [016b111]
208
+ - Updated dependencies [58920e0]
209
+ - Updated dependencies [954c356]
210
+ - Updated dependencies [c823faf]
211
+ - Updated dependencies [544d4e8]
212
+ - Updated dependencies [2b6a848]
213
+ - Updated dependencies [0c4822d]
214
+ - Updated dependencies [34ee8d0]
215
+ - Updated dependencies [521c537]
216
+ - Updated dependencies [1890317]
217
+ - Updated dependencies [4c44a5b]
218
+ - Updated dependencies [2f8b0c8]
219
+ - Updated dependencies [e8109d3]
220
+ - Updated dependencies [636e614]
221
+ - Updated dependencies [03849b0]
222
+ - Updated dependencies [7ccb36f]
223
+ - Updated dependencies [ed329cb]
224
+ - Updated dependencies [e06565c]
225
+ - Updated dependencies [32d8dbb]
226
+ - Updated dependencies [53f3368]
227
+ - Updated dependencies [d116b4b]
228
+ - Updated dependencies [3bd2689]
229
+ - Updated dependencies [293a6b7]
230
+ - Updated dependencies [5f66123]
231
+ - Updated dependencies [703459a]
232
+ - Updated dependencies [1cad0ab]
233
+ - Updated dependencies [bb36798]
234
+ - Updated dependencies [83e5744]
235
+ - Updated dependencies [bca7e61]
236
+ - Updated dependencies [7e32fea]
237
+ - Updated dependencies [3ed5519]
238
+ - Updated dependencies [8dac895]
239
+ - Updated dependencies [3e83633]
240
+ - Updated dependencies [1d8ea2c]
241
+ - Updated dependencies [ef62178]
242
+ - Updated dependencies [a755db5]
243
+ - Updated dependencies [0a2ff8a]
244
+ - Updated dependencies [cbb1d35]
245
+ - Updated dependencies [ee71658]
246
+ - Updated dependencies [475189e]
247
+ - Updated dependencies [457318b]
248
+ - Updated dependencies [b681d7d]
249
+ - Updated dependencies [db913bd]
250
+ - Updated dependencies [9061dc0]
251
+ - Updated dependencies [32223c8]
252
+ - Updated dependencies [7d73922]
253
+ - Updated dependencies [e6bfe91]
254
+ - Updated dependencies [c1efac4]
255
+ - Updated dependencies [acc14d8]
256
+ - Updated dependencies [f83903d]
257
+ - Updated dependencies [0e29b8b]
258
+ - Updated dependencies [366f50b]
259
+ - Updated dependencies [cdd0bc2]
260
+ - Updated dependencies [96322b7]
261
+ - Updated dependencies [4616b86]
262
+ - Updated dependencies [2d166e4]
263
+ - Updated dependencies [81d4308]
264
+ - Updated dependencies [9549c9e]
265
+ - Updated dependencies [6c766ef]
266
+ - Updated dependencies [af3780b]
267
+ - Updated dependencies [4f16c37]
268
+ - Updated dependencies [81e29ab]
269
+ - Updated dependencies [7b1b1b1]
270
+ - Updated dependencies [3782645]
271
+ - Updated dependencies [f18ef7f]
272
+ - Updated dependencies [522f6b8]
273
+ - Updated dependencies [6306603]
274
+ - Updated dependencies [1425df5]
275
+ - Updated dependencies [9f6149e]
276
+ - Updated dependencies [fca786b]
277
+ - Updated dependencies [763d04a]
278
+ - Updated dependencies [cc5170d]
279
+ - Updated dependencies [a90dca6]
280
+ - Updated dependencies [b1624f0]
281
+ - Updated dependencies [10d819b]
282
+ - Updated dependencies [3794514]
283
+ - Updated dependencies [cbf52cd]
284
+ - Updated dependencies [870297d]
285
+ - Updated dependencies [e9e157f]
286
+ - Updated dependencies [960ec8f]
287
+ - Updated dependencies [1bd7d32]
288
+ - Updated dependencies [f0b2157]
289
+ - Updated dependencies [95f65c2]
290
+ - @ai-sdk/provider@3.0.0
291
+ - @ai-sdk/gateway@2.0.0
292
+ - @ai-sdk/provider-utils@4.0.0
293
+
294
+ ## 6.0.0-beta.169
295
+
296
+ ### Patch Changes
297
+
298
+ - ee651d7: `https://v6.ai-sdk.dev` -> `https://ai-sdk.dev`
299
+
300
+ ## 6.0.0-beta.168
301
+
302
+ ### Patch Changes
303
+
304
+ - Updated dependencies [7294355]
305
+ - @ai-sdk/gateway@2.0.0-beta.93
306
+
307
+ ## 6.0.0-beta.167
308
+
309
+ ### Patch Changes
310
+
311
+ - 475189e: chore(specification): rename EmbeddingModelCallOptions
312
+ - Updated dependencies [475189e]
313
+ - @ai-sdk/provider@3.0.0-beta.32
314
+ - @ai-sdk/gateway@2.0.0-beta.92
315
+ - @ai-sdk/provider-utils@4.0.0-beta.59
316
+
317
+ ## 6.0.0-beta.166
318
+
319
+ ### Patch Changes
320
+
321
+ - 9f20c87: chore: updated README
322
+
323
+ ## 6.0.0-beta.165
324
+
325
+ ### Patch Changes
326
+
327
+ - 2625a04: feat(openai); update spec for mcp approval
328
+ - Updated dependencies [2625a04]
329
+ - @ai-sdk/provider@3.0.0-beta.31
330
+ - @ai-sdk/gateway@2.0.0-beta.91
331
+ - @ai-sdk/provider-utils@4.0.0-beta.58
332
+
333
+ ## 6.0.0-beta.164
334
+
335
+ ### Patch Changes
336
+
337
+ - cbf52cd: feat: expose raw finish reason
338
+ - Updated dependencies [cbf52cd]
339
+ - @ai-sdk/provider@3.0.0-beta.30
340
+ - @ai-sdk/gateway@2.0.0-beta.90
341
+ - @ai-sdk/provider-utils@4.0.0-beta.57
342
+
343
+ ## 6.0.0-beta.163
344
+
345
+ ### Patch Changes
346
+
347
+ - Updated dependencies [9549c9e]
348
+ - @ai-sdk/provider@3.0.0-beta.29
349
+ - @ai-sdk/gateway@2.0.0-beta.89
350
+ - @ai-sdk/provider-utils@4.0.0-beta.56
351
+
352
+ ## 6.0.0-beta.162
353
+
354
+ ### Patch Changes
355
+
356
+ - 50b70d6: feat(anthropic): add programmatic tool calling
357
+ - Updated dependencies [50b70d6]
358
+ - @ai-sdk/provider-utils@4.0.0-beta.55
359
+ - @ai-sdk/gateway@2.0.0-beta.88
360
+
361
+ ## 6.0.0-beta.161
362
+
363
+ ### Patch Changes
364
+
365
+ - Updated dependencies [ee71658]
366
+ - @ai-sdk/gateway@2.0.0-beta.87
367
+
368
+ ## 6.0.0-beta.160
369
+
370
+ ### Patch Changes
371
+
372
+ - 9061dc0: feat: image editing
373
+ - Updated dependencies [9061dc0]
374
+ - @ai-sdk/provider-utils@4.0.0-beta.54
375
+ - @ai-sdk/provider@3.0.0-beta.28
376
+ - @ai-sdk/gateway@2.0.0-beta.86
377
+
378
+ ## 6.0.0-beta.159
379
+
380
+ ### Patch Changes
381
+
382
+ - 3071620: fix header loss when statusText is undefined in writeHead
383
+ - Updated dependencies [870297d]
384
+ - @ai-sdk/gateway@2.0.0-beta.85
385
+
386
+ ## 6.0.0-beta.158
387
+
388
+ ### Patch Changes
389
+
390
+ - Updated dependencies [366f50b]
391
+ - @ai-sdk/provider@3.0.0-beta.27
392
+ - @ai-sdk/gateway@2.0.0-beta.84
393
+ - @ai-sdk/provider-utils@4.0.0-beta.53
394
+
395
+ ## 6.0.0-beta.157
396
+
397
+ ### Patch Changes
398
+
399
+ - 763d04a: feat: Standard JSON Schema support
400
+ - Updated dependencies [763d04a]
401
+ - @ai-sdk/provider-utils@4.0.0-beta.52
402
+ - @ai-sdk/gateway@2.0.0-beta.83
403
+
404
+ ## 6.0.0-beta.156
405
+
406
+ ### Patch Changes
407
+
408
+ - 2406576: chore(agent): rename messages property on agent ui stream functions to uiMessages
409
+
410
+ ## 6.0.0-beta.155
411
+
412
+ ### Patch Changes
413
+
414
+ - Updated dependencies [c1efac4]
415
+ - @ai-sdk/provider-utils@4.0.0-beta.51
416
+ - @ai-sdk/gateway@2.0.0-beta.82
417
+
418
+ ## 6.0.0-beta.154
419
+
420
+ ### Patch Changes
421
+
422
+ - 32223c8: feat: add toolCallId arg to toModelOutput
423
+ - Updated dependencies [32223c8]
424
+ - @ai-sdk/provider-utils@4.0.0-beta.50
425
+ - @ai-sdk/gateway@2.0.0-beta.81
426
+
427
+ ## 6.0.0-beta.153
428
+
429
+ ### Patch Changes
430
+
431
+ - 83e5744: feat: support async Tool.toModelOutput
432
+ - Updated dependencies [83e5744]
433
+ - @ai-sdk/provider-utils@4.0.0-beta.49
434
+ - @ai-sdk/gateway@2.0.0-beta.80
435
+
436
+ ## 6.0.0-beta.152
437
+
438
+ ### Patch Changes
439
+
440
+ - 960ec8f: chore: change argument of toModelOutput to parameter object
441
+ - Updated dependencies [960ec8f]
442
+ - @ai-sdk/provider-utils@4.0.0-beta.48
443
+ - @ai-sdk/gateway@2.0.0-beta.79
444
+
445
+ ## 6.0.0-beta.151
446
+
447
+ ### Patch Changes
448
+
449
+ - dcdac8c: chore(ai): rename tool helpers
450
+
451
+ ## 6.0.0-beta.150
452
+
453
+ ### Patch Changes
454
+
455
+ - db62f7d: Added schema name and description for generateText and output
456
+
457
+ ## 6.0.0-beta.149
458
+
459
+ ### Patch Changes
460
+
461
+ - 4e2b04d: fix(gateway): throw error with user-friendly message in non-production environments if `AI_GATEWAY_API_KEY` is not configured
462
+
463
+ ## 6.0.0-beta.148
464
+
465
+ ### Patch Changes
466
+
467
+ - Updated dependencies [f18ef7f]
468
+ - @ai-sdk/gateway@2.0.0-beta.78
469
+
470
+ ## 6.0.0-beta.147
471
+
472
+ ### Patch Changes
473
+
474
+ - 637eaa4: feat(ai): print model warnings in embed and embedMany
475
+
476
+ ## 6.0.0-beta.146
477
+
478
+ ### Patch Changes
479
+
480
+ - Updated dependencies [e9e157f]
481
+ - @ai-sdk/provider-utils@4.0.0-beta.47
482
+ - @ai-sdk/gateway@2.0.0-beta.77
483
+
484
+ ## 6.0.0-beta.145
485
+
486
+ ### Patch Changes
487
+
488
+ - Updated dependencies [34ee8d0]
489
+ - @ai-sdk/gateway@2.0.0-beta.76
490
+
491
+ ## 6.0.0-beta.144
492
+
493
+ ### Patch Changes
494
+
495
+ - ab6f01a: Improve ai gateway error message when api key is not present
496
+
497
+ ## 6.0.0-beta.143
498
+
499
+ ### Patch Changes
500
+
501
+ - 81e29ab: feat(ai): allow modifying experimental context in prepareStep
502
+ - Updated dependencies [81e29ab]
503
+ - @ai-sdk/provider-utils@4.0.0-beta.46
504
+ - @ai-sdk/gateway@2.0.0-beta.75
505
+
506
+ ## 6.0.0-beta.142
507
+
508
+ ### Patch Changes
509
+
510
+ - 7169511: feat(agent): support context in onFinish callback
511
+ - bbdcb81: Add experimental_context parameter to prepareStep callback
512
+
513
+ ## 6.0.0-beta.141
514
+
515
+ ### Patch Changes
516
+
517
+ - b1405bf: feat(ai): send context into streamText / generateText onFinish callbacks
518
+
519
+ ## 6.0.0-beta.140
520
+
521
+ ### Patch Changes
522
+
523
+ - 7fdd89d: feat(agent): export AgentCallParameters and AgentStreamParameters types
524
+
525
+ ## 6.0.0-beta.139
526
+
527
+ ### Patch Changes
528
+
529
+ - 3bd2689: feat: extended token usage
530
+ - Updated dependencies [3bd2689]
531
+ - @ai-sdk/provider@3.0.0-beta.26
532
+ - @ai-sdk/gateway@2.0.0-beta.74
533
+ - @ai-sdk/provider-utils@4.0.0-beta.45
534
+
535
+ ## 6.0.0-beta.138
536
+
537
+ ### Patch Changes
538
+
539
+ - Updated dependencies [53f3368]
540
+ - @ai-sdk/provider@3.0.0-beta.25
541
+ - @ai-sdk/gateway@2.0.0-beta.73
542
+ - @ai-sdk/provider-utils@4.0.0-beta.44
543
+
544
+ ## 6.0.0-beta.137
545
+
546
+ ### Patch Changes
547
+
548
+ - 9ba4324: feat(ai): support SystemModelMessage[] in system and instructions properties
549
+
550
+ ## 6.0.0-beta.136
551
+
552
+ ### Patch Changes
553
+
554
+ - 3d83f38: chore(ai): improve addToolInputExamplesMiddleware
555
+
556
+ ## 6.0.0-beta.135
557
+
558
+ ### Patch Changes
559
+
560
+ - afe7093: feat: add middleware for tool input examples
561
+
562
+ ## 6.0.0-beta.134
563
+
564
+ ### Patch Changes
565
+
566
+ - 686103c: chore(ai): export ContentPart type
567
+
568
+ ## 6.0.0-beta.133
569
+
570
+ ### Patch Changes
571
+
572
+ - dce03c4: feat: tool input examples
573
+ - Updated dependencies [dce03c4]
574
+ - @ai-sdk/provider-utils@4.0.0-beta.43
575
+ - @ai-sdk/provider@3.0.0-beta.24
576
+ - @ai-sdk/gateway@2.0.0-beta.72
577
+
578
+ ## 6.0.0-beta.132
579
+
580
+ ### Patch Changes
581
+
582
+ - af9dab3: fix(ai): remove unused mode setting from generateObject and streamObject
583
+
584
+ ## 6.0.0-beta.131
585
+
586
+ ### Patch Changes
587
+
588
+ - 3ed5519: chore: rename ToolCallOptions to ToolExecutionOptions
589
+ - Updated dependencies [3ed5519]
590
+ - @ai-sdk/provider-utils@4.0.0-beta.42
591
+ - @ai-sdk/gateway@2.0.0-beta.71
592
+
593
+ ## 6.0.0-beta.130
594
+
595
+ ### Patch Changes
596
+
597
+ - 1bd7d32: feat: tool-specific strict mode
598
+ - Updated dependencies [1bd7d32]
599
+ - @ai-sdk/provider-utils@4.0.0-beta.41
600
+ - @ai-sdk/provider@3.0.0-beta.23
601
+ - @ai-sdk/gateway@2.0.0-beta.70
602
+
603
+ ## 6.0.0-beta.129
604
+
605
+ ### Patch Changes
606
+
607
+ - 67a407c: chore(ai): add warning when using v2 models with AISDK v6
608
+
609
+ ## 6.0.0-beta.128
610
+
611
+ ### Patch Changes
612
+
613
+ - Updated dependencies [b1624f0]
614
+ - @ai-sdk/gateway@2.0.0-beta.69
615
+
616
+ ## 6.0.0-beta.127
617
+
618
+ ### Patch Changes
619
+
620
+ - 614599a: chore(ai): deprecate generateObject and streamObject
621
+
622
+ ## 6.0.0-beta.126
623
+
624
+ ### Patch Changes
625
+
626
+ - b67d224: Fixes an issue where `providerMetadata` and `providerExecuted` were lost when tool input validation failed
627
+
628
+ ## 6.0.0-beta.125
629
+
630
+ ### Patch Changes
631
+
632
+ - 0d6c0d8: chore(ai): remove deprecated CodeMessage type and related types and functions
633
+
634
+ ## 6.0.0-beta.124
635
+
636
+ ### Patch Changes
637
+
638
+ - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
639
+ - Updated dependencies [544d4e8]
640
+ - @ai-sdk/provider-utils@4.0.0-beta.40
641
+ - @ai-sdk/provider@3.0.0-beta.22
642
+ - @ai-sdk/gateway@2.0.0-beta.68
643
+
644
+ ## 6.0.0-beta.123
645
+
646
+ ### Patch Changes
647
+
648
+ - 954c356: feat(openai): allow custom names for provider-defined tools
649
+ - Updated dependencies [954c356]
650
+ - @ai-sdk/provider-utils@4.0.0-beta.39
651
+ - @ai-sdk/provider@3.0.0-beta.21
652
+ - @ai-sdk/gateway@2.0.0-beta.67
653
+
654
+ ## 6.0.0-beta.122
655
+
656
+ ### Patch Changes
657
+
658
+ - 03849b0: move DelayedPromise into provider utils
659
+ - Updated dependencies [03849b0]
660
+ - @ai-sdk/provider-utils@4.0.0-beta.38
661
+ - @ai-sdk/gateway@2.0.0-beta.66
662
+
663
+ ## 6.0.0-beta.121
664
+
665
+ ### Patch Changes
666
+
667
+ - Updated dependencies [cdd0bc2]
668
+ - @ai-sdk/gateway@2.0.0-beta.65
669
+
670
+ ## 6.0.0-beta.120
671
+
672
+ ### Patch Changes
673
+
674
+ - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
675
+ - Updated dependencies [457318b]
676
+ - @ai-sdk/provider@3.0.0-beta.20
677
+ - @ai-sdk/gateway@2.0.0-beta.64
678
+ - @ai-sdk/provider-utils@4.0.0-beta.37
679
+
680
+ ## 6.0.0-beta.119
681
+
682
+ ### Patch Changes
683
+
684
+ - b59d924: feat(ai): support SystemModelMessage in system and instructions properties
685
+
686
+ ## 6.0.0-beta.118
687
+
688
+ ### Patch Changes
689
+
690
+ - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
691
+
692
+ Before
693
+
694
+ ```ts
695
+ model.textEmbeddingModel('my-model-id');
696
+ ```
697
+
698
+ After
699
+
700
+ ```ts
701
+ model.embeddingModel('my-model-id');
702
+ ```
703
+
704
+ - Updated dependencies [8d9e8ad]
705
+ - @ai-sdk/provider@3.0.0-beta.19
706
+ - @ai-sdk/gateway@2.0.0-beta.63
707
+ - @ai-sdk/provider-utils@4.0.0-beta.36
708
+
709
+ ## 6.0.0-beta.117
710
+
711
+ ### Patch Changes
712
+
713
+ - Updated dependencies [10d819b]
714
+ - @ai-sdk/provider@3.0.0-beta.18
715
+ - @ai-sdk/gateway@2.0.0-beta.62
716
+ - @ai-sdk/provider-utils@4.0.0-beta.35
717
+
718
+ ## 6.0.0-beta.116
719
+
720
+ ### Patch Changes
721
+
722
+ - 4ece5f9: feat(agent): add experimental_download to ToolLoopAgent
723
+
724
+ ## 6.0.0-beta.115
725
+
726
+ ### Patch Changes
727
+
728
+ - 7da02d2: fix(ai): prune messages properly when toolCalls set to 'before-last-message'
729
+
730
+ ## 6.0.0-beta.114
731
+
732
+ ### Patch Changes
733
+
734
+ - 69768c2: chore(ai): remove UI message reference from model message validation
735
+
736
+ ## 6.0.0-beta.113
737
+
738
+ ### Patch Changes
739
+
740
+ - 79a8e7f: feat(agent): support abortSignal in createAgentUIStream
741
+
742
+ ## 6.0.0-beta.112
743
+
744
+ ### Patch Changes
745
+
746
+ - e06b663: feat(agent): support experimental stream transforms
747
+
748
+ ## 6.0.0-beta.111
749
+
750
+ ### Patch Changes
751
+
752
+ - Updated dependencies [e8694af]
753
+ - @ai-sdk/gateway@2.0.0-beta.61
754
+
755
+ ## 6.0.0-beta.110
756
+
757
+ ### Patch Changes
758
+
759
+ - db913bd: fix(google): add thought signature to gemini 3 pro image parts
760
+ - Updated dependencies [db913bd]
761
+ - @ai-sdk/provider@3.0.0-beta.17
762
+ - @ai-sdk/gateway@2.0.0-beta.60
763
+ - @ai-sdk/provider-utils@4.0.0-beta.34
764
+
765
+ ## 6.0.0-beta.109
766
+
767
+ ### Patch Changes
768
+
769
+ - 79ba99f: feat(agent): add message metadata support when inferring UI messages
770
+
771
+ ## 6.0.0-beta.108
772
+
773
+ ### Patch Changes
774
+
775
+ - Updated dependencies [5dd4c6a]
776
+ - @ai-sdk/gateway@2.0.0-beta.59
777
+
778
+ ## 6.0.0-beta.107
779
+
780
+ ### Patch Changes
781
+
782
+ - 8445d70: feat: export GatewayModelId and use to type LanguageModel
783
+
784
+ ## 6.0.0-beta.106
785
+
786
+ ### Patch Changes
787
+
788
+ - Updated dependencies [1425df5]
789
+ - @ai-sdk/gateway@2.0.0-beta.58
790
+
791
+ ## 6.0.0-beta.105
792
+
793
+ ### Patch Changes
794
+
795
+ - Updated dependencies [bca7e61]
796
+ - @ai-sdk/gateway@2.0.0-beta.57
797
+
798
+ ## 6.0.0-beta.104
799
+
800
+ ### Patch Changes
801
+
802
+ - 2d166e4: feat(provider/gateway): add support for image models
803
+ - Updated dependencies [2d166e4]
804
+ - @ai-sdk/gateway@2.0.0-beta.56
805
+
806
+ ## 6.0.0-beta.103
807
+
808
+ ### Patch Changes
809
+
810
+ - Updated dependencies [cc5170d]
811
+ - @ai-sdk/gateway@2.0.0-beta.55
812
+
813
+ ## 6.0.0-beta.102
814
+
815
+ ### Patch Changes
816
+
817
+ - Updated dependencies [5f66123]
818
+ - @ai-sdk/gateway@2.0.0-beta.54
819
+
820
+ ## 6.0.0-beta.101
821
+
822
+ ### Patch Changes
823
+
824
+ - Updated dependencies [3782645]
825
+ - @ai-sdk/gateway@2.0.0-beta.53
826
+
827
+ ## 6.0.0-beta.100
828
+
829
+ ### Patch Changes
830
+
831
+ - 8370068: fix(provider/google): preserve thoughtSignature through tool execution
832
+
3
833
  ## 6.0.0-beta.99
4
834
 
5
835
  ### Patch Changes