fix(deps): update dependency @ai-sdk/openai to v2 #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.3.22
->^2.0.0
Release Notes
vercel/ai (@ai-sdk/openai)
v2.0.52
Compare Source
Patch Changes
8de8de5
: fix(provider/openai): end reasoning parts earlierv2.0.51
Compare Source
Patch Changes
cad5c1d
: fix(provider/openai): fix web search tool input typesv2.0.50
Compare Source
Patch Changes
c336b43
: feat(provider/openai): send assistant text and tool call parts as reference ids when store: truev2.0.49
Compare Source
Patch Changes
f4287d0
: feat(provider/openai): automatically add reasoning.encrypted_content include when store = falsev2.0.48
Compare Source
Patch Changes
17f9872
]v2.0.47
Compare Source
Patch Changes
99e2a2a
: feat(provider/openai): support file and image tool resultsv2.0.46
Compare Source
Patch Changes
66f69e7
: Add 'default' as service tierv2.0.45
Compare Source
Patch Changes
76024fc
]93d8b60
]d8eb31f
]v2.0.44
Compare Source
Patch Changes
28215ca
: fix(provider/openai): add providerExecuted flag to tool start chunksv2.0.43
Patch Changes
fd46da1
: feat(provider/openai): add new model IDsgpt-image-1-mini
,gpt-5-pro
,gpt-5-pro-2025-10-06
v2.0.42
Patch Changes
de5c066
]v2.0.41
Compare Source
Patch Changes
110c735
: support OPENAI_BASE_URL envv2.0.40
Compare Source
Patch Changes
8c74f47
: feat(provider/openai): add gpt-5-codex model idadca087
: feat(provider/openai): local shell toolv2.0.39
Compare Source
Patch Changes
5428a0d
: The built in Code Interpreter tool input code is streamed intool-input-<start/delta/end>
chunks.v2.0.38
Compare Source
Patch Changes
0bda600
: enables code_interpreter and file_search capabilities in the Azure provider through the Responses APIv2.0.37
Compare Source
Patch Changes
6075c91
: feat(provider/openai): only send item references for reasoning when store: truev2.0.36
Compare Source
Patch Changes
bc5ed71
: chore: update zod peer depenedency versionbc5ed71
]v2.0.35
Compare Source
Patch Changes
1cfc209
: feat(provider/openai):OpenAIChatLanguageModelOptions
typev2.0.34
Compare Source
Patch Changes
322901b
: feat: add provider version to user-agent headerv2.0.33
Compare Source
Patch Changes
a617948
: fix the "incomplete_details" key from nullable to nullish for openai compatibilityv2.0.32
Compare Source
Patch Changes
v2.0.31
Compare Source
Patch Changes
bb94467
: feat(provider/openai): add maxToolCalls provider option4a2b70e
: feat(provider/openai): send item references for provider-executed tool results643711d
: feat (provider/openai): provider defined image generation tool supportv2.0.30
Compare Source
Patch Changes
7fcc6be
]v2.0.29
Compare Source
Patch Changes
e0e9449
]v2.0.28
Compare Source
Patch Changes
4c2bb77
: fix (provider/openai): send sources action as include561e8b0
: fix (provider/openai): fix code interpreter tool in doGeneratev2.0.27
Compare Source
Patch Changes
2338c79
: feat (provider/openai): add jsdoc for openai toolsv2.0.26
Compare Source
Patch Changes
5819aec
: fix (provider/openai): only send tool calls finish reason for tools that are not provider-executedaf8c6bb
: feat (provider/openai): add web_search toolv2.0.25
Compare Source
Patch Changes
fb45ade
: fix timestamp granularities support for openai transcriptionv2.0.24
Compare Source
Patch Changes
ad57512
: fix(provider/openai): safe practice to include filename and fileExtension to avoidexperimental_transcribe
fails with valid Buffer99964ed
]v2.0.23
Compare Source
Patch Changes
a9a61b7
: Add serviceTier to provider metadata for OpenAI responsesv2.0.22
Compare Source
Patch Changes
886e7cd
]0e272ae
]v2.0.21
Compare Source
Patch Changes
62b5f1a
: fix(provider/anthropic): support null title in web fetch toolv2.0.20
Compare Source
Patch Changes
974de40
: fix(provider/ai): do not set.providerMetadata.openai.logprobs
to an array of empty arrays when usingstreamText()
v2.0.19
Compare Source
Patch Changes
0857788
]v2.0.18
Compare Source
Patch Changes
5e47d00
: Support Responses API input_file file_url passthrough for PDFs.This adds:
v2.0.17
Compare Source
Patch Changes
70bb696
: fix(provider/openai): correct web search tool inputv2.0.16
Compare Source
Patch Changes
322901b
: feat: add provider version to user-agent headerv2.0.15
Compare Source
Patch Changes
ca4f68f
]v2.0.14
Compare Source
Patch Changes
0294b58
]v2.0.13
Compare Source
Patch Changes
ddc9d99
: Implementslogprobs
for OpenAIproviderOptions
andproviderMetaData
inOpenAIResponsesLanguageModel
You can now set
providerOptions.openai.logprobs
when usinggenerateText()
and retrieve logprobs from the response viaresult.providerMetadata?.openai
v2.0.12
Compare Source
Patch Changes
ec336a1
: feat(provider/openai): add response_format to be supported by default2935ec7
: fix(provider/openai): exclude gpt-5-chat from reasoning model034e229
]f25040d
]v2.0.11
Compare Source
Patch Changes
097b452
: feat(openai, azure): add configurable file ID prefixes for Responses APIfileIdPrefixes
option to OpenAI Responses API configurationassistant-
prefixed file IDs (replacing previousfile-
prefix support)file-
prefixfileIdPrefixes
is undefined, gracefully falling back to base64 processing87cf954
: feat(provider/openai): add support for prompt_cache_keya3d98a9
: feat(provider/openai): add support for safety_identifier110d167
: fix(openai): add missing file_search_call handlers in responses streaming8d3c747
: chore(openai): remove deprecated GPT-4.5-preview models and improve autocomplete controlUpdated dependencies [
38ac190
]v2.0.10
Compare Source
Patch Changes
63a5dc5
]v2.0.9
Compare Source
Patch Changes
8f8a521
: fix(providers): use convertToBase64 for Uint8Array image parts to produce valid data URLs; keep mediaType normalization and URL passthroughv2.0.8
Compare Source
Patch Changes
57fb959
: feat(openai): add verbosity parameter support for chat api2a3fbe6
: allowminimal
inreasoningEffort
for openai chatv2.0.7
Compare Source
Patch Changes
4738f18
: feat(openai): add flex processing support for gpt-5 models013d747
: feat(openai): add verbosity parameter support for responses api35feee8
: feat(openai): add priority processing support for gpt-5 modelsv2.0.6
Compare Source
Patch Changes
ad2255f
: chore(docs): added gpt 5 models + removed deprecated models64bcb66
: feat(provider/openai): models ids on chat1d42ff2
: feat(provider/openai): models idsv2.0.5
Compare Source
Patch Changes
v2.0.4
Compare Source
Patch Changes
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.v2.0.3
Compare Source
Patch Changes
90d212f
]v2.0.2
Compare Source
Patch Changes
63e2016
: fix(openai): missing url citations from web search toolsv2.0.1
Compare Source
Patch Changes
bc45e29
: feat(openai): add file_search_call support to responses apiv2.0.0
Compare Source
Major Changes
d5f588f
: AI SDK 5cc62234
: chore (provider/openai): switch default to openai responses api516be5b
: ### Move Image Model Settings into generate optionsImage Models no longer have settings. Instead,
maxImagesPerCall
can be passed directly togenerateImage()
. All other image settings can be passed toproviderOptions[provider]
.Before
After
Pull Request: #6180
efc3a62
: fix (provider/openai): default strict mode to falsePatch Changes
948b755
: chore(providers/openai): convert to providerOptionsd63bcbc
: feat (provider/openai): o4 updates for responses api3bd3c0b
: chore(providers/openai): update embedding model to use providerOptions5d959e7
: refactor: updated openai + anthropic tool use server side0eee6a8
: Fix streaming and reconstruction of reasoning summary parts177526b
: chore(providers/openai-transcription): switch to providerOptions2f542fa
: Add reasoning-part-finish parts for reasoning models in the responses APIc15dfbf
: feat (providers/openai): add gpt-image-1 model id to image settings3b1ea10
: adding support for gpt-4o-search-preview and handling unsupported parameterse2aceaf
: feat: add raw chunk supportd2af019
: feat (providers/openai): add gpt-4.1 modelseb173f1
: chore (providers): remove model shorthand deprecation warnings209256d
: Add missing file_search tool support to OpenAI Responses APIfaea29f
: fix (provider/openai): multi-step reasoning with text7032dc5
: feat(openai): add priority processing service tier support870c5c0
: feat (providers/openai): add o3 and o4-mini modelsdb72adc
: chore(providers/openai): update completion model to use providerOptionsa166433
: feat: add transcription with experimental_transcribe26735b5
: chore(embedding-model): add v2 interface443d8ec
: feat(embedding-model-v2): add response body field8d12da5
: feat(provider/openai): add serviceTier option for flex processing9bf7291
: chore(providers/openai): enable structuredOutputs by default & switch to provider optiond521cda
: feat(openai): add file_search filters and update field names66962ed
: fix(packages): export node10 compatible types442be08
: fix: propagate openai transcription fixes0059ee2
: fix(openai): update file_search fields to match API changes8493141
: feat (providers/openai): add support for reasoning summaries9301f86
: refactor (image-model): renameImageModelV1
toImageModelV2
0a87932
: core (ai): change transcription model mimeType to mediaType8aa9e20
: feat: add speech with experimental_generateSpeech4617fab
: chore(embedding-models): remove remaining settingsb5a0e32
: fix (provider/openai): correct default for chat model strict mode136819b
: chore(providers/openai): re-introduce logprobs as providerMetadata52ce942
: chore(providers/openai): remove & enable strict compatibility by defaultdb64cbe
: fix (provider/openai): multi-step reasoning with tool callsb3c3450
: feat (provider/openai): add support for encrypted_reasoning to responses api48249c4
: Do not warn if empty text is the first part of a reasoning sequencec7d3b2e
: fix (provider/openai): push first reasoning chunk in output item added eventad2a3d5
: feat(provider/openai): add missing reasoning models to responses API9943464
: feat(openai): add file_search_call.results support to include parameter0fa7414
: chore (provider/openai): standardize on itemId in provider metadata9bd5ab5
: feat (provider): add providerMetadata to ImageModelV2 interface (#5977)The
experimental_generateImage
method from theai
package now returnes revised prompts for OpenAI's image models.fa758ea
: feat(provider/openai): add o3 & o4-mini with developer systemMessageModed1a034f
: feature: using Zod 4 for internal stufffd65bc6
: chore(embedding-model-v2): rename rawResponse to responsee497698
: fix (provider/openai): handle responses api errors928fadf
: fix(providers/openai): logprobs for stream alongside completion model0a87932
: fix (provider/openai): increase transcription model resilience5147e6e
: chore(openai): remove simulateStreaming06bac05
: fix (openai): structure output for responses model205077b
: fix: improve Zod compatibilityc2b92cc
: chore(openai): remove legacy function calling284353f
: fix(providers/openai): zod parse error with function6f231db
: fix(providers): always use optional instead of mix of nullish for providerOptionsf10304b
: feat(tool-calling): don't require the user to have to pass parameters4af5233
: Fix PDF file parts when passed as a string url or Uint8Array7df7a25
: feat (providers/openai): support gpt-image-1 image generationUpdated dependencies [
a571d6e
]Updated dependencies [
742b7be
]Updated dependencies [
e7fcc86
]Updated dependencies [
7cddb72
]Updated dependencies [
ccce59b
]Updated dependencies [
e2b9e4b
]Updated dependencies [
95857aa
]Updated dependencies [
45c1ea2
]Updated dependencies [
6f6bb89
]Updated dependencies [
060370c
]Updated dependencies [
dc714f3
]Updated dependencies [
b5da06a
]Updated dependencies [
d1a1aa1
]Updated dependencies [
63f9e9b
]Updated dependencies [
5d142ab
]Updated dependencies [
d5f588f
]Updated dependencies [
e025824
]Updated dependencies [
0571b98
]Updated dependencies [
b6b43c7
]Updated dependencies [
4fef487
]Updated dependencies [
48d257a
]Updated dependencies [
0c0c0b3
]Updated dependencies [
0d2c085
]Updated dependencies [
40acf9b
]Updated dependencies [
9222aeb
]Updated dependencies [
e2aceaf
]Updated dependencies [
411e483
]Updated dependencies [
8ba77a7
]Updated dependencies [
7b3ae3f
]Updated dependencies [
a166433
]Updated dependencies [
26735b5
]Updated dependencies [
443d8ec
]Updated dependencies [
a8c8bd5
]Updated dependencies [
abf9a79
]Updated dependencies [
14c9410
]Updated dependencies [
e86be6f
]Updated dependencies [
9bf7291
]Updated dependencies [
2e13791
]Updated dependencies [
9f95b35
]Updated dependencies [
66962ed
]Updated dependencies [
0d06df6
]Updated dependencies [
472524a
]Updated dependencies [
dd3ff01
]Updated dependencies [
d9c98f4
]Updated dependencies [
05d2819
]Updated dependencies [
9301f86
]Updated dependencies [
0a87932
]Updated dependencies [
c4a2fec
]Updated dependencies [
957b739
]Updated dependencies [
79457bd
]Updated dependencies [
a3f768e
]Updated dependencies [
7435eb5
]Updated dependencies [
8aa9e20
]Updated dependencies [
4617fab
]Updated dependencies [
ac34802
]Updated dependencies [
0054544
]Updated dependencies [
cb68df0
]Updated dependencies [
ad80501
]Updated dependencies [
68ecf2f
]Updated dependencies [
9e9c809
]Updated dependencies [
32831c6
]Updated dependencies [
6dc848c
]Updated dependencies [
6b98118
]Updated dependencies [
d0f9495
]Updated dependencies [
63d791d
]Updated dependencies [
87b828f
]Updated dependencies [
3f2f00c
]Updated dependencies [
bfdca8d
]Updated dependencies [
0ff02bb
]Updated dependencies [
7979f7f
]Updated dependencies [
39a4fab
]Updated dependencies [
44f4aba
]Updated dependencies [
9bd5ab5
]Updated dependencies [
57edfcb
]Updated dependencies [
faf8446
]Updated dependencies [
7ea4132
]Updated dependencies [
d1a034f
]Updated dependencies [
5c56081
]Updated dependencies [
fd65bc6
]Updated dependencies [
023ba40
]Updated dependencies [
ea7a7c9
]Updated dependencies [
26535e0
]Updated dependencies [
e030615
]Updated dependencies [
5e57fae
]Updated dependencies [
393138b
]Updated dependencies [
c57e248
]Updated dependencies [
88a8ee5
]Updated dependencies [
41fa418
]Updated dependencies [
205077b
]Updated dependencies [
71f938d
]Updated dependencies [
3795467
]Updated dependencies [
28a5ed5
]Updated dependencies [
7182d14
]Updated dependencies [
c1e6647
]Updated dependencies [
1766ede
]Updated dependencies [
811dff3
]Updated dependencies [
f10304b
]Updated dependencies [
dd5fd43
]Updated dependencies [
33f4a6a
]Updated dependencies [
383cbfa
]Updated dependencies [
27deb4d
]Updated dependencies [
c4df419
]Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.