@zenning/openai 1.6.0 → 2.1.0
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 +970 -45
- package/dist/index.d.mts +184 -328
- package/dist/index.d.ts +184 -328
- package/dist/index.js +2509 -2100
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2520 -2090
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +250 -0
- package/dist/internal/index.d.ts +250 -0
- package/dist/internal/index.js +3829 -0
- package/dist/internal/index.js.map +1 -0
- package/dist/internal/index.mjs +3849 -0
- package/dist/internal/index.mjs.map +1 -0
- package/internal.d.ts +1 -0
- package/package.json +21 -19
- package/internal/dist/index.d.mts +0 -394
- package/internal/dist/index.d.ts +0 -394
- package/internal/dist/index.js +0 -3390
- package/internal/dist/index.js.map +0 -1
- package/internal/dist/index.mjs +0 -3393
- package/internal/dist/index.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,113 +1,1038 @@
|
|
|
1
1
|
# @ai-sdk/openai
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
3
|
+
## 2.1.0-beta.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 78928cb: release: start 5.1 beta
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [78928cb]
|
|
12
|
+
- @ai-sdk/provider@2.1.0-beta.0
|
|
13
|
+
- @ai-sdk/provider-utils@3.1.0-beta.0
|
|
14
|
+
|
|
15
|
+
## 2.0.32
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 1cf857d: fix(provider/openai): remove provider-executed tools from chat completions model
|
|
20
|
+
- 01de47f: feat(provider/openai): rework file search tool
|
|
21
|
+
|
|
22
|
+
## 2.0.31
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- bb94467: feat(provider/openai): add maxToolCalls provider option
|
|
27
|
+
- 4a2b70e: feat(provider/openai): send item references for provider-executed tool results
|
|
28
|
+
- 643711d: feat (provider/openai): provider defined image generation tool support
|
|
29
|
+
|
|
30
|
+
## 2.0.30
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- Updated dependencies [0294b58]
|
|
35
|
+
- @ai-sdk/provider-utils@3.0.9
|
|
36
|
+
|
|
37
|
+
## 2.0.29
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- 4235eb3: feat(provider/openai): code interpreter tool calls and results
|
|
42
|
+
|
|
43
|
+
## 2.0.28
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- 4c2bb77: fix (provider/openai): send sources action as include
|
|
48
|
+
- 561e8b0: fix (provider/openai): fix code interpreter tool in doGenerate
|
|
49
|
+
|
|
50
|
+
## 2.0.27
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- 2338c79: feat (provider/openai): add jsdoc for openai tools
|
|
55
|
+
|
|
56
|
+
## 2.0.26
|
|
57
|
+
|
|
58
|
+
### Patch Changes
|
|
59
|
+
|
|
60
|
+
- 5819aec: fix (provider/openai): only send tool calls finish reason for tools that are not provider-executed
|
|
61
|
+
- af8c6bb: feat (provider/openai): add web_search tool
|
|
62
|
+
|
|
63
|
+
## 2.0.25
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- fb45ade: fix timestamp granularities support for openai transcription
|
|
68
|
+
|
|
69
|
+
## 2.0.24
|
|
70
|
+
|
|
71
|
+
### Patch Changes
|
|
72
|
+
|
|
73
|
+
- ad57512: fix(provider/openai): safe practice to include filename and fileExtension to avoid `experimental_transcribe` fails with valid Buffer
|
|
74
|
+
- Updated dependencies [99964ed]
|
|
75
|
+
- @ai-sdk/provider-utils@3.0.8
|
|
76
|
+
|
|
77
|
+
## 2.0.23
|
|
78
|
+
|
|
79
|
+
### Patch Changes
|
|
80
|
+
|
|
81
|
+
- a9a61b7: Add serviceTier to provider metadata for OpenAI responses
|
|
82
|
+
|
|
83
|
+
## 2.0.22
|
|
84
|
+
|
|
85
|
+
### Patch Changes
|
|
86
|
+
|
|
87
|
+
- 0e272ae: fix(provider/openai): make file_citation annotation fields optional for responses api compatibility
|
|
88
|
+
- Updated dependencies [886e7cd]
|
|
89
|
+
- @ai-sdk/provider-utils@3.0.7
|
|
90
|
+
|
|
91
|
+
## 2.0.21
|
|
92
|
+
|
|
93
|
+
### Patch Changes
|
|
94
|
+
|
|
95
|
+
- d18856a: fix(provider/openai): support websearch tool results without query property
|
|
96
|
+
- 15271d6: fix(provider/openai): do not set `response_format` to `verbose_json` if model is `gpt-4o-transcribe` or `gpt-4o-mini-transcribe`
|
|
97
|
+
|
|
98
|
+
These two models do not support it:
|
|
99
|
+
https://platform.openai.com/docs/api-reference/audio/createTranscription#audio_createtranscription-response_format
|
|
100
|
+
|
|
101
|
+
- Updated dependencies [1b5a3d3]
|
|
102
|
+
- @ai-sdk/provider-utils@3.0.6
|
|
103
|
+
|
|
104
|
+
## 2.0.20
|
|
105
|
+
|
|
106
|
+
### Patch Changes
|
|
107
|
+
|
|
108
|
+
- 974de40: fix(provider/ai): do not set `.providerMetadata.openai.logprobs` to an array of empty arrays when using `streamText()`
|
|
109
|
+
|
|
110
|
+
## 2.0.19
|
|
111
|
+
|
|
112
|
+
### Patch Changes
|
|
113
|
+
|
|
114
|
+
- Updated dependencies [0857788]
|
|
115
|
+
- @ai-sdk/provider-utils@3.0.5
|
|
116
|
+
|
|
117
|
+
## 2.0.18
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- 5e47d00: Support Responses API input_file file_url passthrough for PDFs.
|
|
122
|
+
|
|
123
|
+
This adds:
|
|
124
|
+
|
|
125
|
+
- file_url variant to OpenAIResponses user content
|
|
126
|
+
- PDF URL mapping to input_file with file_url in Responses converter
|
|
127
|
+
- PDF URL support in supportedUrls to avoid auto-download
|
|
128
|
+
|
|
129
|
+
## 2.0.17
|
|
130
|
+
|
|
131
|
+
### Patch Changes
|
|
132
|
+
|
|
133
|
+
- 70bb696: fix(provider/openai): correct web search tool input
|
|
134
|
+
|
|
135
|
+
## 2.0.16
|
|
136
|
+
|
|
137
|
+
### Patch Changes
|
|
138
|
+
|
|
139
|
+
- Updated dependencies [68751f9]
|
|
140
|
+
- @ai-sdk/provider-utils@3.0.4
|
|
141
|
+
|
|
142
|
+
## 2.0.15
|
|
143
|
+
|
|
144
|
+
### Patch Changes
|
|
145
|
+
|
|
146
|
+
- a4bef93: feat(provider/openai): expose web search queries in responses api
|
|
147
|
+
- 6ed34cb: refactor(openai): consolidate model config into `getResponsesModelConfig()`
|
|
148
|
+
|
|
149
|
+
https://github.com/vercel/ai/pull/8038
|
|
150
|
+
|
|
151
|
+
## 2.0.14
|
|
152
|
+
|
|
153
|
+
### Patch Changes
|
|
154
|
+
|
|
155
|
+
- 7f47105: fix(provider/openai): support file_citation annotations in responses api
|
|
156
|
+
|
|
157
|
+
## 2.0.13
|
|
158
|
+
|
|
159
|
+
### Patch Changes
|
|
160
|
+
|
|
161
|
+
- ddc9d99: Implements `logprobs` for OpenAI `providerOptions` and `providerMetaData` in `OpenAIResponsesLanguageModel`
|
|
162
|
+
|
|
163
|
+
You can now set `providerOptions.openai.logprobs` when using `generateText()` and retrieve logprobs from the response via `result.providerMetadata?.openai`
|
|
164
|
+
|
|
165
|
+
## 2.0.12
|
|
166
|
+
|
|
167
|
+
### Patch Changes
|
|
168
|
+
|
|
169
|
+
- ec336a1: feat(provider/openai): add response_format to be supported by default
|
|
170
|
+
- 2935ec7: fix(provider/openai): exclude gpt-5-chat from reasoning model
|
|
171
|
+
- Updated dependencies [034e229]
|
|
172
|
+
- Updated dependencies [f25040d]
|
|
173
|
+
- @ai-sdk/provider-utils@3.0.3
|
|
174
|
+
|
|
175
|
+
## 2.0.11
|
|
176
|
+
|
|
177
|
+
### Patch Changes
|
|
178
|
+
|
|
179
|
+
- 097b452: feat(openai, azure): add configurable file ID prefixes for Responses API
|
|
180
|
+
|
|
181
|
+
- Added `fileIdPrefixes` option to OpenAI Responses API configuration
|
|
182
|
+
- Azure OpenAI now supports `assistant-` prefixed file IDs (replacing previous `file-` prefix support)
|
|
183
|
+
- OpenAI maintains backward compatibility with default `file-` prefix
|
|
184
|
+
- File ID detection is disabled when `fileIdPrefixes` is undefined, gracefully falling back to base64 processing
|
|
185
|
+
|
|
186
|
+
- 87cf954: feat(provider/openai): add support for prompt_cache_key
|
|
187
|
+
- a3d98a9: feat(provider/openai): add support for safety_identifier
|
|
188
|
+
- 110d167: fix(openai): add missing file_search_call handlers in responses streaming
|
|
189
|
+
- 8d3c747: chore(openai): remove deprecated GPT-4.5-preview models and improve autocomplete control
|
|
190
|
+
- Updated dependencies [38ac190]
|
|
191
|
+
- @ai-sdk/provider-utils@3.0.2
|
|
192
|
+
|
|
193
|
+
## 2.0.10
|
|
194
|
+
|
|
195
|
+
### Patch Changes
|
|
196
|
+
|
|
197
|
+
- a274b01: refactor(provider/openai): restructure files
|
|
198
|
+
- b48e0ff: feat(provider/openai): add code interpreter tool (responses api)
|
|
199
|
+
|
|
200
|
+
## 2.0.9
|
|
201
|
+
|
|
202
|
+
### Patch Changes
|
|
203
|
+
|
|
204
|
+
- 8f8a521: fix(providers): use convertToBase64 for Uint8Array image parts to produce valid data URLs; keep mediaType normalization and URL passthrough
|
|
205
|
+
|
|
206
|
+
## 2.0.8
|
|
207
|
+
|
|
208
|
+
### Patch Changes
|
|
209
|
+
|
|
210
|
+
- 57fb959: feat(openai): add verbosity parameter support for chat api
|
|
211
|
+
- 2a3fbe6: allow `minimal` in `reasoningEffort` for openai chat
|
|
212
|
+
|
|
213
|
+
## 2.0.7
|
|
214
|
+
|
|
215
|
+
### Patch Changes
|
|
216
|
+
|
|
217
|
+
- 4738f18: feat(openai): add flex processing support for gpt-5 models
|
|
218
|
+
- 013d747: feat(openai): add verbosity parameter support for responses api
|
|
219
|
+
- 35feee8: feat(openai): add priority processing support for gpt-5 models
|
|
220
|
+
|
|
221
|
+
## 2.0.6
|
|
222
|
+
|
|
223
|
+
### Patch Changes
|
|
224
|
+
|
|
225
|
+
- ad2255f: chore(docs): added gpt 5 models + removed deprecated models
|
|
226
|
+
- 64bcb66: feat(provider/openai): models ids on chat
|
|
227
|
+
- 1d42ff2: feat(provider/openai): models ids
|
|
228
|
+
|
|
229
|
+
## 2.0.5
|
|
230
|
+
|
|
231
|
+
### Patch Changes
|
|
232
|
+
|
|
233
|
+
- 6753a2e: feat(examples): add gpt-5 model examples and e2e tests
|
|
234
|
+
- 6cba06a: feat (provider/openai): add reasoning model config
|
|
235
|
+
|
|
236
|
+
## 2.0.4
|
|
237
|
+
|
|
238
|
+
### Patch Changes
|
|
239
|
+
|
|
240
|
+
- c9e0f52: Files from the OpenAI Files API are now supported, mirroring functionality of OpenAI Chat and Responses API, respectively. Also, the AI SDK supports URLs for PDFs in the responses API the same way it did for completions.
|
|
241
|
+
|
|
242
|
+
## 2.0.3
|
|
243
|
+
|
|
244
|
+
### Patch Changes
|
|
245
|
+
|
|
246
|
+
- Updated dependencies [90d212f]
|
|
247
|
+
- @ai-sdk/provider-utils@3.0.1
|
|
248
|
+
|
|
249
|
+
## 2.0.2
|
|
250
|
+
|
|
251
|
+
### Patch Changes
|
|
252
|
+
|
|
253
|
+
- 63e2016: fix(openai): missing url citations from web search tools
|
|
254
|
+
|
|
255
|
+
## 2.0.1
|
|
256
|
+
|
|
257
|
+
### Patch Changes
|
|
258
|
+
|
|
259
|
+
- bc45e29: feat(openai): add file_search_call support to responses api
|
|
260
|
+
|
|
261
|
+
## 2.0.0
|
|
262
|
+
|
|
263
|
+
### Major Changes
|
|
264
|
+
|
|
265
|
+
- d5f588f: AI SDK 5
|
|
266
|
+
- cc62234: chore (provider/openai): switch default to openai responses api
|
|
267
|
+
- 516be5b: ### Move Image Model Settings into generate options
|
|
268
|
+
|
|
269
|
+
Image Models no longer have settings. Instead, `maxImagesPerCall` can be passed directly to `generateImage()`. All other image settings can be passed to `providerOptions[provider]`.
|
|
270
|
+
|
|
271
|
+
Before
|
|
272
|
+
|
|
273
|
+
```js
|
|
274
|
+
await generateImage({
|
|
275
|
+
model: luma.image('photon-flash-1', {
|
|
276
|
+
maxImagesPerCall: 5,
|
|
277
|
+
pollIntervalMillis: 500,
|
|
278
|
+
}),
|
|
279
|
+
prompt,
|
|
280
|
+
n: 10,
|
|
281
|
+
});
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
After
|
|
285
|
+
|
|
286
|
+
```js
|
|
287
|
+
await generateImage({
|
|
288
|
+
model: luma.image('photon-flash-1'),
|
|
289
|
+
prompt,
|
|
290
|
+
n: 10,
|
|
291
|
+
maxImagesPerCall: 5,
|
|
292
|
+
providerOptions: {
|
|
293
|
+
luma: { pollIntervalMillis: 5 },
|
|
294
|
+
},
|
|
295
|
+
});
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
Pull Request: https://github.com/vercel/ai/pull/6180
|
|
299
|
+
|
|
300
|
+
- efc3a62: fix (provider/openai): default strict mode to false
|
|
301
|
+
|
|
302
|
+
### Patch Changes
|
|
303
|
+
|
|
304
|
+
- 948b755: chore(providers/openai): convert to providerOptions
|
|
305
|
+
- d63bcbc: feat (provider/openai): o4 updates for responses api
|
|
306
|
+
- 3bd3c0b: chore(providers/openai): update embedding model to use providerOptions
|
|
307
|
+
- 5d959e7: refactor: updated openai + anthropic tool use server side
|
|
308
|
+
- 0eee6a8: Fix streaming and reconstruction of reasoning summary parts
|
|
309
|
+
- 177526b: chore(providers/openai-transcription): switch to providerOptions
|
|
310
|
+
- 2f542fa: Add reasoning-part-finish parts for reasoning models in the responses API
|
|
311
|
+
- c15dfbf: feat (providers/openai): add gpt-image-1 model id to image settings
|
|
312
|
+
- 3b1ea10: adding support for gpt-4o-search-preview and handling unsupported parameters
|
|
313
|
+
- e2aceaf: feat: add raw chunk support
|
|
314
|
+
- d2af019: feat (providers/openai): add gpt-4.1 models
|
|
315
|
+
- eb173f1: chore (providers): remove model shorthand deprecation warnings
|
|
316
|
+
- 209256d: Add missing file_search tool support to OpenAI Responses API
|
|
317
|
+
- faea29f: fix (provider/openai): multi-step reasoning with text
|
|
318
|
+
- 7032dc5: feat(openai): add priority processing service tier support
|
|
319
|
+
- 870c5c0: feat (providers/openai): add o3 and o4-mini models
|
|
320
|
+
- db72adc: chore(providers/openai): update completion model to use providerOptions
|
|
321
|
+
- a166433: feat: add transcription with experimental_transcribe
|
|
322
|
+
- 26735b5: chore(embedding-model): add v2 interface
|
|
323
|
+
- 443d8ec: feat(embedding-model-v2): add response body field
|
|
324
|
+
- 8d12da5: feat(provider/openai): add serviceTier option for flex processing
|
|
325
|
+
- 9bf7291: chore(providers/openai): enable structuredOutputs by default & switch to provider option
|
|
326
|
+
- d521cda: feat(openai): add file_search filters and update field names
|
|
327
|
+
- 66962ed: fix(packages): export node10 compatible types
|
|
328
|
+
- 442be08: fix: propagate openai transcription fixes
|
|
329
|
+
- 0059ee2: fix(openai): update file_search fields to match API changes
|
|
330
|
+
- 8493141: feat (providers/openai): add support for reasoning summaries
|
|
331
|
+
- 9301f86: refactor (image-model): rename `ImageModelV1` to `ImageModelV2`
|
|
332
|
+
- 0a87932: core (ai): change transcription model mimeType to mediaType
|
|
333
|
+
- 8aa9e20: feat: add speech with experimental_generateSpeech
|
|
334
|
+
- 4617fab: chore(embedding-models): remove remaining settings
|
|
335
|
+
- b5a0e32: fix (provider/openai): correct default for chat model strict mode
|
|
336
|
+
- 136819b: chore(providers/openai): re-introduce logprobs as providerMetadata
|
|
337
|
+
- 52ce942: chore(providers/openai): remove & enable strict compatibility by default
|
|
338
|
+
- db64cbe: fix (provider/openai): multi-step reasoning with tool calls
|
|
339
|
+
- b3c3450: feat (provider/openai): add support for encrypted_reasoning to responses api
|
|
340
|
+
- 48249c4: Do not warn if empty text is the first part of a reasoning sequence
|
|
341
|
+
- c7d3b2e: fix (provider/openai): push first reasoning chunk in output item added event
|
|
342
|
+
- ad2a3d5: feat(provider/openai): add missing reasoning models to responses API
|
|
343
|
+
- 9943464: feat(openai): add file_search_call.results support to include parameter
|
|
344
|
+
- 0fa7414: chore (provider/openai): standardize on itemId in provider metadata
|
|
345
|
+
- 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2 interface (#5977)
|
|
346
|
+
|
|
347
|
+
The `experimental_generateImage` method from the `ai` package now returnes revised prompts for OpenAI's image models.
|
|
348
|
+
|
|
349
|
+
```js
|
|
350
|
+
const prompt = 'Santa Claus driving a Cadillac';
|
|
351
|
+
|
|
352
|
+
const { providerMetadata } = await experimental_generateImage({
|
|
353
|
+
model: openai.image('dall-e-3'),
|
|
354
|
+
prompt,
|
|
355
|
+
});
|
|
356
|
+
|
|
357
|
+
const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;
|
|
358
|
+
|
|
359
|
+
console.log({
|
|
360
|
+
prompt,
|
|
361
|
+
revisedPrompt,
|
|
362
|
+
});
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
- fa758ea: feat(provider/openai): add o3 & o4-mini with developer systemMessageMode
|
|
366
|
+
- d1a034f: feature: using Zod 4 for internal stuff
|
|
367
|
+
- fd65bc6: chore(embedding-model-v2): rename rawResponse to response
|
|
368
|
+
- e497698: fix (provider/openai): handle responses api errors
|
|
369
|
+
- 928fadf: fix(providers/openai): logprobs for stream alongside completion model
|
|
370
|
+
- 0a87932: fix (provider/openai): increase transcription model resilience
|
|
371
|
+
- 5147e6e: chore(openai): remove simulateStreaming
|
|
372
|
+
- 06bac05: fix (openai): structure output for responses model
|
|
373
|
+
- 205077b: fix: improve Zod compatibility
|
|
374
|
+
- c2b92cc: chore(openai): remove legacy function calling
|
|
375
|
+
- 284353f: fix(providers/openai): zod parse error with function
|
|
376
|
+
- 6f231db: fix(providers): always use optional instead of mix of nullish for providerOptions
|
|
377
|
+
- f10304b: feat(tool-calling): don't require the user to have to pass parameters
|
|
378
|
+
- 4af5233: Fix PDF file parts when passed as a string url or Uint8Array
|
|
379
|
+
- 7df7a25: feat (providers/openai): support gpt-image-1 image generation
|
|
380
|
+
- Updated dependencies [a571d6e]
|
|
381
|
+
- Updated dependencies [742b7be]
|
|
382
|
+
- Updated dependencies [e7fcc86]
|
|
383
|
+
- Updated dependencies [7cddb72]
|
|
384
|
+
- Updated dependencies [ccce59b]
|
|
385
|
+
- Updated dependencies [e2b9e4b]
|
|
386
|
+
- Updated dependencies [95857aa]
|
|
387
|
+
- Updated dependencies [45c1ea2]
|
|
388
|
+
- Updated dependencies [6f6bb89]
|
|
389
|
+
- Updated dependencies [060370c]
|
|
390
|
+
- Updated dependencies [dc714f3]
|
|
391
|
+
- Updated dependencies [b5da06a]
|
|
392
|
+
- Updated dependencies [d1a1aa1]
|
|
393
|
+
- Updated dependencies [63f9e9b]
|
|
394
|
+
- Updated dependencies [5d142ab]
|
|
395
|
+
- Updated dependencies [d5f588f]
|
|
396
|
+
- Updated dependencies [e025824]
|
|
397
|
+
- Updated dependencies [0571b98]
|
|
398
|
+
- Updated dependencies [b6b43c7]
|
|
399
|
+
- Updated dependencies [4fef487]
|
|
400
|
+
- Updated dependencies [48d257a]
|
|
401
|
+
- Updated dependencies [0c0c0b3]
|
|
402
|
+
- Updated dependencies [0d2c085]
|
|
403
|
+
- Updated dependencies [40acf9b]
|
|
404
|
+
- Updated dependencies [9222aeb]
|
|
405
|
+
- Updated dependencies [e2aceaf]
|
|
406
|
+
- Updated dependencies [411e483]
|
|
407
|
+
- Updated dependencies [8ba77a7]
|
|
408
|
+
- Updated dependencies [7b3ae3f]
|
|
409
|
+
- Updated dependencies [a166433]
|
|
410
|
+
- Updated dependencies [26735b5]
|
|
411
|
+
- Updated dependencies [443d8ec]
|
|
412
|
+
- Updated dependencies [a8c8bd5]
|
|
413
|
+
- Updated dependencies [abf9a79]
|
|
414
|
+
- Updated dependencies [14c9410]
|
|
415
|
+
- Updated dependencies [e86be6f]
|
|
416
|
+
- Updated dependencies [9bf7291]
|
|
417
|
+
- Updated dependencies [2e13791]
|
|
418
|
+
- Updated dependencies [9f95b35]
|
|
419
|
+
- Updated dependencies [66962ed]
|
|
420
|
+
- Updated dependencies [0d06df6]
|
|
421
|
+
- Updated dependencies [472524a]
|
|
422
|
+
- Updated dependencies [dd3ff01]
|
|
423
|
+
- Updated dependencies [d9c98f4]
|
|
424
|
+
- Updated dependencies [05d2819]
|
|
425
|
+
- Updated dependencies [9301f86]
|
|
426
|
+
- Updated dependencies [0a87932]
|
|
427
|
+
- Updated dependencies [c4a2fec]
|
|
428
|
+
- Updated dependencies [957b739]
|
|
429
|
+
- Updated dependencies [79457bd]
|
|
430
|
+
- Updated dependencies [a3f768e]
|
|
431
|
+
- Updated dependencies [7435eb5]
|
|
432
|
+
- Updated dependencies [8aa9e20]
|
|
433
|
+
- Updated dependencies [4617fab]
|
|
434
|
+
- Updated dependencies [ac34802]
|
|
435
|
+
- Updated dependencies [0054544]
|
|
436
|
+
- Updated dependencies [cb68df0]
|
|
437
|
+
- Updated dependencies [ad80501]
|
|
438
|
+
- Updated dependencies [68ecf2f]
|
|
439
|
+
- Updated dependencies [9e9c809]
|
|
440
|
+
- Updated dependencies [32831c6]
|
|
441
|
+
- Updated dependencies [6dc848c]
|
|
442
|
+
- Updated dependencies [6b98118]
|
|
443
|
+
- Updated dependencies [d0f9495]
|
|
444
|
+
- Updated dependencies [63d791d]
|
|
445
|
+
- Updated dependencies [87b828f]
|
|
446
|
+
- Updated dependencies [3f2f00c]
|
|
447
|
+
- Updated dependencies [bfdca8d]
|
|
448
|
+
- Updated dependencies [0ff02bb]
|
|
449
|
+
- Updated dependencies [7979f7f]
|
|
450
|
+
- Updated dependencies [39a4fab]
|
|
451
|
+
- Updated dependencies [44f4aba]
|
|
452
|
+
- Updated dependencies [9bd5ab5]
|
|
453
|
+
- Updated dependencies [57edfcb]
|
|
454
|
+
- Updated dependencies [faf8446]
|
|
455
|
+
- Updated dependencies [7ea4132]
|
|
456
|
+
- Updated dependencies [d1a034f]
|
|
457
|
+
- Updated dependencies [5c56081]
|
|
458
|
+
- Updated dependencies [fd65bc6]
|
|
459
|
+
- Updated dependencies [023ba40]
|
|
460
|
+
- Updated dependencies [ea7a7c9]
|
|
461
|
+
- Updated dependencies [26535e0]
|
|
462
|
+
- Updated dependencies [e030615]
|
|
463
|
+
- Updated dependencies [5e57fae]
|
|
464
|
+
- Updated dependencies [393138b]
|
|
465
|
+
- Updated dependencies [c57e248]
|
|
466
|
+
- Updated dependencies [88a8ee5]
|
|
467
|
+
- Updated dependencies [41fa418]
|
|
468
|
+
- Updated dependencies [205077b]
|
|
469
|
+
- Updated dependencies [71f938d]
|
|
470
|
+
- Updated dependencies [3795467]
|
|
471
|
+
- Updated dependencies [28a5ed5]
|
|
472
|
+
- Updated dependencies [7182d14]
|
|
473
|
+
- Updated dependencies [c1e6647]
|
|
474
|
+
- Updated dependencies [1766ede]
|
|
475
|
+
- Updated dependencies [811dff3]
|
|
476
|
+
- Updated dependencies [f10304b]
|
|
477
|
+
- Updated dependencies [dd5fd43]
|
|
478
|
+
- Updated dependencies [33f4a6a]
|
|
479
|
+
- Updated dependencies [383cbfa]
|
|
480
|
+
- Updated dependencies [27deb4d]
|
|
481
|
+
- Updated dependencies [c4df419]
|
|
482
|
+
- @ai-sdk/provider-utils@3.0.0
|
|
483
|
+
- @ai-sdk/provider@2.0.0
|
|
484
|
+
|
|
485
|
+
## 2.0.0-beta.16
|
|
486
|
+
|
|
487
|
+
### Patch Changes
|
|
488
|
+
|
|
489
|
+
- Updated dependencies [88a8ee5]
|
|
490
|
+
- @ai-sdk/provider-utils@3.0.0-beta.10
|
|
491
|
+
|
|
492
|
+
## 2.0.0-beta.15
|
|
493
|
+
|
|
494
|
+
### Patch Changes
|
|
495
|
+
|
|
496
|
+
- 9943464: feat(openai): add file_search_call.results support to include parameter
|
|
497
|
+
- Updated dependencies [27deb4d]
|
|
498
|
+
- @ai-sdk/provider@2.0.0-beta.2
|
|
499
|
+
- @ai-sdk/provider-utils@3.0.0-beta.9
|
|
500
|
+
|
|
501
|
+
## 2.0.0-beta.14
|
|
502
|
+
|
|
503
|
+
### Patch Changes
|
|
504
|
+
|
|
505
|
+
- eb173f1: chore (providers): remove model shorthand deprecation warnings
|
|
506
|
+
- 7032dc5: feat(openai): add priority processing service tier support
|
|
507
|
+
- Updated dependencies [dd5fd43]
|
|
508
|
+
- @ai-sdk/provider-utils@3.0.0-beta.8
|
|
509
|
+
|
|
510
|
+
## 2.0.0-beta.13
|
|
511
|
+
|
|
512
|
+
### Patch Changes
|
|
513
|
+
|
|
514
|
+
- Updated dependencies [e7fcc86]
|
|
515
|
+
- @ai-sdk/provider-utils@3.0.0-beta.7
|
|
516
|
+
|
|
517
|
+
## 2.0.0-beta.12
|
|
518
|
+
|
|
519
|
+
### Patch Changes
|
|
520
|
+
|
|
521
|
+
- d521cda: feat(openai): add file_search filters and update field names
|
|
522
|
+
- 0059ee2: fix(openai): update file_search fields to match API changes
|
|
523
|
+
- Updated dependencies [ac34802]
|
|
524
|
+
- @ai-sdk/provider-utils@3.0.0-beta.6
|
|
525
|
+
|
|
526
|
+
## 2.0.0-beta.11
|
|
527
|
+
|
|
528
|
+
### Patch Changes
|
|
529
|
+
|
|
530
|
+
- Updated dependencies [57edfcb]
|
|
531
|
+
- Updated dependencies [383cbfa]
|
|
532
|
+
- @ai-sdk/provider-utils@3.0.0-beta.5
|
|
533
|
+
|
|
534
|
+
## 2.0.0-beta.10
|
|
535
|
+
|
|
536
|
+
### Patch Changes
|
|
537
|
+
|
|
538
|
+
- 0fa7414: chore (provider/openai): standardize on itemId in provider metadata
|
|
539
|
+
- 205077b: fix: improve Zod compatibility
|
|
540
|
+
- Updated dependencies [205077b]
|
|
541
|
+
- @ai-sdk/provider-utils@3.0.0-beta.4
|
|
542
|
+
|
|
543
|
+
## 2.0.0-beta.9
|
|
544
|
+
|
|
545
|
+
### Patch Changes
|
|
546
|
+
|
|
547
|
+
- faea29f: fix (provider/openai): multi-step reasoning with text
|
|
548
|
+
|
|
549
|
+
## 2.0.0-beta.8
|
|
550
|
+
|
|
551
|
+
### Patch Changes
|
|
552
|
+
|
|
553
|
+
- db64cbe: fix (provider/openai): multi-step reasoning with tool calls
|
|
554
|
+
- Updated dependencies [05d2819]
|
|
555
|
+
- @ai-sdk/provider-utils@3.0.0-beta.3
|
|
556
|
+
|
|
557
|
+
## 2.0.0-beta.7
|
|
558
|
+
|
|
559
|
+
### Patch Changes
|
|
560
|
+
|
|
561
|
+
- 209256d: Add missing file_search tool support to OpenAI Responses API
|
|
562
|
+
|
|
563
|
+
## 2.0.0-beta.6
|
|
564
|
+
|
|
565
|
+
### Patch Changes
|
|
566
|
+
|
|
567
|
+
- 0eee6a8: Fix streaming and reconstruction of reasoning summary parts
|
|
568
|
+
- b5a0e32: fix (provider/openai): correct default for chat model strict mode
|
|
569
|
+
- c7d3b2e: fix (provider/openai): push first reasoning chunk in output item added event
|
|
570
|
+
|
|
571
|
+
## 2.0.0-beta.5
|
|
572
|
+
|
|
573
|
+
### Patch Changes
|
|
574
|
+
|
|
575
|
+
- 48249c4: Do not warn if empty text is the first part of a reasoning sequence
|
|
576
|
+
- e497698: fix (provider/openai): handle responses api errors
|
|
577
|
+
|
|
578
|
+
## 2.0.0-beta.4
|
|
579
|
+
|
|
580
|
+
### Patch Changes
|
|
581
|
+
|
|
582
|
+
- b3c3450: feat (provider/openai): add support for encrypted_reasoning to responses api
|
|
583
|
+
- ad2a3d5: feat(provider/openai): add missing reasoning models to responses API
|
|
584
|
+
|
|
585
|
+
## 2.0.0-beta.3
|
|
586
|
+
|
|
587
|
+
### Major Changes
|
|
588
|
+
|
|
589
|
+
- efc3a62: fix (provider/openai): default strict mode to false
|
|
590
|
+
|
|
591
|
+
## 2.0.0-beta.2
|
|
592
|
+
|
|
593
|
+
### Patch Changes
|
|
594
|
+
|
|
595
|
+
- d1a034f: feature: using Zod 4 for internal stuff
|
|
596
|
+
- Updated dependencies [0571b98]
|
|
597
|
+
- Updated dependencies [39a4fab]
|
|
598
|
+
- Updated dependencies [d1a034f]
|
|
599
|
+
- @ai-sdk/provider-utils@3.0.0-beta.2
|
|
600
|
+
|
|
601
|
+
## 2.0.0-beta.1
|
|
602
|
+
|
|
603
|
+
### Major Changes
|
|
604
|
+
|
|
605
|
+
- cc62234: chore (provider/openai): switch default to openai responses api
|
|
606
|
+
|
|
607
|
+
### Patch Changes
|
|
608
|
+
|
|
609
|
+
- 5d959e7: refactor: updated openai + anthropic tool use server side
|
|
610
|
+
- Updated dependencies [742b7be]
|
|
611
|
+
- Updated dependencies [7cddb72]
|
|
612
|
+
- Updated dependencies [ccce59b]
|
|
613
|
+
- Updated dependencies [e2b9e4b]
|
|
614
|
+
- Updated dependencies [45c1ea2]
|
|
615
|
+
- Updated dependencies [e025824]
|
|
616
|
+
- Updated dependencies [0d06df6]
|
|
617
|
+
- Updated dependencies [472524a]
|
|
618
|
+
- Updated dependencies [dd3ff01]
|
|
619
|
+
- Updated dependencies [7435eb5]
|
|
620
|
+
- Updated dependencies [cb68df0]
|
|
621
|
+
- Updated dependencies [bfdca8d]
|
|
622
|
+
- Updated dependencies [44f4aba]
|
|
623
|
+
- Updated dependencies [023ba40]
|
|
624
|
+
- Updated dependencies [5e57fae]
|
|
625
|
+
- Updated dependencies [71f938d]
|
|
626
|
+
- Updated dependencies [28a5ed5]
|
|
627
|
+
- @ai-sdk/provider@2.0.0-beta.1
|
|
628
|
+
- @ai-sdk/provider-utils@3.0.0-beta.1
|
|
629
|
+
|
|
630
|
+
## 2.0.0-alpha.15
|
|
631
|
+
|
|
632
|
+
### Patch Changes
|
|
633
|
+
|
|
634
|
+
- Updated dependencies [48d257a]
|
|
635
|
+
- Updated dependencies [8ba77a7]
|
|
636
|
+
- @ai-sdk/provider@2.0.0-alpha.15
|
|
637
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.15
|
|
638
|
+
|
|
639
|
+
## 2.0.0-alpha.14
|
|
640
|
+
|
|
641
|
+
### Patch Changes
|
|
642
|
+
|
|
643
|
+
- Updated dependencies [b5da06a]
|
|
644
|
+
- Updated dependencies [63f9e9b]
|
|
645
|
+
- Updated dependencies [2e13791]
|
|
646
|
+
- @ai-sdk/provider@2.0.0-alpha.14
|
|
647
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.14
|
|
648
|
+
|
|
649
|
+
## 2.0.0-alpha.13
|
|
650
|
+
|
|
651
|
+
### Patch Changes
|
|
652
|
+
|
|
653
|
+
- Updated dependencies [68ecf2f]
|
|
654
|
+
- @ai-sdk/provider@2.0.0-alpha.13
|
|
655
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.13
|
|
656
|
+
|
|
657
|
+
## 2.0.0-alpha.12
|
|
658
|
+
|
|
659
|
+
### Patch Changes
|
|
660
|
+
|
|
661
|
+
- 2f542fa: Add reasoning-part-finish parts for reasoning models in the responses API
|
|
662
|
+
- e2aceaf: feat: add raw chunk support
|
|
663
|
+
- Updated dependencies [e2aceaf]
|
|
664
|
+
- @ai-sdk/provider@2.0.0-alpha.12
|
|
665
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.12
|
|
666
|
+
|
|
667
|
+
## 2.0.0-alpha.11
|
|
668
|
+
|
|
669
|
+
### Patch Changes
|
|
670
|
+
|
|
671
|
+
- 8d12da5: feat(provider/openai): add serviceTier option for flex processing
|
|
672
|
+
- Updated dependencies [c1e6647]
|
|
673
|
+
- @ai-sdk/provider@2.0.0-alpha.11
|
|
674
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.11
|
|
675
|
+
|
|
676
|
+
## 2.0.0-alpha.10
|
|
4
677
|
|
|
5
678
|
### Patch Changes
|
|
6
679
|
|
|
7
|
-
- Updated dependencies [
|
|
8
|
-
- @ai-sdk/provider
|
|
680
|
+
- Updated dependencies [c4df419]
|
|
681
|
+
- @ai-sdk/provider@2.0.0-alpha.10
|
|
682
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.10
|
|
9
683
|
|
|
10
|
-
##
|
|
684
|
+
## 2.0.0-alpha.9
|
|
11
685
|
|
|
12
686
|
### Patch Changes
|
|
13
687
|
|
|
14
|
-
-
|
|
688
|
+
- Updated dependencies [811dff3]
|
|
689
|
+
- @ai-sdk/provider@2.0.0-alpha.9
|
|
690
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.9
|
|
15
691
|
|
|
16
|
-
##
|
|
692
|
+
## 2.0.0-alpha.8
|
|
17
693
|
|
|
18
694
|
### Patch Changes
|
|
19
695
|
|
|
20
|
-
-
|
|
696
|
+
- 4af5233: Fix PDF file parts when passed as a string url or Uint8Array
|
|
697
|
+
- Updated dependencies [4fef487]
|
|
698
|
+
- Updated dependencies [9222aeb]
|
|
699
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.8
|
|
700
|
+
- @ai-sdk/provider@2.0.0-alpha.8
|
|
21
701
|
|
|
22
|
-
##
|
|
702
|
+
## 2.0.0-alpha.7
|
|
23
703
|
|
|
24
704
|
### Patch Changes
|
|
25
705
|
|
|
26
|
-
-
|
|
706
|
+
- Updated dependencies [5c56081]
|
|
707
|
+
- @ai-sdk/provider@2.0.0-alpha.7
|
|
708
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.7
|
|
27
709
|
|
|
28
|
-
##
|
|
710
|
+
## 2.0.0-alpha.6
|
|
29
711
|
|
|
30
712
|
### Patch Changes
|
|
31
713
|
|
|
32
|
-
-
|
|
714
|
+
- Updated dependencies [0d2c085]
|
|
715
|
+
- @ai-sdk/provider@2.0.0-alpha.6
|
|
716
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.6
|
|
33
717
|
|
|
34
|
-
##
|
|
718
|
+
## 2.0.0-alpha.4
|
|
35
719
|
|
|
36
720
|
### Patch Changes
|
|
37
721
|
|
|
38
|
-
-
|
|
722
|
+
- Updated dependencies [dc714f3]
|
|
723
|
+
- @ai-sdk/provider@2.0.0-alpha.4
|
|
724
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.4
|
|
39
725
|
|
|
40
|
-
##
|
|
726
|
+
## 2.0.0-alpha.3
|
|
41
727
|
|
|
42
728
|
### Patch Changes
|
|
43
729
|
|
|
44
|
-
-
|
|
730
|
+
- Updated dependencies [6b98118]
|
|
731
|
+
- @ai-sdk/provider@2.0.0-alpha.3
|
|
732
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.3
|
|
45
733
|
|
|
46
|
-
##
|
|
734
|
+
## 2.0.0-alpha.2
|
|
47
735
|
|
|
48
736
|
### Patch Changes
|
|
49
737
|
|
|
50
|
-
-
|
|
738
|
+
- Updated dependencies [26535e0]
|
|
739
|
+
- @ai-sdk/provider@2.0.0-alpha.2
|
|
740
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.2
|
|
51
741
|
|
|
52
|
-
##
|
|
742
|
+
## 2.0.0-alpha.1
|
|
53
743
|
|
|
54
744
|
### Patch Changes
|
|
55
745
|
|
|
56
|
-
-
|
|
746
|
+
- Updated dependencies [3f2f00c]
|
|
747
|
+
- @ai-sdk/provider@2.0.0-alpha.1
|
|
748
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.1
|
|
57
749
|
|
|
58
|
-
##
|
|
750
|
+
## 2.0.0-canary.20
|
|
59
751
|
|
|
60
752
|
### Patch Changes
|
|
61
753
|
|
|
62
|
-
-
|
|
754
|
+
- Updated dependencies [faf8446]
|
|
755
|
+
- @ai-sdk/provider-utils@3.0.0-canary.19
|
|
63
756
|
|
|
64
|
-
##
|
|
757
|
+
## 2.0.0-canary.19
|
|
65
758
|
|
|
66
759
|
### Patch Changes
|
|
67
760
|
|
|
68
|
-
-
|
|
761
|
+
- Updated dependencies [40acf9b]
|
|
762
|
+
- @ai-sdk/provider-utils@3.0.0-canary.18
|
|
763
|
+
|
|
764
|
+
## 2.0.0-canary.18
|
|
765
|
+
|
|
766
|
+
### Major Changes
|
|
767
|
+
|
|
768
|
+
- 516be5b: ### Move Image Model Settings into generate options
|
|
769
|
+
|
|
770
|
+
Image Models no longer have settings. Instead, `maxImagesPerCall` can be passed directly to `generateImage()`. All other image settings can be passed to `providerOptions[provider]`.
|
|
771
|
+
|
|
772
|
+
Before
|
|
773
|
+
|
|
774
|
+
```js
|
|
775
|
+
await generateImage({
|
|
776
|
+
model: luma.image('photon-flash-1', {
|
|
777
|
+
maxImagesPerCall: 5,
|
|
778
|
+
pollIntervalMillis: 500,
|
|
779
|
+
}),
|
|
780
|
+
prompt,
|
|
781
|
+
n: 10,
|
|
782
|
+
});
|
|
783
|
+
```
|
|
69
784
|
|
|
70
|
-
|
|
785
|
+
After
|
|
786
|
+
|
|
787
|
+
```js
|
|
788
|
+
await generateImage({
|
|
789
|
+
model: luma.image('photon-flash-1'),
|
|
790
|
+
prompt,
|
|
791
|
+
n: 10,
|
|
792
|
+
maxImagesPerCall: 5,
|
|
793
|
+
providerOptions: {
|
|
794
|
+
luma: { pollIntervalMillis: 5 },
|
|
795
|
+
},
|
|
796
|
+
});
|
|
797
|
+
```
|
|
798
|
+
|
|
799
|
+
Pull Request: https://github.com/vercel/ai/pull/6180
|
|
71
800
|
|
|
72
801
|
### Patch Changes
|
|
73
802
|
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
- @ai-sdk/provider@1.1.3
|
|
77
|
-
- @ai-sdk/provider-utils@2.2.7
|
|
803
|
+
- Updated dependencies [ea7a7c9]
|
|
804
|
+
- @ai-sdk/provider-utils@3.0.0-canary.17
|
|
78
805
|
|
|
79
|
-
##
|
|
806
|
+
## 2.0.0-canary.17
|
|
80
807
|
|
|
81
808
|
### Patch Changes
|
|
82
809
|
|
|
83
|
-
-
|
|
84
|
-
-
|
|
810
|
+
- 52ce942: chore(providers/openai): remove & enable strict compatibility by default
|
|
811
|
+
- Updated dependencies [87b828f]
|
|
812
|
+
- @ai-sdk/provider-utils@3.0.0-canary.16
|
|
85
813
|
|
|
86
|
-
##
|
|
814
|
+
## 2.0.0-canary.16
|
|
87
815
|
|
|
88
816
|
### Patch Changes
|
|
89
817
|
|
|
90
|
-
-
|
|
91
|
-
-
|
|
92
|
-
- Updated dependencies [
|
|
93
|
-
|
|
94
|
-
|
|
818
|
+
- 928fadf: fix(providers/openai): logprobs for stream alongside completion model
|
|
819
|
+
- 6f231db: fix(providers): always use optional instead of mix of nullish for providerOptions
|
|
820
|
+
- Updated dependencies [a571d6e]
|
|
821
|
+
- Updated dependencies [a8c8bd5]
|
|
822
|
+
- Updated dependencies [7979f7f]
|
|
823
|
+
- Updated dependencies [41fa418]
|
|
824
|
+
- @ai-sdk/provider-utils@3.0.0-canary.15
|
|
825
|
+
- @ai-sdk/provider@2.0.0-canary.14
|
|
95
826
|
|
|
96
|
-
##
|
|
827
|
+
## 2.0.0-canary.15
|
|
97
828
|
|
|
98
829
|
### Patch Changes
|
|
99
830
|
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
|
|
831
|
+
- 136819b: chore(providers/openai): re-introduce logprobs as providerMetadata
|
|
832
|
+
- 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2 interface (#5977)
|
|
833
|
+
|
|
834
|
+
The `experimental_generateImage` method from the `ai` package now returnes revised prompts for OpenAI's image models.
|
|
835
|
+
|
|
836
|
+
```js
|
|
837
|
+
const prompt = 'Santa Claus driving a Cadillac';
|
|
838
|
+
|
|
839
|
+
const { providerMetadata } = await experimental_generateImage({
|
|
840
|
+
model: openai.image('dall-e-3'),
|
|
841
|
+
prompt,
|
|
842
|
+
});
|
|
843
|
+
|
|
844
|
+
const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;
|
|
845
|
+
|
|
846
|
+
console.log({
|
|
847
|
+
prompt,
|
|
848
|
+
revisedPrompt,
|
|
849
|
+
});
|
|
850
|
+
```
|
|
851
|
+
|
|
852
|
+
- 284353f: fix(providers/openai): zod parse error with function
|
|
853
|
+
- Updated dependencies [957b739]
|
|
854
|
+
- Updated dependencies [9bd5ab5]
|
|
855
|
+
- @ai-sdk/provider-utils@3.0.0-canary.14
|
|
856
|
+
- @ai-sdk/provider@2.0.0-canary.13
|
|
857
|
+
|
|
858
|
+
## 2.0.0-canary.14
|
|
859
|
+
|
|
860
|
+
### Patch Changes
|
|
861
|
+
|
|
862
|
+
- fa758ea: feat(provider/openai): add o3 & o4-mini with developer systemMessageMode
|
|
863
|
+
- Updated dependencies [7b3ae3f]
|
|
864
|
+
- Updated dependencies [0ff02bb]
|
|
865
|
+
- @ai-sdk/provider@2.0.0-canary.12
|
|
866
|
+
- @ai-sdk/provider-utils@3.0.0-canary.13
|
|
867
|
+
|
|
868
|
+
## 2.0.0-canary.13
|
|
869
|
+
|
|
870
|
+
### Patch Changes
|
|
871
|
+
|
|
872
|
+
- 177526b: chore(providers/openai-transcription): switch to providerOptions
|
|
873
|
+
- c15dfbf: feat (providers/openai): add gpt-image-1 model id to image settings
|
|
874
|
+
- 9bf7291: chore(providers/openai): enable structuredOutputs by default & switch to provider option
|
|
875
|
+
- 4617fab: chore(embedding-models): remove remaining settings
|
|
876
|
+
- Updated dependencies [9bf7291]
|
|
877
|
+
- Updated dependencies [4617fab]
|
|
878
|
+
- Updated dependencies [e030615]
|
|
879
|
+
- @ai-sdk/provider@2.0.0-canary.11
|
|
880
|
+
- @ai-sdk/provider-utils@3.0.0-canary.12
|
|
881
|
+
|
|
882
|
+
## 2.0.0-canary.12
|
|
883
|
+
|
|
884
|
+
### Patch Changes
|
|
885
|
+
|
|
886
|
+
- db72adc: chore(providers/openai): update completion model to use providerOptions
|
|
887
|
+
- 66962ed: fix(packages): export node10 compatible types
|
|
888
|
+
- 9301f86: refactor (image-model): rename `ImageModelV1` to `ImageModelV2`
|
|
889
|
+
- 7df7a25: feat (providers/openai): support gpt-image-1 image generation
|
|
890
|
+
- Updated dependencies [66962ed]
|
|
891
|
+
- Updated dependencies [9301f86]
|
|
892
|
+
- Updated dependencies [a3f768e]
|
|
893
|
+
- @ai-sdk/provider-utils@3.0.0-canary.11
|
|
894
|
+
- @ai-sdk/provider@2.0.0-canary.10
|
|
895
|
+
|
|
896
|
+
## 2.0.0-canary.11
|
|
897
|
+
|
|
898
|
+
### Patch Changes
|
|
899
|
+
|
|
900
|
+
- 8493141: feat (providers/openai): add support for reasoning summaries
|
|
901
|
+
- Updated dependencies [e86be6f]
|
|
902
|
+
- @ai-sdk/provider@2.0.0-canary.9
|
|
903
|
+
- @ai-sdk/provider-utils@3.0.0-canary.10
|
|
904
|
+
|
|
905
|
+
## 2.0.0-canary.10
|
|
906
|
+
|
|
907
|
+
### Patch Changes
|
|
908
|
+
|
|
909
|
+
- 3bd3c0b: chore(providers/openai): update embedding model to use providerOptions
|
|
910
|
+
- Updated dependencies [95857aa]
|
|
911
|
+
- Updated dependencies [7ea4132]
|
|
912
|
+
- @ai-sdk/provider@2.0.0-canary.8
|
|
913
|
+
- @ai-sdk/provider-utils@3.0.0-canary.9
|
|
914
|
+
|
|
915
|
+
## 2.0.0-canary.9
|
|
916
|
+
|
|
917
|
+
### Patch Changes
|
|
918
|
+
|
|
919
|
+
- d63bcbc: feat (provider/openai): o4 updates for responses api
|
|
920
|
+
- d2af019: feat (providers/openai): add gpt-4.1 models
|
|
921
|
+
- 870c5c0: feat (providers/openai): add o3 and o4-mini models
|
|
922
|
+
- 06bac05: fix (openai): structure output for responses model
|
|
923
|
+
|
|
924
|
+
## 2.0.0-canary.8
|
|
925
|
+
|
|
926
|
+
### Patch Changes
|
|
927
|
+
|
|
928
|
+
- 8aa9e20: feat: add speech with experimental_generateSpeech
|
|
929
|
+
- Updated dependencies [5d142ab]
|
|
930
|
+
- Updated dependencies [b6b43c7]
|
|
931
|
+
- Updated dependencies [8aa9e20]
|
|
932
|
+
- Updated dependencies [3795467]
|
|
933
|
+
- @ai-sdk/provider-utils@3.0.0-canary.8
|
|
934
|
+
- @ai-sdk/provider@2.0.0-canary.7
|
|
935
|
+
|
|
936
|
+
## 2.0.0-canary.7
|
|
937
|
+
|
|
938
|
+
### Patch Changes
|
|
939
|
+
|
|
940
|
+
- 26735b5: chore(embedding-model): add v2 interface
|
|
941
|
+
- 443d8ec: feat(embedding-model-v2): add response body field
|
|
942
|
+
- fd65bc6: chore(embedding-model-v2): rename rawResponse to response
|
|
943
|
+
- Updated dependencies [26735b5]
|
|
944
|
+
- Updated dependencies [443d8ec]
|
|
945
|
+
- Updated dependencies [14c9410]
|
|
946
|
+
- Updated dependencies [d9c98f4]
|
|
947
|
+
- Updated dependencies [c4a2fec]
|
|
948
|
+
- Updated dependencies [0054544]
|
|
949
|
+
- Updated dependencies [9e9c809]
|
|
950
|
+
- Updated dependencies [32831c6]
|
|
951
|
+
- Updated dependencies [d0f9495]
|
|
952
|
+
- Updated dependencies [fd65bc6]
|
|
953
|
+
- Updated dependencies [393138b]
|
|
954
|
+
- Updated dependencies [7182d14]
|
|
955
|
+
- @ai-sdk/provider@2.0.0-canary.6
|
|
956
|
+
- @ai-sdk/provider-utils@3.0.0-canary.7
|
|
957
|
+
|
|
958
|
+
## 2.0.0-canary.6
|
|
959
|
+
|
|
960
|
+
### Patch Changes
|
|
961
|
+
|
|
962
|
+
- 948b755: chore(providers/openai): convert to providerOptions
|
|
963
|
+
- 3b1ea10: adding support for gpt-4o-search-preview and handling unsupported parameters
|
|
964
|
+
- 442be08: fix: propagate openai transcription fixes
|
|
965
|
+
- 5147e6e: chore(openai): remove simulateStreaming
|
|
966
|
+
- c2b92cc: chore(openai): remove legacy function calling
|
|
967
|
+
- f10304b: feat(tool-calling): don't require the user to have to pass parameters
|
|
968
|
+
- Updated dependencies [411e483]
|
|
969
|
+
- Updated dependencies [79457bd]
|
|
970
|
+
- Updated dependencies [ad80501]
|
|
971
|
+
- Updated dependencies [1766ede]
|
|
972
|
+
- Updated dependencies [f10304b]
|
|
973
|
+
- @ai-sdk/provider@2.0.0-canary.5
|
|
974
|
+
- @ai-sdk/provider-utils@3.0.0-canary.6
|
|
975
|
+
|
|
976
|
+
## 2.0.0-canary.5
|
|
977
|
+
|
|
978
|
+
### Patch Changes
|
|
979
|
+
|
|
980
|
+
- Updated dependencies [6f6bb89]
|
|
981
|
+
- @ai-sdk/provider@2.0.0-canary.4
|
|
982
|
+
- @ai-sdk/provider-utils@3.0.0-canary.5
|
|
983
|
+
|
|
984
|
+
## 2.0.0-canary.4
|
|
985
|
+
|
|
986
|
+
### Patch Changes
|
|
987
|
+
|
|
988
|
+
- Updated dependencies [d1a1aa1]
|
|
989
|
+
- @ai-sdk/provider@2.0.0-canary.3
|
|
990
|
+
- @ai-sdk/provider-utils@3.0.0-canary.4
|
|
991
|
+
|
|
992
|
+
## 2.0.0-canary.3
|
|
993
|
+
|
|
994
|
+
### Patch Changes
|
|
995
|
+
|
|
996
|
+
- a166433: feat: add transcription with experimental_transcribe
|
|
997
|
+
- 0a87932: core (ai): change transcription model mimeType to mediaType
|
|
998
|
+
- 0a87932: fix (provider/openai): increase transcription model resilience
|
|
999
|
+
- Updated dependencies [a166433]
|
|
1000
|
+
- Updated dependencies [abf9a79]
|
|
1001
|
+
- Updated dependencies [9f95b35]
|
|
1002
|
+
- Updated dependencies [0a87932]
|
|
1003
|
+
- Updated dependencies [6dc848c]
|
|
1004
|
+
- @ai-sdk/provider-utils@3.0.0-canary.3
|
|
1005
|
+
- @ai-sdk/provider@2.0.0-canary.2
|
|
1006
|
+
|
|
1007
|
+
## 2.0.0-canary.2
|
|
1008
|
+
|
|
1009
|
+
### Patch Changes
|
|
1010
|
+
|
|
1011
|
+
- Updated dependencies [c57e248]
|
|
1012
|
+
- Updated dependencies [33f4a6a]
|
|
1013
|
+
- @ai-sdk/provider@2.0.0-canary.1
|
|
1014
|
+
- @ai-sdk/provider-utils@3.0.0-canary.2
|
|
1015
|
+
|
|
1016
|
+
## 2.0.0-canary.1
|
|
1017
|
+
|
|
1018
|
+
### Patch Changes
|
|
1019
|
+
|
|
1020
|
+
- Updated dependencies [060370c]
|
|
1021
|
+
- Updated dependencies [0c0c0b3]
|
|
1022
|
+
- Updated dependencies [63d791d]
|
|
1023
|
+
- @ai-sdk/provider-utils@3.0.0-canary.1
|
|
1024
|
+
|
|
1025
|
+
## 2.0.0-canary.0
|
|
1026
|
+
|
|
1027
|
+
### Major Changes
|
|
104
1028
|
|
|
105
|
-
|
|
1029
|
+
- d5f588f: AI SDK 5
|
|
106
1030
|
|
|
107
1031
|
### Patch Changes
|
|
108
1032
|
|
|
109
|
-
- Updated dependencies [
|
|
110
|
-
- @ai-sdk/provider-utils@
|
|
1033
|
+
- Updated dependencies [d5f588f]
|
|
1034
|
+
- @ai-sdk/provider-utils@3.0.0-canary.0
|
|
1035
|
+
- @ai-sdk/provider@2.0.0-canary.0
|
|
111
1036
|
|
|
112
1037
|
## 1.3.6
|
|
113
1038
|
|