@ai-sdk/openai 0.0.0-013d7476-20250808163325 → 0.0.0-1c33ba03-20260114162300
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 +1292 -228
- package/dist/index.d.mts +832 -85
- package/dist/index.d.ts +832 -85
- package/dist/index.js +3932 -1424
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3952 -1396
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +954 -116
- package/dist/internal/index.d.ts +954 -116
- package/dist/internal/index.js +3725 -1283
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +3722 -1253
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +7 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,1261 @@
|
|
|
1
1
|
# @ai-sdk/openai
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-1c33ba03-20260114162300
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [261c011]
|
|
8
|
+
- @ai-sdk/provider-utils@0.0.0-1c33ba03-20260114162300
|
|
9
|
+
|
|
10
|
+
## 3.0.10
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [1b11dcb]
|
|
15
|
+
- @ai-sdk/provider-utils@4.0.6
|
|
16
|
+
- @ai-sdk/provider@3.0.3
|
|
17
|
+
|
|
18
|
+
## 3.0.9
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [34d1c8a]
|
|
23
|
+
- @ai-sdk/provider-utils@4.0.5
|
|
24
|
+
|
|
25
|
+
## 3.0.8
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- 330bd92: Fix Responses `code_interpreter` annotations and add typed providerMetadata
|
|
30
|
+
|
|
31
|
+
- Align Responses API `code_interpreter` annotation types with the official spec.
|
|
32
|
+
- Add tests to ensure the overlapping parts of the Zod schemas used by `doGenerate` and `doStream` stay in sync.
|
|
33
|
+
- Export the following types for use in client code:
|
|
34
|
+
- `OpenaiResponsesTextProviderMetadata`
|
|
35
|
+
- `OpenaiResponsesSourceDocumentProviderMetadata`
|
|
36
|
+
- `AzureResponsesTextProviderMetadata`
|
|
37
|
+
- `AzureResponsesSourceDocumentProviderMetadata`
|
|
38
|
+
|
|
39
|
+
## 3.0.7
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- 89202fb: fix(openai/azure): passing response_format correctly
|
|
44
|
+
|
|
45
|
+
## 3.0.6
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- dc87517: Fix handling of `image-url` tool result content type in OpenAI Responses API conversion
|
|
50
|
+
|
|
51
|
+
## 3.0.5
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- Updated dependencies [d937c8f]
|
|
56
|
+
- @ai-sdk/provider@3.0.2
|
|
57
|
+
- @ai-sdk/provider-utils@4.0.4
|
|
58
|
+
|
|
59
|
+
## 3.0.4
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- Updated dependencies [0b429d4]
|
|
64
|
+
- @ai-sdk/provider-utils@4.0.3
|
|
65
|
+
|
|
66
|
+
## 3.0.3
|
|
67
|
+
|
|
68
|
+
### Patch Changes
|
|
69
|
+
|
|
70
|
+
- 55cd1a4: fix(azure): allow 'azure' as a key for providerOptions
|
|
71
|
+
|
|
72
|
+
## 3.0.2
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- 863d34f: fix: trigger release to update `@latest`
|
|
77
|
+
- Updated dependencies [863d34f]
|
|
78
|
+
- @ai-sdk/provider@3.0.1
|
|
79
|
+
- @ai-sdk/provider-utils@4.0.2
|
|
80
|
+
|
|
81
|
+
## 3.0.1
|
|
82
|
+
|
|
83
|
+
### Patch Changes
|
|
84
|
+
|
|
85
|
+
- 29264a3: feat: add MCP tool approval
|
|
86
|
+
- Updated dependencies [29264a3]
|
|
87
|
+
- @ai-sdk/provider-utils@4.0.1
|
|
88
|
+
|
|
89
|
+
## 3.0.0
|
|
90
|
+
|
|
91
|
+
### Major Changes
|
|
92
|
+
|
|
93
|
+
- dee8b05: ai SDK 6 beta
|
|
94
|
+
|
|
95
|
+
### Minor Changes
|
|
96
|
+
|
|
97
|
+
- 78928cb: release: start 5.1 beta
|
|
98
|
+
|
|
99
|
+
### Patch Changes
|
|
100
|
+
|
|
101
|
+
- 0c3b58b: fix(provider): add specificationVersion to ProviderV3
|
|
102
|
+
- 4920119: fix the "incomplete_details" key from nullable to nullish for openai compatibility
|
|
103
|
+
- 0adc679: feat(provider): shared spec v3
|
|
104
|
+
- 92c6241: feat(openai): additional settings for file search tool
|
|
105
|
+
- 88fc415: feat(openai): add the new provider 'apply_patch' tool
|
|
106
|
+
- 817e601: fix(openai); fix url_citation schema in chat api
|
|
107
|
+
- dae2185: fix(openai): extract meta data from first chunk that contains any
|
|
108
|
+
- 046aa3b: feat(provider): speech model v3 spec
|
|
109
|
+
- f1277fe: feat(provider/openai): send assistant text and tool call parts as reference ids when store: true
|
|
110
|
+
- 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
|
|
111
|
+
|
|
112
|
+
Before
|
|
113
|
+
|
|
114
|
+
```ts
|
|
115
|
+
model.textEmbeddingModel('my-model-id');
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
After
|
|
119
|
+
|
|
120
|
+
```ts
|
|
121
|
+
model.embeddingModel('my-model-id');
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
- 60f4775: fix: remove code for unsuported o1-mini and o1-preview models
|
|
125
|
+
- 9a51b92: support OPENAI_BASE_URL env
|
|
126
|
+
- d64ece9: enables image_generation capabilities in the Azure provider through the Responses API.
|
|
127
|
+
- 2625a04: feat(openai); update spec for mcp approval
|
|
128
|
+
- 2e86082: feat(provider/openai): `OpenAIChatLanguageModelOptions` type
|
|
129
|
+
|
|
130
|
+
```ts
|
|
131
|
+
import { openai, type OpenAIChatLanguageModelOptions } from '@ai-sdk/openai';
|
|
132
|
+
import { generateText } from 'ai';
|
|
133
|
+
|
|
134
|
+
await generateText({
|
|
135
|
+
model: openai.chat('gpt-4o'),
|
|
136
|
+
prompt: 'Invent a new holiday and describe its traditions.',
|
|
137
|
+
providerOptions: {
|
|
138
|
+
openai: {
|
|
139
|
+
user: 'user-123',
|
|
140
|
+
} satisfies OpenAIChatLanguageModelOptions,
|
|
141
|
+
},
|
|
142
|
+
});
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
- 0877683: feat(provider/openai): support conversations api
|
|
146
|
+
- d0f1baf: feat(openai): Add support for 'promptCacheRetention: 24h' for gpt5.1 series
|
|
147
|
+
- 831b6cc: feat(openai): adding provider mcp tool for openai
|
|
148
|
+
- 95f65c2: chore: use import \* from zod/v4
|
|
149
|
+
- edc5548: feat(provider/openai): automatically add reasoning.encrypted_content include when store = false
|
|
150
|
+
- 954c356: feat(openai): allow custom names for provider-defined tools
|
|
151
|
+
- 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
|
|
152
|
+
- 77f2b20: enables code_interpreter and file_search capabilities in the Azure provider through the Responses API
|
|
153
|
+
- 0c4822d: feat: `EmbeddingModelV3`
|
|
154
|
+
- 73d9883: chore(openai): enable strict json by default
|
|
155
|
+
- d2039d7: feat(provider/openai): add GPT 5.1 Codex Max to OpenAI Responses model IDs list
|
|
156
|
+
- 88edc28: feat (provider/openai): include more image generation response metadata
|
|
157
|
+
- e8109d3: feat: tool execution approval
|
|
158
|
+
- ed329cb: feat: `Provider-V3`
|
|
159
|
+
- 3bd2689: feat: extended token usage
|
|
160
|
+
- 1cad0ab: feat: add provider version to user-agent header
|
|
161
|
+
- e85fa2f: feat(openai): add sources in web-search actions
|
|
162
|
+
- 423ba08: Set the annotations from the Responses API to doStream
|
|
163
|
+
- 401f561: fix(provider/openai): fix web search tool input types
|
|
164
|
+
- 4122d2a: feat(provider/openai): add gpt-5-codex model id
|
|
165
|
+
- 0153bfa: fix(openai): fix parameter exclusion logic
|
|
166
|
+
- 8dac895: feat: `LanguageModelV3`
|
|
167
|
+
- 304222e: Add streaming support for apply_patch partial diffs.
|
|
168
|
+
- 23f132b: fix: error schema for Responses API
|
|
169
|
+
- 1d0de66: refactoring(provider/openai): simplify code
|
|
170
|
+
- 000e87b: fix(provider/openai): add providerExecuted flag to tool start chunks
|
|
171
|
+
- 2c0a758: chore(openai): add JSDoc to responses options
|
|
172
|
+
- 1b982e6: feat(openai): preserve file_id when converting file citations
|
|
173
|
+
- b82987c: feat(openai): support openai code-interpreter annotations
|
|
174
|
+
- 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
|
|
175
|
+
- b681d7d: feat: expose usage tokens for 'generateImage' function
|
|
176
|
+
- 79b4e46: feat(openai): add 'gpt-5.1' modelID
|
|
177
|
+
- 3997a42: feat(provider/openai): local shell tool
|
|
178
|
+
- 348fd10: fix(openai): treat unknown models as reasoning
|
|
179
|
+
- 9061dc0: feat: image editing
|
|
180
|
+
- fe49278: feat(provider/openai): only send item references for reasoning when store: true
|
|
181
|
+
- cb4d238: The built in Code Interpreter tool input code is streamed in `tool-input-<start/delta/end>` chunks.
|
|
182
|
+
- 357cfd7: feat(provider/openai): add new model IDs `gpt-image-1-mini`, `gpt-5-pro`, `gpt-5-pro-2025-10-06`
|
|
183
|
+
- 38a4035: added support for external_web_access parameter on web_search tool
|
|
184
|
+
- 40d5419: feat(openai): add `o3-deep-research` and `o4-mini-deep-research` models
|
|
185
|
+
- 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases
|
|
186
|
+
- 2b0caef: feat(provider/openai): preview image generation results
|
|
187
|
+
- b60d2e2: fix(openai): allow open_page action type url to be nullish
|
|
188
|
+
- fd47df5: fix(openai): revised_prompt sometimes returns null, causing errors
|
|
189
|
+
- 4616b86: chore: update zod peer depenedency version
|
|
190
|
+
- 7756857: fix(provider/openai): add truncation parameter support for Responses API
|
|
191
|
+
- cad6445: feat(openai); adding OpenAI's new shell tool
|
|
192
|
+
- 64aa48f: Azure OpenAI enabled web-search-preview
|
|
193
|
+
- 0b9fdd5: fix(provider/openai): end reasoning parts earlier
|
|
194
|
+
- 61c52dc: feat (provider/openai): add gpt-image-1.5 model support
|
|
195
|
+
- ef739fa: fix(openai): refactor apply-patch tool
|
|
196
|
+
- 3220329: fix openai responses input: process all provider tool outputs (shell/apply_patch) so parallel tool results aren’t dropped and apply_patch outputs are forwarded.
|
|
197
|
+
- d270a5d: chore(openai): update tests for apply-patch tool to use snapshots
|
|
198
|
+
- f18ef7f: feat(openai): add gpt-5.2 models
|
|
199
|
+
- 21e20c0: feat(provider): transcription model v3 spec
|
|
200
|
+
- 522f6b8: feat: `ImageModelV3`
|
|
201
|
+
- 484aa93: Add 'default' as service tier
|
|
202
|
+
- 88574c1: Change `isReasoningModel` detection from blocklist to allowlist and add override option
|
|
203
|
+
- 68c6187: feat(provider/openai): support file and image tool results
|
|
204
|
+
- 3794514: feat: flexible tool output content support
|
|
205
|
+
- cbf52cd: feat: expose raw finish reason
|
|
206
|
+
- 10c1322: fix: moved dependency `@ai-sdk/test-server` to devDependencies
|
|
207
|
+
- 5648ec0: Add GPT-5.2 support for non-reasoning parameters (temperature, topP, logProbs) when reasoningEffort is none.
|
|
208
|
+
- 78f813e: fix(openai): allow temperature etc setting when reasoning effort is none for gpt-5.1
|
|
209
|
+
- 40dc7fa: fix(openai): change find action type to find_in_page action type
|
|
210
|
+
- 0273b74: fix(openai): add support for sources type 'api'
|
|
211
|
+
- 5bf101a: feat(provider/openai): add support for OpenAI xhigh reasoning effort
|
|
212
|
+
- 1bd7d32: feat: tool-specific strict mode
|
|
213
|
+
- d86b52f: distinguish between OpenAI and Azure in Responses API providerMetadata
|
|
214
|
+
- 95f65c2: chore: load zod schemas lazily
|
|
215
|
+
- 59561f8: fix(openai); fix url_citation schema in chat api
|
|
216
|
+
- Updated dependencies
|
|
217
|
+
- @ai-sdk/provider@3.0.0
|
|
218
|
+
- @ai-sdk/provider-utils@4.0.0
|
|
219
|
+
|
|
220
|
+
## 3.0.0-beta.112
|
|
221
|
+
|
|
222
|
+
### Patch Changes
|
|
223
|
+
|
|
224
|
+
- Updated dependencies [475189e]
|
|
225
|
+
- @ai-sdk/provider@3.0.0-beta.32
|
|
226
|
+
- @ai-sdk/provider-utils@4.0.0-beta.59
|
|
227
|
+
|
|
228
|
+
## 3.0.0-beta.111
|
|
229
|
+
|
|
230
|
+
### Patch Changes
|
|
231
|
+
|
|
232
|
+
- 304222e: Add streaming support for apply_patch partial diffs.
|
|
233
|
+
|
|
234
|
+
## 3.0.0-beta.110
|
|
235
|
+
|
|
236
|
+
### Patch Changes
|
|
237
|
+
|
|
238
|
+
- 2625a04: feat(openai); update spec for mcp approval
|
|
239
|
+
- Updated dependencies [2625a04]
|
|
240
|
+
- @ai-sdk/provider@3.0.0-beta.31
|
|
241
|
+
- @ai-sdk/provider-utils@4.0.0-beta.58
|
|
242
|
+
|
|
243
|
+
## 3.0.0-beta.109
|
|
244
|
+
|
|
245
|
+
### Patch Changes
|
|
246
|
+
|
|
247
|
+
- cbf52cd: feat: expose raw finish reason
|
|
248
|
+
- Updated dependencies [cbf52cd]
|
|
249
|
+
- @ai-sdk/provider@3.0.0-beta.30
|
|
250
|
+
- @ai-sdk/provider-utils@4.0.0-beta.57
|
|
251
|
+
|
|
252
|
+
## 3.0.0-beta.108
|
|
253
|
+
|
|
254
|
+
### Patch Changes
|
|
255
|
+
|
|
256
|
+
- Updated dependencies [9549c9e]
|
|
257
|
+
- @ai-sdk/provider@3.0.0-beta.29
|
|
258
|
+
- @ai-sdk/provider-utils@4.0.0-beta.56
|
|
259
|
+
|
|
260
|
+
## 3.0.0-beta.107
|
|
261
|
+
|
|
262
|
+
### Patch Changes
|
|
263
|
+
|
|
264
|
+
- Updated dependencies [50b70d6]
|
|
265
|
+
- @ai-sdk/provider-utils@4.0.0-beta.55
|
|
266
|
+
|
|
267
|
+
## 3.0.0-beta.106
|
|
268
|
+
|
|
269
|
+
### Patch Changes
|
|
270
|
+
|
|
271
|
+
- 9061dc0: feat: image editing
|
|
272
|
+
- Updated dependencies [9061dc0]
|
|
273
|
+
- @ai-sdk/provider-utils@4.0.0-beta.54
|
|
274
|
+
- @ai-sdk/provider@3.0.0-beta.28
|
|
275
|
+
|
|
276
|
+
## 3.0.0-beta.105
|
|
277
|
+
|
|
278
|
+
### Patch Changes
|
|
279
|
+
|
|
280
|
+
- 88574c1: Change `isReasoningModel` detection from blocklist to allowlist and add override option
|
|
281
|
+
|
|
282
|
+
## 3.0.0-beta.104
|
|
283
|
+
|
|
284
|
+
### Patch Changes
|
|
285
|
+
|
|
286
|
+
- 61c52dc: feat (provider/openai): add gpt-image-1.5 model support
|
|
287
|
+
|
|
288
|
+
## 3.0.0-beta.103
|
|
289
|
+
|
|
290
|
+
### Patch Changes
|
|
291
|
+
|
|
292
|
+
- 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases
|
|
293
|
+
- Updated dependencies [366f50b]
|
|
294
|
+
- @ai-sdk/provider@3.0.0-beta.27
|
|
295
|
+
- @ai-sdk/provider-utils@4.0.0-beta.53
|
|
296
|
+
|
|
297
|
+
## 3.0.0-beta.102
|
|
298
|
+
|
|
299
|
+
### Patch Changes
|
|
300
|
+
|
|
301
|
+
- Updated dependencies [763d04a]
|
|
302
|
+
- @ai-sdk/provider-utils@4.0.0-beta.52
|
|
303
|
+
|
|
304
|
+
## 3.0.0-beta.101
|
|
305
|
+
|
|
306
|
+
### Patch Changes
|
|
307
|
+
|
|
308
|
+
- 3220329: fix openai responses input: process all provider tool outputs (shell/apply_patch) so parallel tool results aren’t dropped and apply_patch outputs are forwarded.
|
|
309
|
+
- 5648ec0: Add GPT-5.2 support for non-reasoning parameters (temperature, topP, logProbs) when reasoningEffort is none.
|
|
310
|
+
|
|
311
|
+
## 3.0.0-beta.100
|
|
312
|
+
|
|
313
|
+
### Patch Changes
|
|
314
|
+
|
|
315
|
+
- Updated dependencies [c1efac4]
|
|
316
|
+
- @ai-sdk/provider-utils@4.0.0-beta.51
|
|
317
|
+
|
|
318
|
+
## 3.0.0-beta.99
|
|
319
|
+
|
|
320
|
+
### Patch Changes
|
|
321
|
+
|
|
322
|
+
- Updated dependencies [32223c8]
|
|
323
|
+
- @ai-sdk/provider-utils@4.0.0-beta.50
|
|
324
|
+
|
|
325
|
+
## 3.0.0-beta.98
|
|
326
|
+
|
|
327
|
+
### Patch Changes
|
|
328
|
+
|
|
329
|
+
- Updated dependencies [83e5744]
|
|
330
|
+
- @ai-sdk/provider-utils@4.0.0-beta.49
|
|
331
|
+
|
|
332
|
+
## 3.0.0-beta.97
|
|
333
|
+
|
|
334
|
+
### Patch Changes
|
|
335
|
+
|
|
336
|
+
- Updated dependencies [960ec8f]
|
|
337
|
+
- @ai-sdk/provider-utils@4.0.0-beta.48
|
|
338
|
+
|
|
339
|
+
## 3.0.0-beta.96
|
|
340
|
+
|
|
341
|
+
### Patch Changes
|
|
342
|
+
|
|
343
|
+
- 817e601: fix(openai); fix url_citation schema in chat api
|
|
344
|
+
- 59561f8: fix(openai); fix url_citation schema in chat api
|
|
345
|
+
|
|
346
|
+
## 3.0.0-beta.95
|
|
347
|
+
|
|
348
|
+
### Patch Changes
|
|
349
|
+
|
|
350
|
+
- 40dc7fa: fix(openai): change find action type to find_in_page action type
|
|
351
|
+
|
|
352
|
+
## 3.0.0-beta.94
|
|
353
|
+
|
|
354
|
+
### Patch Changes
|
|
355
|
+
|
|
356
|
+
- f18ef7f: feat(openai): add gpt-5.2 models
|
|
357
|
+
|
|
358
|
+
## 3.0.0-beta.93
|
|
359
|
+
|
|
360
|
+
### Patch Changes
|
|
361
|
+
|
|
362
|
+
- d2039d7: feat(provider/openai): add GPT 5.1 Codex Max to OpenAI Responses model IDs list
|
|
363
|
+
|
|
364
|
+
## 3.0.0-beta.92
|
|
365
|
+
|
|
366
|
+
### Patch Changes
|
|
367
|
+
|
|
368
|
+
- 5bf101a: feat(provider/openai): add support for OpenAI xhigh reasoning effort
|
|
369
|
+
|
|
370
|
+
## 3.0.0-beta.91
|
|
371
|
+
|
|
372
|
+
### Patch Changes
|
|
373
|
+
|
|
374
|
+
- Updated dependencies [e9e157f]
|
|
375
|
+
- @ai-sdk/provider-utils@4.0.0-beta.47
|
|
376
|
+
|
|
377
|
+
## 3.0.0-beta.90
|
|
378
|
+
|
|
379
|
+
### Patch Changes
|
|
380
|
+
|
|
381
|
+
- Updated dependencies [81e29ab]
|
|
382
|
+
- @ai-sdk/provider-utils@4.0.0-beta.46
|
|
383
|
+
|
|
384
|
+
## 3.0.0-beta.89
|
|
385
|
+
|
|
386
|
+
### Patch Changes
|
|
387
|
+
|
|
388
|
+
- 3bd2689: feat: extended token usage
|
|
389
|
+
- Updated dependencies [3bd2689]
|
|
390
|
+
- @ai-sdk/provider@3.0.0-beta.26
|
|
391
|
+
- @ai-sdk/provider-utils@4.0.0-beta.45
|
|
392
|
+
|
|
393
|
+
## 3.0.0-beta.88
|
|
394
|
+
|
|
395
|
+
### Patch Changes
|
|
396
|
+
|
|
397
|
+
- 92c6241: feat(openai): additional settings for file search tool
|
|
398
|
+
|
|
399
|
+
## 3.0.0-beta.87
|
|
400
|
+
|
|
401
|
+
### Patch Changes
|
|
402
|
+
|
|
403
|
+
- Updated dependencies [53f3368]
|
|
404
|
+
- @ai-sdk/provider@3.0.0-beta.25
|
|
405
|
+
- @ai-sdk/provider-utils@4.0.0-beta.44
|
|
406
|
+
|
|
407
|
+
## 3.0.0-beta.86
|
|
408
|
+
|
|
409
|
+
### Patch Changes
|
|
410
|
+
|
|
411
|
+
- 0153bfa: fix(openai): fix parameter exclusion logic
|
|
412
|
+
|
|
413
|
+
## 3.0.0-beta.85
|
|
414
|
+
|
|
415
|
+
### Patch Changes
|
|
416
|
+
|
|
417
|
+
- 78f813e: fix(openai): allow temperature etc setting when reasoning effort is none for gpt-5.1
|
|
418
|
+
|
|
419
|
+
## 3.0.0-beta.84
|
|
420
|
+
|
|
421
|
+
### Patch Changes
|
|
422
|
+
|
|
423
|
+
- Updated dependencies [dce03c4]
|
|
424
|
+
- @ai-sdk/provider-utils@4.0.0-beta.43
|
|
425
|
+
- @ai-sdk/provider@3.0.0-beta.24
|
|
426
|
+
|
|
427
|
+
## 3.0.0-beta.83
|
|
428
|
+
|
|
429
|
+
### Patch Changes
|
|
430
|
+
|
|
431
|
+
- ef739fa: fix(openai): refactor apply-patch tool
|
|
432
|
+
|
|
433
|
+
## 3.0.0-beta.82
|
|
434
|
+
|
|
435
|
+
### Patch Changes
|
|
436
|
+
|
|
437
|
+
- Updated dependencies [3ed5519]
|
|
438
|
+
- @ai-sdk/provider-utils@4.0.0-beta.42
|
|
439
|
+
|
|
440
|
+
## 3.0.0-beta.81
|
|
441
|
+
|
|
442
|
+
### Patch Changes
|
|
443
|
+
|
|
444
|
+
- cad6445: feat(openai); adding OpenAI's new shell tool
|
|
445
|
+
|
|
446
|
+
## 3.0.0-beta.80
|
|
447
|
+
|
|
448
|
+
### Patch Changes
|
|
449
|
+
|
|
450
|
+
- b60d2e2: fix(openai): allow open_page action type url to be nullish
|
|
451
|
+
|
|
452
|
+
## 3.0.0-beta.79
|
|
453
|
+
|
|
454
|
+
### Patch Changes
|
|
455
|
+
|
|
456
|
+
- 1bd7d32: feat: tool-specific strict mode
|
|
457
|
+
- Updated dependencies [1bd7d32]
|
|
458
|
+
- @ai-sdk/provider-utils@4.0.0-beta.41
|
|
459
|
+
- @ai-sdk/provider@3.0.0-beta.23
|
|
460
|
+
|
|
461
|
+
## 3.0.0-beta.78
|
|
462
|
+
|
|
463
|
+
### Patch Changes
|
|
464
|
+
|
|
465
|
+
- 2c0a758: chore(openai): add JSDoc to responses options
|
|
466
|
+
|
|
467
|
+
## 3.0.0-beta.77
|
|
468
|
+
|
|
469
|
+
### Patch Changes
|
|
470
|
+
|
|
471
|
+
- d270a5d: chore(openai): update tests for apply-patch tool to use snapshots
|
|
472
|
+
|
|
473
|
+
## 3.0.0-beta.76
|
|
474
|
+
|
|
475
|
+
### Patch Changes
|
|
476
|
+
|
|
477
|
+
- 88edc28: feat (provider/openai): include more image generation response metadata
|
|
478
|
+
|
|
479
|
+
## 3.0.0-beta.75
|
|
480
|
+
|
|
481
|
+
### Patch Changes
|
|
482
|
+
|
|
483
|
+
- 73d9883: chore(openai): enable strict json by default
|
|
484
|
+
|
|
485
|
+
## 3.0.0-beta.74
|
|
486
|
+
|
|
487
|
+
### Patch Changes
|
|
488
|
+
|
|
489
|
+
- 88fc415: feat(openai): add the new provider 'apply_patch' tool
|
|
490
|
+
|
|
491
|
+
## 3.0.0-beta.73
|
|
492
|
+
|
|
493
|
+
### Patch Changes
|
|
494
|
+
|
|
495
|
+
- 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
|
|
496
|
+
- Updated dependencies [544d4e8]
|
|
497
|
+
- @ai-sdk/provider-utils@4.0.0-beta.40
|
|
498
|
+
- @ai-sdk/provider@3.0.0-beta.22
|
|
499
|
+
|
|
500
|
+
## 3.0.0-beta.72
|
|
501
|
+
|
|
502
|
+
### Patch Changes
|
|
503
|
+
|
|
504
|
+
- 954c356: feat(openai): allow custom names for provider-defined tools
|
|
505
|
+
- Updated dependencies [954c356]
|
|
506
|
+
- @ai-sdk/provider-utils@4.0.0-beta.39
|
|
507
|
+
- @ai-sdk/provider@3.0.0-beta.21
|
|
508
|
+
|
|
509
|
+
## 3.0.0-beta.71
|
|
510
|
+
|
|
511
|
+
### Patch Changes
|
|
512
|
+
|
|
513
|
+
- Updated dependencies [03849b0]
|
|
514
|
+
- @ai-sdk/provider-utils@4.0.0-beta.38
|
|
515
|
+
|
|
516
|
+
## 3.0.0-beta.70
|
|
517
|
+
|
|
518
|
+
### Patch Changes
|
|
519
|
+
|
|
520
|
+
- 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
|
|
521
|
+
- Updated dependencies [457318b]
|
|
522
|
+
- @ai-sdk/provider@3.0.0-beta.20
|
|
523
|
+
- @ai-sdk/provider-utils@4.0.0-beta.37
|
|
524
|
+
|
|
525
|
+
## 3.0.0-beta.69
|
|
526
|
+
|
|
527
|
+
### Patch Changes
|
|
528
|
+
|
|
529
|
+
- 1d0de66: refactoring(provider/openai): simplify code
|
|
530
|
+
|
|
531
|
+
## 3.0.0-beta.68
|
|
532
|
+
|
|
533
|
+
### Patch Changes
|
|
534
|
+
|
|
535
|
+
- 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
|
|
536
|
+
|
|
537
|
+
Before
|
|
538
|
+
|
|
539
|
+
```ts
|
|
540
|
+
model.textEmbeddingModel('my-model-id');
|
|
541
|
+
```
|
|
542
|
+
|
|
543
|
+
After
|
|
544
|
+
|
|
545
|
+
```ts
|
|
546
|
+
model.embeddingModel('my-model-id');
|
|
547
|
+
```
|
|
548
|
+
|
|
549
|
+
- Updated dependencies [8d9e8ad]
|
|
550
|
+
- @ai-sdk/provider@3.0.0-beta.19
|
|
551
|
+
- @ai-sdk/provider-utils@4.0.0-beta.36
|
|
552
|
+
|
|
553
|
+
## 3.0.0-beta.67
|
|
554
|
+
|
|
555
|
+
### Patch Changes
|
|
556
|
+
|
|
557
|
+
- Updated dependencies [10d819b]
|
|
558
|
+
- @ai-sdk/provider@3.0.0-beta.18
|
|
559
|
+
- @ai-sdk/provider-utils@4.0.0-beta.35
|
|
560
|
+
|
|
561
|
+
## 3.0.0-beta.66
|
|
562
|
+
|
|
563
|
+
### Patch Changes
|
|
564
|
+
|
|
565
|
+
- d86b52f: distinguish between OpenAI and Azure in Responses API providerMetadata
|
|
566
|
+
|
|
567
|
+
## 3.0.0-beta.65
|
|
568
|
+
|
|
569
|
+
### Patch Changes
|
|
570
|
+
|
|
571
|
+
- 38a4035: added support for external_web_access parameter on web_search tool
|
|
572
|
+
|
|
573
|
+
## 3.0.0-beta.64
|
|
574
|
+
|
|
575
|
+
### Patch Changes
|
|
576
|
+
|
|
577
|
+
- Updated dependencies [db913bd]
|
|
578
|
+
- @ai-sdk/provider@3.0.0-beta.17
|
|
579
|
+
- @ai-sdk/provider-utils@4.0.0-beta.34
|
|
580
|
+
|
|
581
|
+
## 3.0.0-beta.63
|
|
582
|
+
|
|
583
|
+
### Patch Changes
|
|
584
|
+
|
|
585
|
+
- 423ba08: Set the annotations from the Responses API to doStream
|
|
586
|
+
|
|
587
|
+
## 3.0.0-beta.62
|
|
588
|
+
|
|
589
|
+
### Patch Changes
|
|
590
|
+
|
|
591
|
+
- 64aa48f: Azure OpenAI enabled web-search-preview
|
|
592
|
+
|
|
593
|
+
## 3.0.0-beta.61
|
|
594
|
+
|
|
595
|
+
### Patch Changes
|
|
596
|
+
|
|
597
|
+
- 23f132b: fix: error schema for Responses API
|
|
598
|
+
|
|
599
|
+
## 3.0.0-beta.60
|
|
600
|
+
|
|
601
|
+
### Patch Changes
|
|
602
|
+
|
|
603
|
+
- 0877683: feat(provider/openai): support conversations api
|
|
604
|
+
|
|
605
|
+
## 3.0.0-beta.59
|
|
606
|
+
|
|
607
|
+
### Patch Changes
|
|
608
|
+
|
|
609
|
+
- d0f1baf: feat(openai): Add support for 'promptCacheRetention: 24h' for gpt5.1 series
|
|
610
|
+
|
|
611
|
+
## 3.0.0-beta.58
|
|
612
|
+
|
|
613
|
+
### Patch Changes
|
|
614
|
+
|
|
615
|
+
- 79b4e46: feat(openai): add 'gpt-5.1' modelID
|
|
616
|
+
|
|
617
|
+
## 3.0.0-beta.57
|
|
618
|
+
|
|
619
|
+
### Patch Changes
|
|
620
|
+
|
|
621
|
+
- b681d7d: feat: expose usage tokens for 'generateImage' function
|
|
622
|
+
- Updated dependencies [b681d7d]
|
|
623
|
+
- @ai-sdk/provider@3.0.0-beta.16
|
|
624
|
+
- @ai-sdk/provider-utils@4.0.0-beta.33
|
|
625
|
+
|
|
626
|
+
## 3.0.0-beta.56
|
|
627
|
+
|
|
628
|
+
### Patch Changes
|
|
629
|
+
|
|
630
|
+
- Updated dependencies [32d8dbb]
|
|
631
|
+
- @ai-sdk/provider-utils@4.0.0-beta.32
|
|
632
|
+
|
|
633
|
+
## 3.0.0-beta.55
|
|
634
|
+
|
|
635
|
+
### Patch Changes
|
|
636
|
+
|
|
637
|
+
- 831b6cc: feat(openai): adding provider mcp tool for openai
|
|
638
|
+
|
|
639
|
+
## 3.0.0-beta.54
|
|
640
|
+
|
|
641
|
+
### Patch Changes
|
|
642
|
+
|
|
643
|
+
- 40d5419: feat(openai): add `o3-deep-research` and `o4-mini-deep-research` models
|
|
644
|
+
|
|
645
|
+
## 3.0.0-beta.53
|
|
646
|
+
|
|
647
|
+
### Patch Changes
|
|
648
|
+
|
|
649
|
+
- dae2185: fix(openai): extract meta data from first chunk that contains any
|
|
650
|
+
|
|
651
|
+
## 3.0.0-beta.52
|
|
652
|
+
|
|
653
|
+
### Patch Changes
|
|
654
|
+
|
|
655
|
+
- 348fd10: fix(openai): treat unknown models as reasoning
|
|
656
|
+
|
|
657
|
+
## 3.0.0-beta.51
|
|
658
|
+
|
|
659
|
+
### Patch Changes
|
|
660
|
+
|
|
661
|
+
- b82987c: feat(openai): support openai code-interpreter annotations
|
|
662
|
+
|
|
663
|
+
## 3.0.0-beta.50
|
|
664
|
+
|
|
665
|
+
### Patch Changes
|
|
666
|
+
|
|
667
|
+
- Updated dependencies [bb36798]
|
|
668
|
+
- @ai-sdk/provider@3.0.0-beta.15
|
|
669
|
+
- @ai-sdk/provider-utils@4.0.0-beta.31
|
|
670
|
+
|
|
671
|
+
## 3.0.0-beta.49
|
|
672
|
+
|
|
673
|
+
### Patch Changes
|
|
674
|
+
|
|
675
|
+
- 0273b74: fix(openai): add support for sources type 'api'
|
|
676
|
+
|
|
677
|
+
## 3.0.0-beta.48
|
|
678
|
+
|
|
679
|
+
### Patch Changes
|
|
680
|
+
|
|
681
|
+
- 60f4775: fix: remove code for unsuported o1-mini and o1-preview models
|
|
682
|
+
|
|
683
|
+
## 3.0.0-beta.47
|
|
684
|
+
|
|
685
|
+
### Patch Changes
|
|
686
|
+
|
|
687
|
+
- Updated dependencies [4f16c37]
|
|
688
|
+
- @ai-sdk/provider-utils@4.0.0-beta.30
|
|
689
|
+
|
|
690
|
+
## 3.0.0-beta.46
|
|
691
|
+
|
|
692
|
+
### Patch Changes
|
|
693
|
+
|
|
694
|
+
- Updated dependencies [af3780b]
|
|
695
|
+
- @ai-sdk/provider@3.0.0-beta.14
|
|
696
|
+
- @ai-sdk/provider-utils@4.0.0-beta.29
|
|
697
|
+
|
|
698
|
+
## 3.0.0-beta.45
|
|
699
|
+
|
|
700
|
+
### Patch Changes
|
|
701
|
+
|
|
702
|
+
- fd47df5: fix(openai): revised_prompt sometimes returns null, causing errors
|
|
703
|
+
|
|
704
|
+
## 3.0.0-beta.44
|
|
705
|
+
|
|
706
|
+
### Patch Changes
|
|
707
|
+
|
|
708
|
+
- Updated dependencies [016b111]
|
|
709
|
+
- @ai-sdk/provider-utils@4.0.0-beta.28
|
|
710
|
+
|
|
711
|
+
## 3.0.0-beta.43
|
|
712
|
+
|
|
713
|
+
### Patch Changes
|
|
714
|
+
|
|
715
|
+
- Updated dependencies [37c58a0]
|
|
716
|
+
- @ai-sdk/provider@3.0.0-beta.13
|
|
717
|
+
- @ai-sdk/provider-utils@4.0.0-beta.27
|
|
718
|
+
|
|
719
|
+
## 3.0.0-beta.42
|
|
720
|
+
|
|
721
|
+
### Patch Changes
|
|
722
|
+
|
|
723
|
+
- Updated dependencies [d1bdadb]
|
|
724
|
+
- @ai-sdk/provider@3.0.0-beta.12
|
|
725
|
+
- @ai-sdk/provider-utils@4.0.0-beta.26
|
|
726
|
+
|
|
727
|
+
## 3.0.0-beta.41
|
|
728
|
+
|
|
729
|
+
### Patch Changes
|
|
730
|
+
|
|
731
|
+
- Updated dependencies [4c44a5b]
|
|
732
|
+
- @ai-sdk/provider@3.0.0-beta.11
|
|
733
|
+
- @ai-sdk/provider-utils@4.0.0-beta.25
|
|
734
|
+
|
|
735
|
+
## 3.0.0-beta.40
|
|
736
|
+
|
|
737
|
+
### Patch Changes
|
|
738
|
+
|
|
739
|
+
- 1b982e6: feat(openai): preserve file_id when converting file citations
|
|
740
|
+
|
|
741
|
+
## 3.0.0-beta.39
|
|
742
|
+
|
|
743
|
+
### Patch Changes
|
|
744
|
+
|
|
745
|
+
- 0c3b58b: fix(provider): add specificationVersion to ProviderV3
|
|
746
|
+
- Updated dependencies [0c3b58b]
|
|
747
|
+
- @ai-sdk/provider@3.0.0-beta.10
|
|
748
|
+
- @ai-sdk/provider-utils@4.0.0-beta.24
|
|
749
|
+
|
|
750
|
+
## 3.0.0-beta.38
|
|
751
|
+
|
|
752
|
+
### Patch Changes
|
|
753
|
+
|
|
754
|
+
- Updated dependencies [a755db5]
|
|
755
|
+
- @ai-sdk/provider@3.0.0-beta.9
|
|
756
|
+
- @ai-sdk/provider-utils@4.0.0-beta.23
|
|
757
|
+
|
|
758
|
+
## 3.0.0-beta.37
|
|
759
|
+
|
|
760
|
+
### Patch Changes
|
|
761
|
+
|
|
762
|
+
- e85fa2f: feat(openai): add sources in web-search actions
|
|
763
|
+
|
|
764
|
+
## 3.0.0-beta.36
|
|
765
|
+
|
|
766
|
+
### Patch Changes
|
|
767
|
+
|
|
768
|
+
- Updated dependencies [58920e0]
|
|
769
|
+
- @ai-sdk/provider-utils@4.0.0-beta.22
|
|
770
|
+
|
|
771
|
+
## 3.0.0-beta.35
|
|
772
|
+
|
|
773
|
+
### Patch Changes
|
|
774
|
+
|
|
775
|
+
- Updated dependencies [293a6b7]
|
|
776
|
+
- @ai-sdk/provider-utils@4.0.0-beta.21
|
|
777
|
+
|
|
778
|
+
## 3.0.0-beta.34
|
|
779
|
+
|
|
780
|
+
### Patch Changes
|
|
781
|
+
|
|
782
|
+
- Updated dependencies [fca786b]
|
|
783
|
+
- @ai-sdk/provider-utils@4.0.0-beta.20
|
|
784
|
+
|
|
785
|
+
## 3.0.0-beta.33
|
|
786
|
+
|
|
787
|
+
### Patch Changes
|
|
788
|
+
|
|
789
|
+
- 7756857: fix(provider/openai): add truncation parameter support for Responses API
|
|
790
|
+
|
|
791
|
+
## 3.0.0-beta.32
|
|
792
|
+
|
|
793
|
+
### Patch Changes
|
|
794
|
+
|
|
795
|
+
- 3794514: feat: flexible tool output content support
|
|
796
|
+
- Updated dependencies [3794514]
|
|
797
|
+
- @ai-sdk/provider-utils@4.0.0-beta.19
|
|
798
|
+
- @ai-sdk/provider@3.0.0-beta.8
|
|
799
|
+
|
|
800
|
+
## 3.0.0-beta.31
|
|
801
|
+
|
|
802
|
+
### Patch Changes
|
|
803
|
+
|
|
804
|
+
- Updated dependencies [81d4308]
|
|
805
|
+
- @ai-sdk/provider@3.0.0-beta.7
|
|
806
|
+
- @ai-sdk/provider-utils@4.0.0-beta.18
|
|
807
|
+
|
|
808
|
+
## 3.0.0-beta.30
|
|
809
|
+
|
|
810
|
+
### Patch Changes
|
|
811
|
+
|
|
812
|
+
- Updated dependencies [703459a]
|
|
813
|
+
- @ai-sdk/provider-utils@4.0.0-beta.17
|
|
814
|
+
|
|
815
|
+
## 3.0.0-beta.29
|
|
816
|
+
|
|
817
|
+
### Patch Changes
|
|
818
|
+
|
|
819
|
+
- 0b9fdd5: fix(provider/openai): end reasoning parts earlier
|
|
820
|
+
|
|
821
|
+
## 3.0.0-beta.28
|
|
822
|
+
|
|
823
|
+
### Patch Changes
|
|
824
|
+
|
|
825
|
+
- 401f561: fix(provider/openai): fix web search tool input types
|
|
826
|
+
|
|
827
|
+
## 3.0.0-beta.27
|
|
828
|
+
|
|
829
|
+
### Patch Changes
|
|
830
|
+
|
|
831
|
+
- f1277fe: feat(provider/openai): send assistant text and tool call parts as reference ids when store: true
|
|
832
|
+
|
|
833
|
+
## 3.0.0-beta.26
|
|
834
|
+
|
|
835
|
+
### Patch Changes
|
|
836
|
+
|
|
837
|
+
- edc5548: feat(provider/openai): automatically add reasoning.encrypted_content include when store = false
|
|
838
|
+
|
|
839
|
+
## 3.0.0-beta.25
|
|
840
|
+
|
|
841
|
+
### Patch Changes
|
|
842
|
+
|
|
843
|
+
- Updated dependencies [6306603]
|
|
844
|
+
- @ai-sdk/provider-utils@4.0.0-beta.16
|
|
845
|
+
|
|
846
|
+
## 3.0.0-beta.24
|
|
847
|
+
|
|
848
|
+
### Patch Changes
|
|
849
|
+
|
|
850
|
+
- Updated dependencies [f0b2157]
|
|
851
|
+
- @ai-sdk/provider-utils@4.0.0-beta.15
|
|
852
|
+
|
|
853
|
+
## 3.0.0-beta.23
|
|
854
|
+
|
|
855
|
+
### Patch Changes
|
|
856
|
+
|
|
857
|
+
- Updated dependencies [3b1d015]
|
|
858
|
+
- @ai-sdk/provider-utils@4.0.0-beta.14
|
|
859
|
+
|
|
860
|
+
## 3.0.0-beta.22
|
|
861
|
+
|
|
862
|
+
### Patch Changes
|
|
863
|
+
|
|
864
|
+
- Updated dependencies [d116b4b]
|
|
865
|
+
- @ai-sdk/provider-utils@4.0.0-beta.13
|
|
866
|
+
|
|
867
|
+
## 3.0.0-beta.21
|
|
868
|
+
|
|
869
|
+
### Patch Changes
|
|
870
|
+
|
|
871
|
+
- Updated dependencies [7e32fea]
|
|
872
|
+
- @ai-sdk/provider-utils@4.0.0-beta.12
|
|
873
|
+
|
|
874
|
+
## 3.0.0-beta.20
|
|
875
|
+
|
|
876
|
+
### Patch Changes
|
|
877
|
+
|
|
878
|
+
- 68c6187: feat(provider/openai): support file and image tool results
|
|
879
|
+
|
|
880
|
+
## 3.0.0-beta.19
|
|
881
|
+
|
|
882
|
+
### Patch Changes
|
|
883
|
+
|
|
884
|
+
- 484aa93: Add 'default' as service tier
|
|
885
|
+
|
|
886
|
+
## 3.0.0-beta.18
|
|
887
|
+
|
|
888
|
+
### Patch Changes
|
|
889
|
+
|
|
890
|
+
- 95f65c2: chore: use import \* from zod/v4
|
|
891
|
+
- 95f65c2: chore: load zod schemas lazily
|
|
892
|
+
- Updated dependencies
|
|
893
|
+
- @ai-sdk/provider-utils@4.0.0-beta.11
|
|
894
|
+
|
|
895
|
+
## 3.0.0-beta.17
|
|
896
|
+
|
|
897
|
+
### Major Changes
|
|
898
|
+
|
|
899
|
+
- dee8b05: ai SDK 6 beta
|
|
900
|
+
|
|
901
|
+
### Patch Changes
|
|
902
|
+
|
|
903
|
+
- Updated dependencies [dee8b05]
|
|
904
|
+
- @ai-sdk/provider@3.0.0-beta.6
|
|
905
|
+
- @ai-sdk/provider-utils@4.0.0-beta.10
|
|
906
|
+
|
|
907
|
+
## 2.1.0-beta.16
|
|
908
|
+
|
|
909
|
+
### Patch Changes
|
|
910
|
+
|
|
911
|
+
- Updated dependencies [521c537]
|
|
912
|
+
- @ai-sdk/provider-utils@3.1.0-beta.9
|
|
913
|
+
|
|
914
|
+
## 2.1.0-beta.15
|
|
915
|
+
|
|
916
|
+
### Patch Changes
|
|
917
|
+
|
|
918
|
+
- Updated dependencies [e06565c]
|
|
919
|
+
- @ai-sdk/provider-utils@3.1.0-beta.8
|
|
920
|
+
|
|
921
|
+
## 2.1.0-beta.14
|
|
922
|
+
|
|
923
|
+
### Patch Changes
|
|
924
|
+
|
|
925
|
+
- 000e87b: fix(provider/openai): add providerExecuted flag to tool start chunks
|
|
926
|
+
|
|
927
|
+
## 2.1.0-beta.13
|
|
928
|
+
|
|
929
|
+
### Patch Changes
|
|
930
|
+
|
|
931
|
+
- 357cfd7: feat(provider/openai): add new model IDs `gpt-image-1-mini`, `gpt-5-pro`, `gpt-5-pro-2025-10-06`
|
|
932
|
+
|
|
933
|
+
## 2.1.0-beta.12
|
|
934
|
+
|
|
935
|
+
### Patch Changes
|
|
936
|
+
|
|
937
|
+
- 046aa3b: feat(provider): speech model v3 spec
|
|
938
|
+
- e8109d3: feat: tool execution approval
|
|
939
|
+
- 21e20c0: feat(provider): transcription model v3 spec
|
|
940
|
+
- Updated dependencies
|
|
941
|
+
- @ai-sdk/provider@2.1.0-beta.5
|
|
942
|
+
- @ai-sdk/provider-utils@3.1.0-beta.7
|
|
943
|
+
|
|
944
|
+
## 2.1.0-beta.11
|
|
945
|
+
|
|
946
|
+
### Patch Changes
|
|
947
|
+
|
|
948
|
+
- 0adc679: feat(provider): shared spec v3
|
|
949
|
+
- 2b0caef: feat(provider/openai): preview image generation results
|
|
950
|
+
- Updated dependencies
|
|
951
|
+
- @ai-sdk/provider-utils@3.1.0-beta.6
|
|
952
|
+
- @ai-sdk/provider@2.1.0-beta.4
|
|
953
|
+
|
|
954
|
+
## 2.1.0-beta.10
|
|
955
|
+
|
|
956
|
+
### Patch Changes
|
|
957
|
+
|
|
958
|
+
- d64ece9: enables image_generation capabilities in the Azure provider through the Responses API.
|
|
959
|
+
|
|
960
|
+
## 2.1.0-beta.9
|
|
961
|
+
|
|
962
|
+
### Patch Changes
|
|
963
|
+
|
|
964
|
+
- 9a51b92: support OPENAI_BASE_URL env
|
|
965
|
+
|
|
966
|
+
## 2.1.0-beta.8
|
|
967
|
+
|
|
968
|
+
### Patch Changes
|
|
969
|
+
|
|
970
|
+
- 4122d2a: feat(provider/openai): add gpt-5-codex model id
|
|
971
|
+
- 3997a42: feat(provider/openai): local shell tool
|
|
972
|
+
- cb4d238: The built in Code Interpreter tool input code is streamed in `tool-input-<start/delta/end>` chunks.
|
|
973
|
+
|
|
974
|
+
## 2.1.0-beta.7
|
|
975
|
+
|
|
976
|
+
### Patch Changes
|
|
977
|
+
|
|
978
|
+
- 77f2b20: enables code_interpreter and file_search capabilities in the Azure provider through the Responses API
|
|
979
|
+
- 8dac895: feat: `LanguageModelV3`
|
|
980
|
+
- 10c1322: fix: moved dependency `@ai-sdk/test-server` to devDependencies
|
|
981
|
+
- Updated dependencies [8dac895]
|
|
982
|
+
- @ai-sdk/provider-utils@3.1.0-beta.5
|
|
983
|
+
- @ai-sdk/provider@2.1.0-beta.3
|
|
984
|
+
|
|
985
|
+
## 2.1.0-beta.6
|
|
986
|
+
|
|
987
|
+
### Patch Changes
|
|
988
|
+
|
|
989
|
+
- fe49278: feat(provider/openai): only send item references for reasoning when store: true
|
|
990
|
+
|
|
991
|
+
## 2.1.0-beta.5
|
|
992
|
+
|
|
993
|
+
### Patch Changes
|
|
994
|
+
|
|
995
|
+
- 4616b86: chore: update zod peer depenedency version
|
|
996
|
+
- Updated dependencies [4616b86]
|
|
997
|
+
- @ai-sdk/provider-utils@3.1.0-beta.4
|
|
998
|
+
|
|
999
|
+
## 2.1.0-beta.4
|
|
1000
|
+
|
|
1001
|
+
### Patch Changes
|
|
1002
|
+
|
|
1003
|
+
- ed329cb: feat: `Provider-V3`
|
|
1004
|
+
- 522f6b8: feat: `ImageModelV3`
|
|
1005
|
+
- Updated dependencies
|
|
1006
|
+
- @ai-sdk/provider@2.1.0-beta.2
|
|
1007
|
+
- @ai-sdk/provider-utils@3.1.0-beta.3
|
|
1008
|
+
|
|
1009
|
+
## 2.1.0-beta.3
|
|
1010
|
+
|
|
1011
|
+
### Patch Changes
|
|
1012
|
+
|
|
1013
|
+
- 2e86082: feat(provider/openai): `OpenAIChatLanguageModelOptions` type
|
|
1014
|
+
|
|
1015
|
+
```ts
|
|
1016
|
+
import { openai, type OpenAIChatLanguageModelOptions } from '@ai-sdk/openai';
|
|
1017
|
+
import { generateText } from 'ai';
|
|
1018
|
+
|
|
1019
|
+
await generateText({
|
|
1020
|
+
model: openai.chat('gpt-4o'),
|
|
1021
|
+
prompt: 'Invent a new holiday and describe its traditions.',
|
|
1022
|
+
providerOptions: {
|
|
1023
|
+
openai: {
|
|
1024
|
+
user: 'user-123',
|
|
1025
|
+
} satisfies OpenAIChatLanguageModelOptions,
|
|
1026
|
+
},
|
|
1027
|
+
});
|
|
1028
|
+
```
|
|
1029
|
+
|
|
1030
|
+
## 2.1.0-beta.2
|
|
1031
|
+
|
|
1032
|
+
### Patch Changes
|
|
1033
|
+
|
|
1034
|
+
- 4920119: fix the "incomplete_details" key from nullable to nullish for openai compatibility
|
|
1035
|
+
- 0c4822d: feat: `EmbeddingModelV3`
|
|
1036
|
+
- 1cad0ab: feat: add provider version to user-agent header
|
|
1037
|
+
- Updated dependencies [0c4822d]
|
|
1038
|
+
- @ai-sdk/provider@2.1.0-beta.1
|
|
1039
|
+
- @ai-sdk/provider-utils@3.1.0-beta.2
|
|
1040
|
+
|
|
1041
|
+
## 2.1.0-beta.1
|
|
1042
|
+
|
|
1043
|
+
### Patch Changes
|
|
1044
|
+
|
|
1045
|
+
- Updated dependencies
|
|
1046
|
+
- @ai-sdk/test-server@1.0.0-beta.0
|
|
1047
|
+
- @ai-sdk/provider-utils@3.1.0-beta.1
|
|
1048
|
+
|
|
1049
|
+
## 2.1.0-beta.0
|
|
1050
|
+
|
|
1051
|
+
### Minor Changes
|
|
1052
|
+
|
|
1053
|
+
- 78928cb: release: start 5.1 beta
|
|
1054
|
+
|
|
1055
|
+
### Patch Changes
|
|
1056
|
+
|
|
1057
|
+
- Updated dependencies [78928cb]
|
|
1058
|
+
- @ai-sdk/provider@2.1.0-beta.0
|
|
1059
|
+
- @ai-sdk/provider-utils@3.1.0-beta.0
|
|
1060
|
+
|
|
1061
|
+
## 2.0.32
|
|
1062
|
+
|
|
1063
|
+
### Patch Changes
|
|
1064
|
+
|
|
1065
|
+
- 1cf857d: fix(provider/openai): remove provider-executed tools from chat completions model
|
|
1066
|
+
- 01de47f: feat(provider/openai): rework file search tool
|
|
1067
|
+
|
|
1068
|
+
## 2.0.31
|
|
1069
|
+
|
|
1070
|
+
### Patch Changes
|
|
1071
|
+
|
|
1072
|
+
- bb94467: feat(provider/openai): add maxToolCalls provider option
|
|
1073
|
+
- 4a2b70e: feat(provider/openai): send item references for provider-executed tool results
|
|
1074
|
+
- 643711d: feat (provider/openai): provider defined image generation tool support
|
|
1075
|
+
|
|
1076
|
+
## 2.0.30
|
|
1077
|
+
|
|
1078
|
+
### Patch Changes
|
|
1079
|
+
|
|
1080
|
+
- Updated dependencies [0294b58]
|
|
1081
|
+
- @ai-sdk/provider-utils@3.0.9
|
|
1082
|
+
|
|
1083
|
+
## 2.0.29
|
|
1084
|
+
|
|
1085
|
+
### Patch Changes
|
|
1086
|
+
|
|
1087
|
+
- 4235eb3: feat(provider/openai): code interpreter tool calls and results
|
|
1088
|
+
|
|
1089
|
+
## 2.0.28
|
|
1090
|
+
|
|
1091
|
+
### Patch Changes
|
|
1092
|
+
|
|
1093
|
+
- 4c2bb77: fix (provider/openai): send sources action as include
|
|
1094
|
+
- 561e8b0: fix (provider/openai): fix code interpreter tool in doGenerate
|
|
1095
|
+
|
|
1096
|
+
## 2.0.27
|
|
1097
|
+
|
|
1098
|
+
### Patch Changes
|
|
1099
|
+
|
|
1100
|
+
- 2338c79: feat (provider/openai): add jsdoc for openai tools
|
|
1101
|
+
|
|
1102
|
+
## 2.0.26
|
|
1103
|
+
|
|
1104
|
+
### Patch Changes
|
|
1105
|
+
|
|
1106
|
+
- 5819aec: fix (provider/openai): only send tool calls finish reason for tools that are not provider-executed
|
|
1107
|
+
- af8c6bb: feat (provider/openai): add web_search tool
|
|
1108
|
+
|
|
1109
|
+
## 2.0.25
|
|
1110
|
+
|
|
1111
|
+
### Patch Changes
|
|
1112
|
+
|
|
1113
|
+
- fb45ade: fix timestamp granularities support for openai transcription
|
|
1114
|
+
|
|
1115
|
+
## 2.0.24
|
|
1116
|
+
|
|
1117
|
+
### Patch Changes
|
|
1118
|
+
|
|
1119
|
+
- ad57512: fix(provider/openai): safe practice to include filename and fileExtension to avoid `experimental_transcribe` fails with valid Buffer
|
|
1120
|
+
- Updated dependencies [99964ed]
|
|
1121
|
+
- @ai-sdk/provider-utils@3.0.8
|
|
1122
|
+
|
|
1123
|
+
## 2.0.23
|
|
1124
|
+
|
|
1125
|
+
### Patch Changes
|
|
1126
|
+
|
|
1127
|
+
- a9a61b7: Add serviceTier to provider metadata for OpenAI responses
|
|
1128
|
+
|
|
1129
|
+
## 2.0.22
|
|
1130
|
+
|
|
1131
|
+
### Patch Changes
|
|
1132
|
+
|
|
1133
|
+
- 0e272ae: fix(provider/openai): make file_citation annotation fields optional for responses api compatibility
|
|
1134
|
+
- Updated dependencies [886e7cd]
|
|
1135
|
+
- @ai-sdk/provider-utils@3.0.7
|
|
1136
|
+
|
|
1137
|
+
## 2.0.21
|
|
1138
|
+
|
|
1139
|
+
### Patch Changes
|
|
1140
|
+
|
|
1141
|
+
- d18856a: fix(provider/openai): support websearch tool results without query property
|
|
1142
|
+
- 15271d6: fix(provider/openai): do not set `response_format` to `verbose_json` if model is `gpt-4o-transcribe` or `gpt-4o-mini-transcribe`
|
|
1143
|
+
|
|
1144
|
+
These two models do not support it:
|
|
1145
|
+
https://platform.openai.com/docs/api-reference/audio/createTranscription#audio_createtranscription-response_format
|
|
1146
|
+
|
|
1147
|
+
- Updated dependencies [1b5a3d3]
|
|
1148
|
+
- @ai-sdk/provider-utils@3.0.6
|
|
1149
|
+
|
|
1150
|
+
## 2.0.20
|
|
1151
|
+
|
|
1152
|
+
### Patch Changes
|
|
1153
|
+
|
|
1154
|
+
- 974de40: fix(provider/ai): do not set `.providerMetadata.openai.logprobs` to an array of empty arrays when using `streamText()`
|
|
1155
|
+
|
|
1156
|
+
## 2.0.19
|
|
1157
|
+
|
|
1158
|
+
### Patch Changes
|
|
1159
|
+
|
|
1160
|
+
- Updated dependencies [0857788]
|
|
1161
|
+
- @ai-sdk/provider-utils@3.0.5
|
|
1162
|
+
|
|
1163
|
+
## 2.0.18
|
|
1164
|
+
|
|
1165
|
+
### Patch Changes
|
|
1166
|
+
|
|
1167
|
+
- 5e47d00: Support Responses API input_file file_url passthrough for PDFs.
|
|
1168
|
+
|
|
1169
|
+
This adds:
|
|
1170
|
+
|
|
1171
|
+
- file_url variant to OpenAIResponses user content
|
|
1172
|
+
- PDF URL mapping to input_file with file_url in Responses converter
|
|
1173
|
+
- PDF URL support in supportedUrls to avoid auto-download
|
|
1174
|
+
|
|
1175
|
+
## 2.0.17
|
|
1176
|
+
|
|
1177
|
+
### Patch Changes
|
|
1178
|
+
|
|
1179
|
+
- 70bb696: fix(provider/openai): correct web search tool input
|
|
1180
|
+
|
|
1181
|
+
## 2.0.16
|
|
1182
|
+
|
|
1183
|
+
### Patch Changes
|
|
1184
|
+
|
|
1185
|
+
- Updated dependencies [68751f9]
|
|
1186
|
+
- @ai-sdk/provider-utils@3.0.4
|
|
1187
|
+
|
|
1188
|
+
## 2.0.15
|
|
1189
|
+
|
|
1190
|
+
### Patch Changes
|
|
1191
|
+
|
|
1192
|
+
- a4bef93: feat(provider/openai): expose web search queries in responses api
|
|
1193
|
+
- 6ed34cb: refactor(openai): consolidate model config into `getResponsesModelConfig()`
|
|
1194
|
+
|
|
1195
|
+
https://github.com/vercel/ai/pull/8038
|
|
1196
|
+
|
|
1197
|
+
## 2.0.14
|
|
1198
|
+
|
|
1199
|
+
### Patch Changes
|
|
1200
|
+
|
|
1201
|
+
- 7f47105: fix(provider/openai): support file_citation annotations in responses api
|
|
1202
|
+
|
|
1203
|
+
## 2.0.13
|
|
1204
|
+
|
|
1205
|
+
### Patch Changes
|
|
1206
|
+
|
|
1207
|
+
- ddc9d99: Implements `logprobs` for OpenAI `providerOptions` and `providerMetaData` in `OpenAIResponsesLanguageModel`
|
|
1208
|
+
|
|
1209
|
+
You can now set `providerOptions.openai.logprobs` when using `generateText()` and retrieve logprobs from the response via `result.providerMetadata?.openai`
|
|
1210
|
+
|
|
1211
|
+
## 2.0.12
|
|
1212
|
+
|
|
1213
|
+
### Patch Changes
|
|
1214
|
+
|
|
1215
|
+
- ec336a1: feat(provider/openai): add response_format to be supported by default
|
|
1216
|
+
- 2935ec7: fix(provider/openai): exclude gpt-5-chat from reasoning model
|
|
1217
|
+
- Updated dependencies
|
|
1218
|
+
- @ai-sdk/provider-utils@3.0.3
|
|
1219
|
+
|
|
1220
|
+
## 2.0.11
|
|
1221
|
+
|
|
1222
|
+
### Patch Changes
|
|
1223
|
+
|
|
1224
|
+
- 097b452: feat(openai, azure): add configurable file ID prefixes for Responses API
|
|
1225
|
+
|
|
1226
|
+
- Added `fileIdPrefixes` option to OpenAI Responses API configuration
|
|
1227
|
+
- Azure OpenAI now supports `assistant-` prefixed file IDs (replacing previous `file-` prefix support)
|
|
1228
|
+
- OpenAI maintains backward compatibility with default `file-` prefix
|
|
1229
|
+
- File ID detection is disabled when `fileIdPrefixes` is undefined, gracefully falling back to base64 processing
|
|
1230
|
+
|
|
1231
|
+
- 87cf954: feat(provider/openai): add support for prompt_cache_key
|
|
1232
|
+
- a3d98a9: feat(provider/openai): add support for safety_identifier
|
|
1233
|
+
- 110d167: fix(openai): add missing file_search_call handlers in responses streaming
|
|
1234
|
+
- 8d3c747: chore(openai): remove deprecated GPT-4.5-preview models and improve autocomplete control
|
|
1235
|
+
- Updated dependencies [38ac190]
|
|
1236
|
+
- @ai-sdk/provider-utils@3.0.2
|
|
1237
|
+
|
|
1238
|
+
## 2.0.10
|
|
1239
|
+
|
|
1240
|
+
### Patch Changes
|
|
1241
|
+
|
|
1242
|
+
- a274b01: refactor(provider/openai): restructure files
|
|
1243
|
+
- b48e0ff: feat(provider/openai): add code interpreter tool (responses api)
|
|
1244
|
+
|
|
1245
|
+
## 2.0.9
|
|
1246
|
+
|
|
1247
|
+
### Patch Changes
|
|
1248
|
+
|
|
1249
|
+
- 8f8a521: fix(providers): use convertToBase64 for Uint8Array image parts to produce valid data URLs; keep mediaType normalization and URL passthrough
|
|
1250
|
+
|
|
1251
|
+
## 2.0.8
|
|
1252
|
+
|
|
1253
|
+
### Patch Changes
|
|
1254
|
+
|
|
1255
|
+
- 57fb959: feat(openai): add verbosity parameter support for chat api
|
|
1256
|
+
- 2a3fbe6: allow `minimal` in `reasoningEffort` for openai chat
|
|
1257
|
+
|
|
1258
|
+
## 2.0.7
|
|
4
1259
|
|
|
5
1260
|
### Patch Changes
|
|
6
1261
|
|
|
@@ -167,108 +1422,7 @@
|
|
|
167
1422
|
- f10304b: feat(tool-calling): don't require the user to have to pass parameters
|
|
168
1423
|
- 4af5233: Fix PDF file parts when passed as a string url or Uint8Array
|
|
169
1424
|
- 7df7a25: feat (providers/openai): support gpt-image-1 image generation
|
|
170
|
-
- Updated dependencies
|
|
171
|
-
- Updated dependencies [742b7be]
|
|
172
|
-
- Updated dependencies [e7fcc86]
|
|
173
|
-
- Updated dependencies [7cddb72]
|
|
174
|
-
- Updated dependencies [ccce59b]
|
|
175
|
-
- Updated dependencies [e2b9e4b]
|
|
176
|
-
- Updated dependencies [95857aa]
|
|
177
|
-
- Updated dependencies [45c1ea2]
|
|
178
|
-
- Updated dependencies [6f6bb89]
|
|
179
|
-
- Updated dependencies [060370c]
|
|
180
|
-
- Updated dependencies [dc714f3]
|
|
181
|
-
- Updated dependencies [b5da06a]
|
|
182
|
-
- Updated dependencies [d1a1aa1]
|
|
183
|
-
- Updated dependencies [63f9e9b]
|
|
184
|
-
- Updated dependencies [5d142ab]
|
|
185
|
-
- Updated dependencies [d5f588f]
|
|
186
|
-
- Updated dependencies [e025824]
|
|
187
|
-
- Updated dependencies [0571b98]
|
|
188
|
-
- Updated dependencies [b6b43c7]
|
|
189
|
-
- Updated dependencies [4fef487]
|
|
190
|
-
- Updated dependencies [48d257a]
|
|
191
|
-
- Updated dependencies [0c0c0b3]
|
|
192
|
-
- Updated dependencies [0d2c085]
|
|
193
|
-
- Updated dependencies [40acf9b]
|
|
194
|
-
- Updated dependencies [9222aeb]
|
|
195
|
-
- Updated dependencies [e2aceaf]
|
|
196
|
-
- Updated dependencies [411e483]
|
|
197
|
-
- Updated dependencies [8ba77a7]
|
|
198
|
-
- Updated dependencies [7b3ae3f]
|
|
199
|
-
- Updated dependencies [a166433]
|
|
200
|
-
- Updated dependencies [26735b5]
|
|
201
|
-
- Updated dependencies [443d8ec]
|
|
202
|
-
- Updated dependencies [a8c8bd5]
|
|
203
|
-
- Updated dependencies [abf9a79]
|
|
204
|
-
- Updated dependencies [14c9410]
|
|
205
|
-
- Updated dependencies [e86be6f]
|
|
206
|
-
- Updated dependencies [9bf7291]
|
|
207
|
-
- Updated dependencies [2e13791]
|
|
208
|
-
- Updated dependencies [9f95b35]
|
|
209
|
-
- Updated dependencies [66962ed]
|
|
210
|
-
- Updated dependencies [0d06df6]
|
|
211
|
-
- Updated dependencies [472524a]
|
|
212
|
-
- Updated dependencies [dd3ff01]
|
|
213
|
-
- Updated dependencies [d9c98f4]
|
|
214
|
-
- Updated dependencies [05d2819]
|
|
215
|
-
- Updated dependencies [9301f86]
|
|
216
|
-
- Updated dependencies [0a87932]
|
|
217
|
-
- Updated dependencies [c4a2fec]
|
|
218
|
-
- Updated dependencies [957b739]
|
|
219
|
-
- Updated dependencies [79457bd]
|
|
220
|
-
- Updated dependencies [a3f768e]
|
|
221
|
-
- Updated dependencies [7435eb5]
|
|
222
|
-
- Updated dependencies [8aa9e20]
|
|
223
|
-
- Updated dependencies [4617fab]
|
|
224
|
-
- Updated dependencies [ac34802]
|
|
225
|
-
- Updated dependencies [0054544]
|
|
226
|
-
- Updated dependencies [cb68df0]
|
|
227
|
-
- Updated dependencies [ad80501]
|
|
228
|
-
- Updated dependencies [68ecf2f]
|
|
229
|
-
- Updated dependencies [9e9c809]
|
|
230
|
-
- Updated dependencies [32831c6]
|
|
231
|
-
- Updated dependencies [6dc848c]
|
|
232
|
-
- Updated dependencies [6b98118]
|
|
233
|
-
- Updated dependencies [d0f9495]
|
|
234
|
-
- Updated dependencies [63d791d]
|
|
235
|
-
- Updated dependencies [87b828f]
|
|
236
|
-
- Updated dependencies [3f2f00c]
|
|
237
|
-
- Updated dependencies [bfdca8d]
|
|
238
|
-
- Updated dependencies [0ff02bb]
|
|
239
|
-
- Updated dependencies [7979f7f]
|
|
240
|
-
- Updated dependencies [39a4fab]
|
|
241
|
-
- Updated dependencies [44f4aba]
|
|
242
|
-
- Updated dependencies [9bd5ab5]
|
|
243
|
-
- Updated dependencies [57edfcb]
|
|
244
|
-
- Updated dependencies [faf8446]
|
|
245
|
-
- Updated dependencies [7ea4132]
|
|
246
|
-
- Updated dependencies [d1a034f]
|
|
247
|
-
- Updated dependencies [5c56081]
|
|
248
|
-
- Updated dependencies [fd65bc6]
|
|
249
|
-
- Updated dependencies [023ba40]
|
|
250
|
-
- Updated dependencies [ea7a7c9]
|
|
251
|
-
- Updated dependencies [26535e0]
|
|
252
|
-
- Updated dependencies [e030615]
|
|
253
|
-
- Updated dependencies [5e57fae]
|
|
254
|
-
- Updated dependencies [393138b]
|
|
255
|
-
- Updated dependencies [c57e248]
|
|
256
|
-
- Updated dependencies [88a8ee5]
|
|
257
|
-
- Updated dependencies [41fa418]
|
|
258
|
-
- Updated dependencies [205077b]
|
|
259
|
-
- Updated dependencies [71f938d]
|
|
260
|
-
- Updated dependencies [3795467]
|
|
261
|
-
- Updated dependencies [28a5ed5]
|
|
262
|
-
- Updated dependencies [7182d14]
|
|
263
|
-
- Updated dependencies [c1e6647]
|
|
264
|
-
- Updated dependencies [1766ede]
|
|
265
|
-
- Updated dependencies [811dff3]
|
|
266
|
-
- Updated dependencies [f10304b]
|
|
267
|
-
- Updated dependencies [dd5fd43]
|
|
268
|
-
- Updated dependencies [33f4a6a]
|
|
269
|
-
- Updated dependencies [383cbfa]
|
|
270
|
-
- Updated dependencies [27deb4d]
|
|
271
|
-
- Updated dependencies [c4df419]
|
|
1425
|
+
- Updated dependencies
|
|
272
1426
|
- @ai-sdk/provider-utils@3.0.0
|
|
273
1427
|
- @ai-sdk/provider@2.0.0
|
|
274
1428
|
|
|
@@ -317,8 +1471,7 @@
|
|
|
317
1471
|
|
|
318
1472
|
### Patch Changes
|
|
319
1473
|
|
|
320
|
-
- Updated dependencies
|
|
321
|
-
- Updated dependencies [383cbfa]
|
|
1474
|
+
- Updated dependencies
|
|
322
1475
|
- @ai-sdk/provider-utils@3.0.0-beta.5
|
|
323
1476
|
|
|
324
1477
|
## 2.0.0-beta.10
|
|
@@ -383,9 +1536,7 @@
|
|
|
383
1536
|
### Patch Changes
|
|
384
1537
|
|
|
385
1538
|
- d1a034f: feature: using Zod 4 for internal stuff
|
|
386
|
-
- Updated dependencies
|
|
387
|
-
- Updated dependencies [39a4fab]
|
|
388
|
-
- Updated dependencies [d1a034f]
|
|
1539
|
+
- Updated dependencies
|
|
389
1540
|
- @ai-sdk/provider-utils@3.0.0-beta.2
|
|
390
1541
|
|
|
391
1542
|
## 2.0.0-beta.1
|
|
@@ -397,23 +1548,7 @@
|
|
|
397
1548
|
### Patch Changes
|
|
398
1549
|
|
|
399
1550
|
- 5d959e7: refactor: updated openai + anthropic tool use server side
|
|
400
|
-
- Updated dependencies
|
|
401
|
-
- Updated dependencies [7cddb72]
|
|
402
|
-
- Updated dependencies [ccce59b]
|
|
403
|
-
- Updated dependencies [e2b9e4b]
|
|
404
|
-
- Updated dependencies [45c1ea2]
|
|
405
|
-
- Updated dependencies [e025824]
|
|
406
|
-
- Updated dependencies [0d06df6]
|
|
407
|
-
- Updated dependencies [472524a]
|
|
408
|
-
- Updated dependencies [dd3ff01]
|
|
409
|
-
- Updated dependencies [7435eb5]
|
|
410
|
-
- Updated dependencies [cb68df0]
|
|
411
|
-
- Updated dependencies [bfdca8d]
|
|
412
|
-
- Updated dependencies [44f4aba]
|
|
413
|
-
- Updated dependencies [023ba40]
|
|
414
|
-
- Updated dependencies [5e57fae]
|
|
415
|
-
- Updated dependencies [71f938d]
|
|
416
|
-
- Updated dependencies [28a5ed5]
|
|
1551
|
+
- Updated dependencies
|
|
417
1552
|
- @ai-sdk/provider@2.0.0-beta.1
|
|
418
1553
|
- @ai-sdk/provider-utils@3.0.0-beta.1
|
|
419
1554
|
|
|
@@ -421,8 +1556,7 @@
|
|
|
421
1556
|
|
|
422
1557
|
### Patch Changes
|
|
423
1558
|
|
|
424
|
-
- Updated dependencies
|
|
425
|
-
- Updated dependencies [8ba77a7]
|
|
1559
|
+
- Updated dependencies
|
|
426
1560
|
- @ai-sdk/provider@2.0.0-alpha.15
|
|
427
1561
|
- @ai-sdk/provider-utils@3.0.0-alpha.15
|
|
428
1562
|
|
|
@@ -430,9 +1564,7 @@
|
|
|
430
1564
|
|
|
431
1565
|
### Patch Changes
|
|
432
1566
|
|
|
433
|
-
- Updated dependencies
|
|
434
|
-
- Updated dependencies [63f9e9b]
|
|
435
|
-
- Updated dependencies [2e13791]
|
|
1567
|
+
- Updated dependencies
|
|
436
1568
|
- @ai-sdk/provider@2.0.0-alpha.14
|
|
437
1569
|
- @ai-sdk/provider-utils@3.0.0-alpha.14
|
|
438
1570
|
|
|
@@ -484,8 +1616,7 @@
|
|
|
484
1616
|
### Patch Changes
|
|
485
1617
|
|
|
486
1618
|
- 4af5233: Fix PDF file parts when passed as a string url or Uint8Array
|
|
487
|
-
- Updated dependencies
|
|
488
|
-
- Updated dependencies [9222aeb]
|
|
1619
|
+
- Updated dependencies
|
|
489
1620
|
- @ai-sdk/provider-utils@3.0.0-alpha.8
|
|
490
1621
|
- @ai-sdk/provider@2.0.0-alpha.8
|
|
491
1622
|
|
|
@@ -607,10 +1738,7 @@
|
|
|
607
1738
|
|
|
608
1739
|
- 928fadf: fix(providers/openai): logprobs for stream alongside completion model
|
|
609
1740
|
- 6f231db: fix(providers): always use optional instead of mix of nullish for providerOptions
|
|
610
|
-
- Updated dependencies
|
|
611
|
-
- Updated dependencies [a8c8bd5]
|
|
612
|
-
- Updated dependencies [7979f7f]
|
|
613
|
-
- Updated dependencies [41fa418]
|
|
1741
|
+
- Updated dependencies
|
|
614
1742
|
- @ai-sdk/provider-utils@3.0.0-canary.15
|
|
615
1743
|
- @ai-sdk/provider@2.0.0-canary.14
|
|
616
1744
|
|
|
@@ -640,8 +1768,7 @@
|
|
|
640
1768
|
```
|
|
641
1769
|
|
|
642
1770
|
- 284353f: fix(providers/openai): zod parse error with function
|
|
643
|
-
- Updated dependencies
|
|
644
|
-
- Updated dependencies [9bd5ab5]
|
|
1771
|
+
- Updated dependencies
|
|
645
1772
|
- @ai-sdk/provider-utils@3.0.0-canary.14
|
|
646
1773
|
- @ai-sdk/provider@2.0.0-canary.13
|
|
647
1774
|
|
|
@@ -650,8 +1777,7 @@
|
|
|
650
1777
|
### Patch Changes
|
|
651
1778
|
|
|
652
1779
|
- fa758ea: feat(provider/openai): add o3 & o4-mini with developer systemMessageMode
|
|
653
|
-
- Updated dependencies
|
|
654
|
-
- Updated dependencies [0ff02bb]
|
|
1780
|
+
- Updated dependencies
|
|
655
1781
|
- @ai-sdk/provider@2.0.0-canary.12
|
|
656
1782
|
- @ai-sdk/provider-utils@3.0.0-canary.13
|
|
657
1783
|
|
|
@@ -663,9 +1789,7 @@
|
|
|
663
1789
|
- c15dfbf: feat (providers/openai): add gpt-image-1 model id to image settings
|
|
664
1790
|
- 9bf7291: chore(providers/openai): enable structuredOutputs by default & switch to provider option
|
|
665
1791
|
- 4617fab: chore(embedding-models): remove remaining settings
|
|
666
|
-
- Updated dependencies
|
|
667
|
-
- Updated dependencies [4617fab]
|
|
668
|
-
- Updated dependencies [e030615]
|
|
1792
|
+
- Updated dependencies
|
|
669
1793
|
- @ai-sdk/provider@2.0.0-canary.11
|
|
670
1794
|
- @ai-sdk/provider-utils@3.0.0-canary.12
|
|
671
1795
|
|
|
@@ -677,9 +1801,7 @@
|
|
|
677
1801
|
- 66962ed: fix(packages): export node10 compatible types
|
|
678
1802
|
- 9301f86: refactor (image-model): rename `ImageModelV1` to `ImageModelV2`
|
|
679
1803
|
- 7df7a25: feat (providers/openai): support gpt-image-1 image generation
|
|
680
|
-
- Updated dependencies
|
|
681
|
-
- Updated dependencies [9301f86]
|
|
682
|
-
- Updated dependencies [a3f768e]
|
|
1804
|
+
- Updated dependencies
|
|
683
1805
|
- @ai-sdk/provider-utils@3.0.0-canary.11
|
|
684
1806
|
- @ai-sdk/provider@2.0.0-canary.10
|
|
685
1807
|
|
|
@@ -697,8 +1819,7 @@
|
|
|
697
1819
|
### Patch Changes
|
|
698
1820
|
|
|
699
1821
|
- 3bd3c0b: chore(providers/openai): update embedding model to use providerOptions
|
|
700
|
-
- Updated dependencies
|
|
701
|
-
- Updated dependencies [7ea4132]
|
|
1822
|
+
- Updated dependencies
|
|
702
1823
|
- @ai-sdk/provider@2.0.0-canary.8
|
|
703
1824
|
- @ai-sdk/provider-utils@3.0.0-canary.9
|
|
704
1825
|
|
|
@@ -716,10 +1837,7 @@
|
|
|
716
1837
|
### Patch Changes
|
|
717
1838
|
|
|
718
1839
|
- 8aa9e20: feat: add speech with experimental_generateSpeech
|
|
719
|
-
- Updated dependencies
|
|
720
|
-
- Updated dependencies [b6b43c7]
|
|
721
|
-
- Updated dependencies [8aa9e20]
|
|
722
|
-
- Updated dependencies [3795467]
|
|
1840
|
+
- Updated dependencies
|
|
723
1841
|
- @ai-sdk/provider-utils@3.0.0-canary.8
|
|
724
1842
|
- @ai-sdk/provider@2.0.0-canary.7
|
|
725
1843
|
|
|
@@ -730,18 +1848,7 @@
|
|
|
730
1848
|
- 26735b5: chore(embedding-model): add v2 interface
|
|
731
1849
|
- 443d8ec: feat(embedding-model-v2): add response body field
|
|
732
1850
|
- fd65bc6: chore(embedding-model-v2): rename rawResponse to response
|
|
733
|
-
- Updated dependencies
|
|
734
|
-
- Updated dependencies [443d8ec]
|
|
735
|
-
- Updated dependencies [14c9410]
|
|
736
|
-
- Updated dependencies [d9c98f4]
|
|
737
|
-
- Updated dependencies [c4a2fec]
|
|
738
|
-
- Updated dependencies [0054544]
|
|
739
|
-
- Updated dependencies [9e9c809]
|
|
740
|
-
- Updated dependencies [32831c6]
|
|
741
|
-
- Updated dependencies [d0f9495]
|
|
742
|
-
- Updated dependencies [fd65bc6]
|
|
743
|
-
- Updated dependencies [393138b]
|
|
744
|
-
- Updated dependencies [7182d14]
|
|
1851
|
+
- Updated dependencies
|
|
745
1852
|
- @ai-sdk/provider@2.0.0-canary.6
|
|
746
1853
|
- @ai-sdk/provider-utils@3.0.0-canary.7
|
|
747
1854
|
|
|
@@ -755,11 +1862,7 @@
|
|
|
755
1862
|
- 5147e6e: chore(openai): remove simulateStreaming
|
|
756
1863
|
- c2b92cc: chore(openai): remove legacy function calling
|
|
757
1864
|
- f10304b: feat(tool-calling): don't require the user to have to pass parameters
|
|
758
|
-
- Updated dependencies
|
|
759
|
-
- Updated dependencies [79457bd]
|
|
760
|
-
- Updated dependencies [ad80501]
|
|
761
|
-
- Updated dependencies [1766ede]
|
|
762
|
-
- Updated dependencies [f10304b]
|
|
1865
|
+
- Updated dependencies
|
|
763
1866
|
- @ai-sdk/provider@2.0.0-canary.5
|
|
764
1867
|
- @ai-sdk/provider-utils@3.0.0-canary.6
|
|
765
1868
|
|
|
@@ -786,11 +1889,7 @@
|
|
|
786
1889
|
- a166433: feat: add transcription with experimental_transcribe
|
|
787
1890
|
- 0a87932: core (ai): change transcription model mimeType to mediaType
|
|
788
1891
|
- 0a87932: fix (provider/openai): increase transcription model resilience
|
|
789
|
-
- Updated dependencies
|
|
790
|
-
- Updated dependencies [abf9a79]
|
|
791
|
-
- Updated dependencies [9f95b35]
|
|
792
|
-
- Updated dependencies [0a87932]
|
|
793
|
-
- Updated dependencies [6dc848c]
|
|
1892
|
+
- Updated dependencies
|
|
794
1893
|
- @ai-sdk/provider-utils@3.0.0-canary.3
|
|
795
1894
|
- @ai-sdk/provider@2.0.0-canary.2
|
|
796
1895
|
|
|
@@ -798,8 +1897,7 @@
|
|
|
798
1897
|
|
|
799
1898
|
### Patch Changes
|
|
800
1899
|
|
|
801
|
-
- Updated dependencies
|
|
802
|
-
- Updated dependencies [33f4a6a]
|
|
1900
|
+
- Updated dependencies
|
|
803
1901
|
- @ai-sdk/provider@2.0.0-canary.1
|
|
804
1902
|
- @ai-sdk/provider-utils@3.0.0-canary.2
|
|
805
1903
|
|
|
@@ -807,9 +1905,7 @@
|
|
|
807
1905
|
|
|
808
1906
|
### Patch Changes
|
|
809
1907
|
|
|
810
|
-
- Updated dependencies
|
|
811
|
-
- Updated dependencies [0c0c0b3]
|
|
812
|
-
- Updated dependencies [63d791d]
|
|
1908
|
+
- Updated dependencies
|
|
813
1909
|
- @ai-sdk/provider-utils@3.0.0-canary.1
|
|
814
1910
|
|
|
815
1911
|
## 2.0.0-canary.0
|
|
@@ -1035,8 +2131,7 @@
|
|
|
1035
2131
|
### Patch Changes
|
|
1036
2132
|
|
|
1037
2133
|
- 3a58a2e: feat (ai/core): throw NoImageGeneratedError from generateImage when no predictions are returned.
|
|
1038
|
-
- Updated dependencies
|
|
1039
|
-
- Updated dependencies [3a58a2e]
|
|
2134
|
+
- Updated dependencies
|
|
1040
2135
|
- @ai-sdk/provider-utils@2.1.2
|
|
1041
2136
|
- @ai-sdk/provider@1.0.6
|
|
1042
2137
|
|
|
@@ -1045,8 +2140,7 @@
|
|
|
1045
2140
|
### Patch Changes
|
|
1046
2141
|
|
|
1047
2142
|
- e7a9ec9: feat (provider-utils): include raw value in json parse results
|
|
1048
|
-
- Updated dependencies
|
|
1049
|
-
- Updated dependencies [0a699f1]
|
|
2143
|
+
- Updated dependencies
|
|
1050
2144
|
- @ai-sdk/provider-utils@2.1.1
|
|
1051
2145
|
- @ai-sdk/provider@1.0.5
|
|
1052
2146
|
|
|
@@ -1091,9 +2185,7 @@
|
|
|
1091
2185
|
|
|
1092
2186
|
### Patch Changes
|
|
1093
2187
|
|
|
1094
|
-
- Updated dependencies
|
|
1095
|
-
- Updated dependencies [e6dfef4]
|
|
1096
|
-
- Updated dependencies [6636db6]
|
|
2188
|
+
- Updated dependencies
|
|
1097
2189
|
- @ai-sdk/provider-utils@2.0.7
|
|
1098
2190
|
|
|
1099
2191
|
## 1.0.15
|
|
@@ -1110,9 +2202,7 @@
|
|
|
1110
2202
|
|
|
1111
2203
|
- 19a2ce7: feat (ai/core): add aspectRatio and seed options to generateImage
|
|
1112
2204
|
- 6337688: feat: change image generation errors to warnings
|
|
1113
|
-
- Updated dependencies
|
|
1114
|
-
- Updated dependencies [19a2ce7]
|
|
1115
|
-
- Updated dependencies [6337688]
|
|
2205
|
+
- Updated dependencies
|
|
1116
2206
|
- @ai-sdk/provider@1.0.4
|
|
1117
2207
|
- @ai-sdk/provider-utils@2.0.6
|
|
1118
2208
|
|
|
@@ -1216,13 +2306,7 @@
|
|
|
1216
2306
|
|
|
1217
2307
|
### Patch Changes
|
|
1218
2308
|
|
|
1219
|
-
- Updated dependencies
|
|
1220
|
-
- Updated dependencies [dce4158]
|
|
1221
|
-
- Updated dependencies [c0ddc24]
|
|
1222
|
-
- Updated dependencies [b1da952]
|
|
1223
|
-
- Updated dependencies [dce4158]
|
|
1224
|
-
- Updated dependencies [8426f55]
|
|
1225
|
-
- Updated dependencies [db46ce5]
|
|
2309
|
+
- Updated dependencies
|
|
1226
2310
|
- @ai-sdk/provider-utils@2.0.0
|
|
1227
2311
|
- @ai-sdk/provider@1.0.0
|
|
1228
2312
|
|
|
@@ -1237,8 +2321,7 @@
|
|
|
1237
2321
|
|
|
1238
2322
|
### Patch Changes
|
|
1239
2323
|
|
|
1240
|
-
- Updated dependencies
|
|
1241
|
-
- Updated dependencies [dce4158]
|
|
2324
|
+
- Updated dependencies
|
|
1242
2325
|
- @ai-sdk/provider-utils@2.0.0-canary.2
|
|
1243
2326
|
|
|
1244
2327
|
## 1.0.0-canary.1
|
|
@@ -1261,9 +2344,7 @@
|
|
|
1261
2344
|
|
|
1262
2345
|
### Patch Changes
|
|
1263
2346
|
|
|
1264
|
-
- Updated dependencies
|
|
1265
|
-
- Updated dependencies [c0ddc24]
|
|
1266
|
-
- Updated dependencies [db46ce5]
|
|
2347
|
+
- Updated dependencies
|
|
1267
2348
|
- @ai-sdk/provider-utils@2.0.0-canary.0
|
|
1268
2349
|
- @ai-sdk/provider@1.0.0-canary.0
|
|
1269
2350
|
|
|
@@ -1284,11 +2365,7 @@
|
|
|
1284
2365
|
### Patch Changes
|
|
1285
2366
|
|
|
1286
2367
|
- 3b1b69a: feat: provider-defined tools
|
|
1287
|
-
- Updated dependencies
|
|
1288
|
-
- Updated dependencies [1486128]
|
|
1289
|
-
- Updated dependencies [7b937c5]
|
|
1290
|
-
- Updated dependencies [3b1b69a]
|
|
1291
|
-
- Updated dependencies [811a317]
|
|
2368
|
+
- Updated dependencies
|
|
1292
2369
|
- @ai-sdk/provider-utils@1.0.22
|
|
1293
2370
|
- @ai-sdk/provider@0.0.26
|
|
1294
2371
|
|
|
@@ -1381,8 +2458,7 @@
|
|
|
1381
2458
|
### Patch Changes
|
|
1382
2459
|
|
|
1383
2460
|
- 03313cd: feat (ai): expose response id, response model, response timestamp in telemetry and api
|
|
1384
|
-
- Updated dependencies
|
|
1385
|
-
- Updated dependencies [3be7c1c]
|
|
2461
|
+
- Updated dependencies
|
|
1386
2462
|
- @ai-sdk/provider-utils@1.0.18
|
|
1387
2463
|
- @ai-sdk/provider@0.0.23
|
|
1388
2464
|
|
|
@@ -1465,8 +2541,7 @@
|
|
|
1465
2541
|
|
|
1466
2542
|
### Patch Changes
|
|
1467
2543
|
|
|
1468
|
-
- Updated dependencies
|
|
1469
|
-
- Updated dependencies [845754b]
|
|
2544
|
+
- Updated dependencies
|
|
1470
2545
|
- @ai-sdk/provider-utils@1.0.10
|
|
1471
2546
|
- @ai-sdk/provider@0.0.18
|
|
1472
2547
|
|
|
@@ -1502,8 +2577,7 @@
|
|
|
1502
2577
|
### Patch Changes
|
|
1503
2578
|
|
|
1504
2579
|
- 7a2eb27: feat (provider/openai): make role nullish to enhance provider support
|
|
1505
|
-
- Updated dependencies
|
|
1506
|
-
- Updated dependencies [0762a22]
|
|
2580
|
+
- Updated dependencies
|
|
1507
2581
|
- @ai-sdk/provider-utils@1.0.6
|
|
1508
2582
|
|
|
1509
2583
|
## 0.0.40
|
|
@@ -1530,10 +2604,7 @@
|
|
|
1530
2604
|
- a5b58845: feat (core): support topK setting
|
|
1531
2605
|
- 4aa8deb3: feat (provider): support responseFormat setting in provider api
|
|
1532
2606
|
- 13b27ec6: chore (ai/core): remove grammar mode
|
|
1533
|
-
- Updated dependencies
|
|
1534
|
-
- Updated dependencies [a5b58845]
|
|
1535
|
-
- Updated dependencies [4aa8deb3]
|
|
1536
|
-
- Updated dependencies [13b27ec6]
|
|
2607
|
+
- Updated dependencies
|
|
1537
2608
|
- @ai-sdk/provider@0.0.13
|
|
1538
2609
|
- @ai-sdk/provider-utils@1.0.3
|
|
1539
2610
|
|
|
@@ -1564,9 +2635,7 @@
|
|
|
1564
2635
|
### Patch Changes
|
|
1565
2636
|
|
|
1566
2637
|
- 5edc6110: feat (ai/core): add custom request header support
|
|
1567
|
-
- Updated dependencies
|
|
1568
|
-
- Updated dependencies [5edc6110]
|
|
1569
|
-
- Updated dependencies [5edc6110]
|
|
2638
|
+
- Updated dependencies
|
|
1570
2639
|
- @ai-sdk/provider@0.0.11
|
|
1571
2640
|
- @ai-sdk/provider-utils@1.0.0
|
|
1572
2641
|
|
|
@@ -1594,8 +2663,7 @@
|
|
|
1594
2663
|
|
|
1595
2664
|
### Patch Changes
|
|
1596
2665
|
|
|
1597
|
-
- Updated dependencies
|
|
1598
|
-
- Updated dependencies [85712895]
|
|
2666
|
+
- Updated dependencies
|
|
1599
2667
|
- @ai-sdk/provider-utils@0.0.15
|
|
1600
2668
|
|
|
1601
2669
|
## 0.0.29
|
|
@@ -1656,9 +2724,7 @@
|
|
|
1656
2724
|
### Patch Changes
|
|
1657
2725
|
|
|
1658
2726
|
- fca7d026: feat (provider/openai): support streaming tool calls that are sent in one chunk
|
|
1659
|
-
- Updated dependencies
|
|
1660
|
-
- Updated dependencies [09295e2e]
|
|
1661
|
-
- Updated dependencies [043a5de2]
|
|
2727
|
+
- Updated dependencies
|
|
1662
2728
|
- @ai-sdk/provider@0.0.9
|
|
1663
2729
|
- @ai-sdk/provider-utils@0.0.12
|
|
1664
2730
|
|
|
@@ -1708,8 +2774,7 @@
|
|
|
1708
2774
|
|
|
1709
2775
|
### Patch Changes
|
|
1710
2776
|
|
|
1711
|
-
- Updated dependencies
|
|
1712
|
-
- Updated dependencies [6a50ac4]
|
|
2777
|
+
- Updated dependencies
|
|
1713
2778
|
- @ai-sdk/provider@0.0.6
|
|
1714
2779
|
- @ai-sdk/provider-utils@0.0.9
|
|
1715
2780
|
|
|
@@ -1772,8 +2837,7 @@
|
|
|
1772
2837
|
|
|
1773
2838
|
- d6431ae: ai/core: add logprobs support (thanks @SamStenner for the contribution)
|
|
1774
2839
|
- 25f3350: ai/core: add support for getting raw response headers.
|
|
1775
|
-
- Updated dependencies
|
|
1776
|
-
- Updated dependencies [25f3350]
|
|
2840
|
+
- Updated dependencies
|
|
1777
2841
|
- @ai-sdk/provider@0.0.2
|
|
1778
2842
|
- @ai-sdk/provider-utils@0.0.3
|
|
1779
2843
|
|