Repository navigation
chore(deps): update dependency ai to v7.0.163 - #4098
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/ai-7.x-lockfile
branch
from
November 3, 2026 05:03
1a806c6 to
1e144d4
Compare
renovate
Bot
force-pushed
the
renovate/ai-7.x-lockfile
branch
from
November 5, 2026 01:49
1e144d4 to
b2918a6
Compare
renovate
Bot
force-pushed
the
renovate/ai-7.x-lockfile
branch
from
November 5, 2026 20:25
b2918a6 to
7fbadc8
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
7.0.159→7.0.163Release Notes
vercel/ai (ai)
v7.0.163Compare Source
Patch Changes
5d18351: fix(ai): detect downloaded audio types from bytes when servers return a generic or non-audio content type such as application/octet-stream8da48db: RespectrecordInputsandrecordOutputswhen delivering telemetry events to integrations and theai:telemetrychannel. Filter nested content and omit raw span results when content recording is disabled, while preserving application results.fd7e8a7: Preserve the order of text and complete function calls in streamed Google responses, including standalone thought signatures on empty text or reasoning parts.Keep provider metadata on empty text parts when converting results to response messages so it can be passed back in subsequent requests.
Omit foreign-provider empty signature text when replaying history through Anthropic or Bedrock, preserving Bedrock’s existing native reasoning-history handling.
36802d4: Support native URL transcription with an optional provider capability, keeping existing file-generation contracts unchanged. Groq sends HTTP(S) audio URLs through itsurlparameter without downloading and re-uploading them, avoiding the attachment upload limit. Supplying a customdownloadfunction retains local download behavior.For telemetry integrations,
TranscriptionEndEvent.audio.byteLengthandaudio.mediaTypecan now beundefinedwhen a provider fetches the audio URL natively. Check for missing values before using them as a number or string. Downloaded and inline audio continue to report their metadata; streaming transcription metadata is unchanged.Strip media fragments before sending URLs to Groq. If Groq rejects a redirect, fall back to the existing secure local downloader and file upload rather than failing previously working URL inputs. Other provider errors are preserved.
933dae3: fix (ai): download deprecatedfile-urlandimage-urltool result contentTool result content parts that use the deprecated
file-urlandimage-urltypes were converted to
fileparts with{ type: 'url' }data, but they werenever passed to the download function. When the model does not support the URL,
the provider received a bare URL instead of the file contents, even though the
replacement
filepart with{ type: 'url' }data was downloaded and inlined.Downloaded legacy URL parts now use the same media type normalization as file
parts, resolving generic types from the response header or image bytes.
Legacy base64 data URLs also normalize to inline data with the media type from
their data URL, matching replacement file parts.
e0143b0: feat(ai): support provider-owned realtime transportsAdd an optional
createTransportinterface andproviderconnection capability.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.c389374: fix(ai): infer union output types when passing a union of schemas toOutput.objectandOutput.arrayPreviously, passing a schema whose type is a union of schemas (e.g. a schema selected from a map at runtime) failed to type-check because the output type was inferred from the first union member only. The output type is now inferred as the union of the schemas' output types.
892af4d: feat (ai): re-export realtime server-connection and usage typesAdds
Experimental_RealtimeServerConnection,Experimental_RealtimeSessionIntent, andExperimental_RealtimeUsagealiases for the new experimentalRealtimeModelV4server-side spec types.1a1da8d: stream steering messages to the ui and keep them in converted messages41465fd: 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.9754014: Add typed streaming heartbeat parts. Anthropic emits them only withincludePings: true(disabled by default), without requiring raw chunks. Core forwards pings through stream retries without storing them as generated content or sending them to UI message streams. Consumers with exhaustive stream-part switches must handle the newpingunion variant when upgrading, even when the opt-in is disabled. Typed pings do not flush partial words during stream smoothing.2e44144: Represent videos delivered directly to caller-managed storage with an explicit uploaded outcome. Video generation reportsuploadedVideoswithout downloading or synthesizing video bytes; accessvideoonly whenvideosis nonempty.Updated dependencies [
722d4a9]Updated dependencies [
acea2b5]Updated dependencies [
89aff56]Updated dependencies [
41465fd]Updated dependencies [
2e44144]Updated dependencies [
36802d4]Updated dependencies [
ef2dfb5]Updated dependencies [
e0143b0]Updated dependencies [
934100c]Updated dependencies [
892af4d]Updated dependencies [
892af4d]Updated dependencies [
89aff56]Updated dependencies [
32acf43]Updated dependencies [
41465fd]Updated dependencies [
9754014]Updated dependencies [
4bb73b0]Updated dependencies [
2e44144]v7.0.162Compare Source
Patch Changes
857ca45: Restore server-defined tool metadata, dynamic status, and title when validating tool approval continuations so approval policies receive the same tool definition fields as new model calls.4d6d830: Support a single telemetry operation for durableWorkflowAgentruns, including the prompt, final output, steps, and tools. Events recorded in the workflow are reported on completion or suspension with their original timestamps. For OpenTelemetry, pass the sameOpenTelemetryIdGeneratorinstance as the tracer provider'sidGeneratorandsamplerand asnew OpenTelemetry({ durable }). This explicit bridge carries parent trace context and sampling across steps, reports model spans live with provider requests nested beneath them, and reconstructs the enclosinginvoke_agenttree when the run completes. Without the bridge, existing live per-model tracing is preserved. Add typed experimental durable context hooks for telemetry integrations; remove reliance on process-global ID-generator detection.fa15312]v7.0.161Compare Source
Patch Changes
51ca5b7: fix(ai): support cross-realm Uint8Array and ArrayBuffer in DefaultGeneratedFile51ca5b7: fix(ai): handle cross-realm Uint8Array and ArrayBuffer in data-content and file-part-data51ca5b7: fix(ai): support cross-realm binary buffers and circular structures in cloneModelMessages51ca5b7]dc6f1c3]4ae6986]v7.0.160Compare Source
Patch Changes
a71172d: fix(ai): clarify inverted smoothStream prefix error messagecf27969: add steering.queue() to send a message once the current task is done17b6923: fix(ai): validate streamed data parts againstdataPartSchemasprocessUIMessageStreamlooked updataPartSchemasby the full chunk type (data-weather) instead of the bare part name (weather), souseChat/Chatnever validated streamed data parts. Invalid data parts now raise aTypeValidationError.Updated dependencies [
2099d45]Updated dependencies [
d05ff62]Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.