Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 22, 2025

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@ai-sdk/google (source) ^1.2.8^3.0.0 age confidence

Release Notes

vercel/ai (@​ai-sdk/google)

v3.0.2

Compare Source

Patch Changes

v3.0.1

Compare Source

Patch Changes

v3.0.0

Compare Source

Major Changes
Minor Changes
Patch Changes
  • 0c3b58b: fix(provider): add specificationVersion to ProviderV3

  • 4920119: fix the "incomplete_details" key from nullable to nullish for openai compatibility

  • 0adc679: feat(provider): shared spec v3

  • 92c6241: feat(openai): additional settings for file search tool

  • 88fc415: feat(openai): add the new provider 'apply_patch' tool

  • 817e601: fix(openai); fix url_citation schema in chat api

  • dae2185: fix(openai): extract meta data from first chunk that contains any

  • 046aa3b: feat(provider): speech model v3 spec

  • f1277fe: feat(provider/openai): send assistant text and tool call parts as reference ids when store: true

  • 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3

    Before

    model.textEmbeddingModel('my-model-id');

    After

    model.embeddingModel('my-model-id');
  • 60f4775: fix: remove code for unsuported o1-mini and o1-preview models

  • 9a51b92: support OPENAI_BASE_URL env

  • d64ece9: enables image_generation capabilities in the Azure provider through the Responses API.

  • 2625a04: feat(openai); update spec for mcp approval

  • 2e86082: feat(provider/openai): OpenAIChatLanguageModelOptions type

    import { openai, type OpenAIChatLanguageModelOptions } from '@​ai-sdk/openai';
    import { generateText } from 'ai';
    
    await generateText({
      model: openai.chat('gpt-4o'),
      prompt: 'Invent a new holiday and describe its traditions.',
      providerOptions: {
        openai: {
          user: 'user-123',
        } satisfies OpenAIChatLanguageModelOptions,
      },
    });
  • 0877683: feat(provider/openai): support conversations api

  • d0f1baf: feat(openai): Add support for 'promptCacheRetention: 24h' for gpt5.1 series

  • 831b6cc: feat(openai): adding provider mcp tool for openai

  • 95f65c2: chore: use import * from zod/v4

  • edc5548: feat(provider/openai): automatically add reasoning.encrypted_content include when store = false

  • 954c356: feat(openai): allow custom names for provider-defined tools

  • 544d4e8: chore(specification): rename v3 provider defined tool to provider tool

  • 77f2b20: enables code_interpreter and file_search capabilities in the Azure provider through the Responses API

  • 0c4822d: feat: EmbeddingModelV3

  • 73d9883: chore(openai): enable strict json by default

  • d2039d7: feat(provider/openai): add GPT 5.1 Codex Max to OpenAI Responses model IDs list

  • 88edc28: feat (provider/openai): include more image generation response metadata

  • e8109d3: feat: tool execution approval

  • ed329cb: feat: Provider-V3

  • 3bd2689: feat: extended token usage

  • 1cad0ab: feat: add provider version to user-agent header

  • e85fa2f: feat(openai): add sources in web-search actions

  • 423ba08: Set the annotations from the Responses API to doStream

  • 401f561: fix(provider/openai): fix web search tool input types

  • 4122d2a: feat(provider/openai): add gpt-5-codex model id

  • 0153bfa: fix(openai): fix parameter exclusion logic

  • 8dac895: feat: LanguageModelV3

  • 304222e: Add streaming support for apply_patch partial diffs.

  • 23f132b: fix: error schema for Responses API

  • 1d0de66: refactoring(provider/openai): simplify code

  • 000e87b: fix(provider/openai): add providerExecuted flag to tool start chunks

  • 2c0a758: chore(openai): add JSDoc to responses options

  • 1b982e6: feat(openai): preserve file_id when converting file citations

  • b82987c: feat(openai): support openai code-interpreter annotations

  • 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings

  • b681d7d: feat: expose usage tokens for 'generateImage' function

  • 79b4e46: feat(openai): add 'gpt-5.1' modelID

  • 3997a42: feat(provider/openai): local shell tool

  • 348fd10: fix(openai): treat unknown models as reasoning

  • 9061dc0: feat: image editing

  • fe49278: feat(provider/openai): only send item references for reasoning when store: true

  • cb4d238: The built in Code Interpreter tool input code is streamed in tool-input-<start/delta/end> chunks.

  • 357cfd7: feat(provider/openai): add new model IDs gpt-image-1-mini, gpt-5-pro, gpt-5-pro-2025-10-06

  • 38a4035: added support for external_web_access parameter on web_search tool

  • 40d5419: feat(openai): add o3-deep-research and o4-mini-deep-research models

  • 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases

  • 2b0caef: feat(provider/openai): preview image generation results

  • b60d2e2: fix(openai): allow open_page action type url to be nullish

  • fd47df5: fix(openai): revised_prompt sometimes returns null, causing errors

  • 4616b86: chore: update zod peer depenedency version

  • 7756857: fix(provider/openai): add truncation parameter support for Responses API

  • cad6445: feat(openai); adding OpenAI's new shell tool

  • 64aa48f: Azure OpenAI enabled web-search-preview

  • 0b9fdd5: fix(provider/openai): end reasoning parts earlier

  • 61c52dc: feat (provider/openai): add gpt-image-1.5 model support

  • ef739fa: fix(openai): refactor apply-patch tool

  • 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.

  • d270a5d: chore(openai): update tests for apply-patch tool to use snapshots

  • f18ef7f: feat(openai): add gpt-5.2 models

  • 21e20c0: feat(provider): transcription model v3 spec

  • 522f6b8: feat: ImageModelV3

  • 484aa93: Add 'default' as service tier

  • 88574c1: Change isReasoningModel detection from blocklist to allowlist and add override option

  • 68c6187: feat(provider/openai): support file and image tool results

  • 3794514: feat: flexible tool output content support

  • cbf52cd: feat: expose raw finish reason

  • 10c1322: fix: moved dependency @ai-sdk/test-server to devDependencies

  • 5648ec0: Add GPT-5.2 support for non-reasoning parameters (temperature, topP, logProbs) when reasoningEffort is none.

  • 78f813e: fix(openai): allow temperature etc setting when reasoning effort is none for gpt-5.1

  • 40dc7fa: fix(openai): change find action type to find_in_page action type

  • 0273b74: fix(openai): add support for sources type 'api'

  • 5bf101a: feat(provider/openai): add support for OpenAI xhigh reasoning effort

  • 1bd7d32: feat: tool-specific strict mode

  • d86b52f: distinguish between OpenAI and Azure in Responses API providerMetadata

  • 95f65c2: chore: load zod schemas lazily

  • 59561f8: fix(openai); fix url_citation schema in chat api

  • Updated 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.52

