Agent InfrastructureAutomated release watch

ai@7.0.163

Vercel AI SDK 7.0.163 improves transcription, telemetry, and streaming by introducing typed heartbeat parts, native URL transcription for Groq, and fixes for union schemas and legacy media URLs.

Human read

Why this signal matters

Vercel AI SDK patch release 7.0.163 introduces several key enhancements and bug fixes across core capabilities: - Streaming & Types: Added typed streaming heartbeat parts ( ping union variant), requiring updates to exhaustive stream-part switches. Type inference now properly handles schema unions passed to Output.object and Output.array. Stream steering messages are now streamed to the UI and retained in converted messages. - Audio & Transcription: Native URL transcription is now supported (Groq leverages this directly with a redirect fallback). Transcription telemetry event fields ( byteLength , mediaType ) may now be undefined for native fetches. Audio types are inferred from bytes when content-type headers are generic. Word timings can be exposed separately from segments with granular timestamps. - Provider & Realtime Support: Added provider-owned realtime transports ( createTransport ) and experimental RealtimeModelV4 server-side types. Google stream ordering for text and complete function calls (including standalone thought signatures) is improved and cross-provider history replay through Anthropic/Bedrock is sanitized. - Media & Storage: Legacy file-url and image-url tool result types are properly downloaded/inlined, and direct video delivery to caller-managed storage is represented via an uploadedVideos outcome. - Telemetry: Respects recordInputs and recordOutputs flags, omitting raw span results and nested content when disabled. Sanitized HTTP origins and endpoint metadata are reported for OpenAI Chat, Azure Chat, and Bedrock Mantle.

Agent parse

Actionable summary

Vercel AI SDK 7.0.163 adds typed ping parts to streaming unions, native URL audio transcription support (with Groq integration), provider-owned realtime transports, union output schema inference, and refined telemetry sanitization/filtering.

Agent usefulness
72/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Update exhaustive switch statements over stream parts to handle the new ping union variant.
  • Verify telemetry consumers safely handle potentially undefined TranscriptionEndEvent.audio.byteLength and audio.mediaType when native URL transcription is used.
  • Inspect custom video handling workflows to use uploadedVideos when models deliver directly to caller-managed storage.
Classification

Tags and routing

vercelai-sdktypescript
Related signals

Continue the thread