github vercel/ai @ai-sdk/provider-utils@5.0.12

latest releases: @ai-sdk/svelte@3.0.218, @ai-sdk/workflow-harness@1.0.39, @ai-sdk/workflow@1.0.34...
11 hours ago

Patch Changes

  • 02ffdcb: fix(provider-utils): bound media-type sniffing decode for ID3-prefixed input

    Media-type detection stripped ID3 tags before the ~18-byte prefix cap, decoding the entire base64 attachment (plus a full-size copy) whenever the data began with ID3/SUQz. This turned the intended O(1) sniff into an O(N) decode of the whole attachment. Detection now decodes at most a bounded prefix and skips the ID3 tag within that bound, keeping cost O(1) in input size on all paths (image, audio, and combined).

  • 76cb673: fix: detect MP4 audio from its ftyp box during transcription

Don't miss a new ai release

NewReleases is sending notifications on new releases.