Compare Source

Patch Changes
  • 518e786: fix(anthropic): send {} as tool input when streaming tool calls without arguments

v2.0.51

Compare Source

Patch Changes
  • cad5c1d: fix(provider/openai): fix web search tool input types

v2.0.50

Compare Source

Patch Changes
  • c336b43: feat(provider/openai): send assistant text and tool call parts as reference ids when store: true

v2.0.49

Compare Source

Patch Changes
  • f4287d0: feat(provider/openai): automatically add reasoning.encrypted_content include when store = false

v2.0.48

Compare Source

Patch Changes

v2.0.47

Compare Source

Patch Changes
  • 99e2a2a: feat(provider/openai): support file and image tool results

v2.0.46

Compare Source

Patch Changes

v2.0.45

Patch Changes
  • 54b7c08: fix(provider/anthropic): clamp temperature to valid 0-1 range with warnings

v2.0.44

Patch Changes
  • ai@​5.0.44

v2.0.43

Compare Source

Patch Changes
  • 7b2c30f: Fixed Zod validation error when using google.tools.fileSearch(). The Google File Search API returns fileSearchStore instead of uri in retrievedContext. Updated extractSources() function to handle both the old format (Google Search with uri) and new format (File Search with fileSearchStore), maintaining backward compatibility while preventing validation errors. Also fixed title handling to use undefined for URL sources and 'Unknown Document' for document sources.

v2.0.42

Compare Source

Patch Changes
  • 3c6f4e1: fix(provider/xai): correct sources format in searchParameters

v2.0.41

Compare Source

Patch Changes
  • 3438163: add gemini-3-pro-preview and gemini-3-pro-image-preview model IDs

v2.0.40

Compare Source

Patch Changes
  • 8c74f47: feat(provider/openai): add gpt-5-codex model id
  • adca087: feat(provider/openai): local shell tool

v2.0.39

Compare Source

Patch Changes
  • 5428a0d: The built in Code Interpreter tool input code is streamed in tool-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 API

v2.0.37

Compare Source

Patch Changes
  • 6075c91: feat(provider/openai): only send item references for reasoning when store: true

v2.0.36

Compare Source

Patch Changes

v2.0.35

Compare Source

Patch Changes
  • 1cfc209: feat(provider/openai): OpenAIChatLanguageModelOptions type

    import { openai, type OpenAIChatLanguageModelOptions } from '@&#8203;ai-sdk/openai';
    import { generateText } from 'ai';
    
    await generateText({
      model: openai.chat('gpt-4o'),
      prompt: 'Invent a new holiday and describe its traditions.',
      providerOptions: {
        openai: {
          user: 'user-123',
        } satisfies OpenAIChatLanguageModelOptions,
      },
    });

