Patch Changes
-
27528db: Expose
customToolthroughazure.toolsfor Azure Responses models, sharing the OpenAI custom tool factory and its raw string input support. -
7bb309d: add memoryLimit and networkPolicy properties in codeInterpreter tool
-
7a90522: Add Secure MCP tunnel support to the OpenAI MCP tool via
tunnelId. Tunnel targets cannot be combined withserverUrlorconnectorId; existing URL and connector configurations remain compatible. -
6549344: feat(openai): support GPT Image 2.6 models with
complexity, markup-guided edits (markup), animated GIF output (outputFormat: 'gif',frameCount,frameDurationMs), andsafetyIdentifierfor image models -
5f9bb8e: feat (provider/openai): forward the
moderationoption to/images/edits -
934100c: Report the actual OpenAI Chat HTTP endpoint (also used by Azure Chat and Bedrock Mantle Chat) through optional request metadata and model-call end events. Record its host and port on OpenTelemetry chat spans without exposing URL credentials, paths, queries, or fragments. Expose only the sanitized HTTP origin in text and object generation results and step/finish callbacks. Providers that do not report an endpoint leave these attributes unset.
-
892af4d: feat (provider/openai): implement server-side realtime extensions
OpenAIRealtimeModelnow implementsgetServerWebSocketConfig(), returning the upstream realtime WebSocket URL forconversationandtranscriptionintents plus header auth derived from the model's configured credentials. Dedicated transcription sessions serialize withsession.type: "transcription"and the selected realtime model id. Translation is rejected until the normalized realtime codec supports its distinct wire protocol. The event mapper now populates normalizedusageonresponse-doneandinput-transcription-completed(gross input/output token counts with cached portions reported separately; duration usage for duration-billed transcription).Transcription serialization honors the explicit transcription model and rejects unsupported output settings. Gross token totals and reported modality/cache counts are retained; duration uses
seconds. OpenAI Live retains its existing connection API and rejects unsupported intents. -
243bf22: Forward per-message
providerOptions.openai.nameon Chat Completions system, developer, user, and assistant messages. Validate names as strings and warn when configured on unsupported tool messages. -
5cc6d28: Expose
azure.tools.shellfor local and hosted shell execution through the Azure Responses API. -
41465fd: Expose optional transcription word timings separately from segments and accept shared timestampGranularities. Explicit provider timing settings take precedence. OpenAI now sends timestamp_granularities only with verbose_json and warns when a requested timing is unavailable or excluded.
-
Updated dependencies [36802d4]
-
Updated dependencies [e0143b0]
-
Updated dependencies [934100c]
-
Updated dependencies [892af4d]
-
Updated dependencies [89aff56]
-
Updated dependencies [41465fd]
-
Updated dependencies [9754014]
-
Updated dependencies [4bb73b0]
-
Updated dependencies [2e44144]
- @ai-sdk/provider@4.0.36
- @ai-sdk/provider-utils@5.0.75