build: update dependency @ai-sdk/openai to v3 #212
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:
^2.0.71->^3.0.0Release Notes
vercel/ai (@ai-sdk/openai)
v3.0.0Compare Source
Major Changes
dee8b05: ai SDK 6 betaMinor Changes
78928cb: release: start 5.1 betaPatch Changes
0c3b58b: fix(provider): add specificationVersion to ProviderV30adc679: feat(provider): shared spec v350b70d6: feat(anthropic): add programmatic tool callingb8ea36e: feat(provider/anthropic): Anthropic-native structured outputsed537e1: Add support for pdf file in tool result in anthropic2109385: 'fix(anthropic): Opus 4.5maxOutputTokensbump32000->64000'7c4328e: Adds url-based pdf and image support for anthropic tool results8d9e8ad: chore(provider): remove generics from EmbeddingModelV3Before
After
f33a018: chore: add model ID for Haiku 4.5b2dbfbf: add context_management for anthropicdce03c4: feat: tool input examples2625a04: feat(openai); update spec for mcp approval11e4abe: feat(provider/anthropic): web search tool updatesf13958c: chore(antropic): allow custom names for provider-defined toolsafb00e3: feat(provider/anthropic): add text_editor_20250728 tool supportAdd text_editor_20250728 tool for Claude 4 models (Sonnet 4, Opus 4, Opus 4.1) with optional max_characters parameter and no undo_edit command support.
95f65c2: chore: use import * from zod/v4954c356: feat(openai): allow custom names for provider-defined tools9e35785: fix(anthropic): send {} as tool input when streaming tool calls without arguments544d4e8: chore(specification): rename v3 provider defined tool to provider toola5f77a6: fix(anthropic): remove outdated tool name docsca07285: feat(anthropic): add prompt caching validationa5a8db4: chore: add model ID for Sonnet 4.51742445: Support for custom provider name in google and anthropic providerse8109d3: feat: tool execution approval87db851: fix(vertex/anthropic): passing beta header only for structured outputsf6603b7: fix(provider/anthropic): correct raw usage informationed329cb: feat:Provider-V33bd2689: feat: extended token usage1cad0ab: feat: add provider version to user-agent header2049c5b: Fix handling of error in web fetch tool in anthropic4c5a6be: feat(provider/anthropic): default and limit maxTokens based on model9e1e758: fix(anthropic): use default thinking budget when unspecified589a4ee: fix(anthropic): simplify pulling first chunk8dac895: feat:LanguageModelV36f845b4: Add support for 2025-08-25 code execution tool9354297: feat(provider/anthropic): add support for Agent Skills03849b0: throw 500 error when the first stream chunk is an error0ae783e: feat(anthropic): add the new tool search tools457318b: chore(provider,ai): switch to SharedV3Warning and unified warningseb56fc6: fix(anthropic): pull first chunk without async IIFEfa35e95: feat(provider/anthropic): add web fetch tool80894b3: add returnfile_idproperty for anthropic code-execution-20250825 to download output files.366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases81d4308: feat(provider/anthropic): mcp connector support6fc35cb: Retain user-supplied betas.f4db7b5: feat(provider/anthropic): expose container from response in provider metadata6c38080: fix(anthropic): support pdf responses in web_fetch_tool_result schema validation4616b86: chore: update zod peer depenedency versiondedf206: feat(provider/anthropic): expose stop_sequence in provider metadata983e394: chore(provider/anthropic): add missing provider options jsdoc0e38a79: support ANTHROPIC_BASE_URLcf4e2a9: Add support for tool calling with structured outputf4e4a95: feat(provider/anthropic): enable fine grained tool streaming by default21f378c: fix(provider/anthropic): do not limit maxTokens when model id is unknownc5440c5: chore(provider/anthropic): update anthropic model ids1d15673: fix(provider/anthropic): clamp temperature to valid 0-1 range with warnings9cff587: chore(provider/anthropic): lazy schema loadingd129d89: chore(anthropic): remove unnecessary doc3794514: feat: flexible tool output content supporte1e2821: fix(provider/anthropic): support null title in web fetch toolcbf52cd: feat: expose raw finish reason10c1322: fix: moved dependency@ai-sdk/test-serverto devDependenciesd08308b: feat(provider/anthropic): memory tool05d5b9a: fix(anthropic): make title field nullable in web_fetch and web_search tool output schemas1bd7d32: feat: tool-specific strict mode83aaad8: Opus 4.5 andeffortprovider optionUpdated dependencies [
0c3b58b]Updated dependencies [
0adc679]Updated dependencies [
50b70d6]Updated dependencies [
d1bdadb]Updated dependencies [
dee8b05]Updated dependencies [
046aa3b]Updated dependencies [
8d9e8ad]Updated dependencies [
78928cb]Updated dependencies [
dce03c4]Updated dependencies [
2625a04]Updated dependencies [
37c58a0]Updated dependencies [
3b1d015]Updated dependencies [
2b0caef]Updated dependencies [
95f65c2]Updated dependencies [
016b111]Updated dependencies [
58920e0]Updated dependencies [
954c356]Updated dependencies [
544d4e8]Updated dependencies [
0c4822d]Updated dependencies [
521c537]Updated dependencies [
4c44a5b]Updated dependencies [
e8109d3]Updated dependencies [
03849b0]Updated dependencies [
ed329cb]Updated dependencies [
e06565c]Updated dependencies [
32d8dbb]Updated dependencies [
53f3368]Updated dependencies [
d116b4b]Updated dependencies [
3bd2689]Updated dependencies [
293a6b7]Updated dependencies [
703459a]Updated dependencies [
bb36798]Updated dependencies [
83e5744]Updated dependencies [
7e32fea]Updated dependencies [
3ed5519]Updated dependencies [
8dac895]Updated dependencies [
a755db5]Updated dependencies [
cbb1d35]Updated dependencies [
475189e]Updated dependencies [
457318b]Updated dependencies [
b681d7d]Updated dependencies [
db913bd]Updated dependencies [
9061dc0]Updated dependencies [
32223c8]Updated dependencies [
c1efac4]Updated dependencies [
366f50b]Updated dependencies [
4616b86]Updated dependencies [
81d4308]Updated dependencies [
9549c9e]Updated dependencies [
af3780b]Updated dependencies [
4f16c37]Updated dependencies [
81e29ab]Updated dependencies [
522f6b8]Updated dependencies [
6306603]Updated dependencies [
fca786b]Updated dependencies [
763d04a]Updated dependencies [
10d819b]Updated dependencies [
3794514]Updated dependencies [
cbf52cd]Updated dependencies [
e9e157f]Updated dependencies [
960ec8f]Updated dependencies [
1bd7d32]Updated dependencies [
f0b2157]Updated dependencies [
95f65c2]v2.0.88Compare Source
Patch Changes
2352cdf: feat (provider/openai): add gpt-image-1.5 model supportv2.0.87Compare Source
Patch Changes
72d76cc: Add GPT-5.2 support for non-reasoning parameters (temperature, topP, logProbs) when reasoningEffort is none.v2.0.86Compare Source
Patch Changes
a909bcf: fix(openai); fix url_citation schema in chat apiv2.0.85Compare Source
Patch Changes
e79430b: fix(openai): change find action type to find_in_page action typev2.0.84Compare Source
Patch Changes
041a4fc: feat(openai): add gpt-5.2 modelsv2.0.83Compare Source
Patch Changes
edc807f: feat(provider/openai): add GPT 5.1 Codex Max to OpenAI Responses model IDs listv2.0.82Compare Source
Patch Changes
e31dfa4: feat(provider/openai): add support for OpenAI xhigh reasoning effortv2.0.81Compare Source
Patch Changes
ef6d784]v2.0.80Compare Source
Patch Changes
707a163: feat(openai): additional settings for file search toolv2.0.79Compare Source
Patch Changes
5b6aa88: fix(openai): fix parameter exclusion logicv2.0.78Compare Source
Patch Changes
e245b61: fix(openai): allow temperature etc setting when reasoning effort is none for gpt-5.1v2.0.77Compare Source
Patch Changes
31f6c20: fix(openai): allow open_page action type url to be nullishv2.0.76Compare Source
Patch Changes
61545c4: feat (provider/openai): include more image generation response metadatav2.0.75Compare Source
Patch Changes
1c7ff4a: distinguish between OpenAI and Azure in Responses API providerMetadatav2.0.74Compare Source
Patch Changes
d1dbe5d]v2.0.73Compare Source
Patch Changes
2e2fd83: refactoring(provider/openai): simplify codev2.0.72Compare Source
Patch Changes
53d2fcc: added support for external_web_access parameter on web_search tool