v2.0.34

Compare Source

Patch Changes
  • 65f2628: feat(provider/anthropic): expose container from response in provider metadata

v2.0.33

Compare Source

Patch Changes
  • 30a7d54: Improve error message when mixing function tools with provider-defined tools to clarify fallback behavior and list ignored function tools

v2.0.32

Compare Source

Patch Changes
  • 1cf857d: fix(provider/openai): remove provider-executed tools from chat completions model
  • 01de47f: feat(provider/openai): rework file search tool

v2.0.31

Compare Source

Patch Changes
  • bb94467: feat(provider/openai): add maxToolCalls provider option
  • 4a2b70e: feat(provider/openai): send item references for provider-executed tool results
  • 643711d: feat (provider/openai): provider defined image generation tool support

v2.0.30

Compare Source

Patch Changes

v2.0.29

Compare Source

Patch Changes
  • 4235eb3: feat(provider/openai): code interpreter tool calls and results

v2.0.28

Compare Source

Patch Changes
  • 4c2bb77: fix (provider/openai): send sources action as include
  • 561e8b0: fix (provider/openai): fix code interpreter tool in doGenerate

v2.0.27

Compare Source

Patch Changes

v2.0.26

Compare Source

Patch Changes
  • 5819aec: fix (provider/openai): only send tool calls finish reason for tools that are not provider-executed
  • af8c6bb: feat (provider/openai): add web_search tool

v2.0.25

Compare Source

Patch Changes
  • fb45ade: fix timestamp granularities support for openai transcription

v2.0.24

Compare Source

Patch Changes

v2.0.23

Compare Source

Patch Changes
  • d78faa7: feat(provider/anthropic): expose stop_sequence in provider metadata

v2.0.22

Compare Source

Patch Changes
  • f969579: chore: add model ID for Sonnet 4.5

v2.0.21

Compare Source

Patch Changes

v2.0.20

Compare Source

Patch Changes
  • Updated dependencies [8a87693]
    • ai@​5.0.20

v2.0.19

Compare Source

Patch Changes

v2.0.18

Compare Source

Patch Changes

v2.0.17

Compare Source

Patch Changes
  • Updated dependencies [4176ecb]
  • Updated dependencies [20f23f9]
    • ai@​5.0.17

v2.0.16

Compare Source

Patch Changes

v2.0.15

Compare Source

Patch Changes

v2.0.14

Compare Source

Patch Changes
  • Updated dependencies [7729e32]
    • ai@​5.0.14

v2.0.13

Compare Source

Patch Changes
  • Updated dependencies [a7b2e66]
  • Updated dependencies [9bed210]
    • ai@​5.0.13

v2.0.12

Compare Source

Patch Changes

v2.0.11

Compare Source

Patch Changes

v2.0.10

Compare Source

Patch Changes
  • Updated dependencies [63a5dc5]
    • ai@​5.0.10

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 passthrough

v2.0.8

Compare Source

Patch Changes

v2.0.7

Compare Source

Patch Changes
  • 4738f18: feat(openai): add flex processing support for gpt-5 models
  • 013d747: feat(openai): add verbosity parameter support for responses api
  • 35feee8: feat(openai): add priority processing support for gpt-5 models

v2.0.6

Compare Source

Patch Changes
  • ad2255f: chore(docs): added gpt 5 models + removed deprecated models
  • 64bcb66: feat(provider/openai): models ids on chat
  • 1d42ff2: feat(provider/openai): models ids

v2.0.5

Compare Source

Patch Changes

v2.0.4

Compare Source

Patch Changes

v2.0.3

Compare Source

Patch Changes

v2.0.2

Compare Source

Patch Changes

v2.0.1

Compare Source

Patch Changes
  • 4953414: fix: trigger new release for @ai-v5 dist-tag

v2.0.0

Compare Source

Major Changes
  • d5f588f: AI SDK 5

  • cc62234: chore (provider/openai): switch default to openai responses api

  • 516be5b: ### Move Image Model Settings into generate options

    Image Models no longer have settings. Instead, maxImagesPerCall can be passed directly to generateImage(). All other image settings can be passed to providerOptions[provider].

    Before

    await generateImage({
      model: luma.image('photon-flash-1', {
        maxImagesPerCall: 5,
        pollIntervalMillis: 500,
      }),
      prompt,
      n: 10,
    });

    After

    await generateImage({
      model: luma.image('photon-flash-1'),
      prompt,
      n: 10,
      maxImagesPerCall: 5,
      providerOptions: {
        luma: { pollIntervalMillis: 5 },
      },
    });

    Pull Request: #​6180

  • efc3a62: fix (provider/openai): default strict mode to false

Patch Changes
  • 948b755: chore(providers/openai): convert to providerOptions

  • d63bcbc: feat (provider/openai): o4 updates for responses api

  • 3bd3c0b: chore(providers/openai): update embedding model to use providerOptions

  • 5d959e7: refactor: updated openai + anthropic tool use server side

  • 0eee6a8: Fix streaming and reconstruction of reasoning summary parts

  • 177526b: chore(providers/openai-transcription): switch to providerOptions

  • 2f542fa: Add reasoning-part-finish parts for reasoning models in the responses API

  • c15dfbf: feat (providers/openai): add gpt-image-1 model id to image settings

  • 3b1ea10: adding support for gpt-4o-search-preview and handling unsupported parameters

  • e2aceaf: feat: add raw chunk support

  • d2af019: feat (providers/openai): add gpt-4.1 models

  • eb173f1: chore (providers): remove model shorthand deprecation warnings

  • 209256d: Add missing file_search tool support to OpenAI Responses API

  • faea29f: fix (provider/openai): multi-step reasoning with text

  • 7032dc5: feat(openai): add priority processing service tier support

  • 870c5c0: feat (providers/openai): add o3 and o4-mini models

  • db72adc: chore(providers/openai): update completion model to use providerOptions

  • a166433: feat: add transcription with experimental_transcribe

  • 26735b5: chore(embedding-model): add v2 interface

  • 443d8ec: feat(embedding-model-v2): add response body field

  • 8d12da5: feat(provider/openai): add serviceTier option for flex processing

  • 9bf7291: chore(providers/openai): enable structuredOutputs by default & switch to provider option

  • d521cda: feat(openai): add file_search filters and update field names

  • 66962ed: fix(packages): export node10 compatible types

  • 442be08: fix: propagate openai transcription fixes

  • 0059ee2: fix(openai): update file_search fields to match API changes

  • 8493141: feat (providers/openai): add support for reasoning summaries

  • 9301f86: refactor (image-model): rename ImageModelV1 to ImageModelV2

  • 0a87932: core (ai): change transcription model mimeType to mediaType

  • 8aa9e20: feat: add speech with experimental_generateSpeech

  • 4617fab: chore(embedding-models): remove remaining settings

  • b5a0e32: fix (provider/openai): correct default for chat model strict mode

  • 136819b: chore(providers/openai): re-introduce logprobs as providerMetadata

  • 52ce942: chore(providers/openai): remove & enable strict compatibility by default

  • db64cbe: fix (provider/openai): multi-step reasoning with tool calls

  • b3c3450: feat (provider/openai): add support for encrypted_reasoning to responses api

  • 48249c4: Do not warn if empty text is the first part of a reasoning sequence

  • c7d3b2e: fix (provider/openai): push first reasoning chunk in output item added event

  • ad2a3d5: feat(provider/openai): add missing reasoning models to responses API

  • 9943464: feat(openai): add file_search_call.results support to include parameter

  • 0fa7414: chore (provider/openai): standardize on itemId in provider metadata

  • 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2 interface (#​5977)

    The experimental_generateImage method from the ai package now returnes revised prompts for OpenAI's image models.

    const prompt = 'Santa Claus driving a Cadillac';
    
    const { providerMetadata } = await experimental_generateImage({
      model: openai.image('dall-e-3'),
      prompt,
    });
    
    const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;
    
    console.log({
      prompt,
      revisedPrompt,
    });
  • fa758ea: feat(provider/openai): add o3 & o4-mini with developer systemMessageMode

  • d1a034f: feature: using Zod 4 for internal stuff

  • fd65bc6: chore(embedding-model-v2): rename rawResponse to response

  • e497698: fix (provider/openai): handle responses api errors

  • 928fadf: fix(providers/openai): logprobs for stream alongside completion model

  • 0a87932: fix (provider/openai): increase transcription model resilience

  • 5147e6e: chore(openai): remove simulateStreaming

  • 06bac05: fix (openai): structure output for responses model

  • 205077b: fix: improve Zod compatibility

  • c2b92cc: chore(openai): remove legacy function calling

  • 284353f: fix(providers/openai): zod parse error with function

  • 6f231db: fix(providers): always use optional instead of mix of nullish for providerOptions

  • f10304b: feat(tool-calling): don't require the user to have to pass parameters

  • 4af5233: Fix PDF file parts when passed as a string url or Uint8Array

  • 7df7a25: feat (providers/openai): support gpt-image-1 image generation

  • Updated 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]


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link
Contributor

vercel bot commented Dec 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
book-cook Error Error Dec 30, 2025 9:34pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants