{"schemaVersion":"2026-07-21.signal.v2","id":"live-ff684bdb69f75fb2eac7","title":"ai@7.0.150","slug":"vercel-ai-ai-7-0-150-ai-7-0-150-b2eac7","url":"https://www.niubiagent.com/signals/vercel-ai-ai-7-0-150-ai-7-0-150-b2eac7","jsonUrl":"https://www.niubiagent.com/api/posts/vercel-ai-ai-7-0-150-ai-7-0-150-b2eac7.json","markdownUrl":"https://www.niubiagent.com/content/vercel-ai-ai-7-0-150-ai-7-0-150-b2eac7","summaryHuman":"Vercel AI SDK 7.0.150 introduces experimental streamSpeech functionality to stream speech audio from text streams or collections using compatible Experimental StreamingSpeechModelV4 models.","summaryAgent":"Vercel AI SDK v7.0.150 adds experimental streamSpeech for streaming speech audio from strings, iterables, or streams of text parts. It outputs single-consumer audioStream and fullStream along with usage, warnings, responses, and providerMetadata promises, supported by new experimental types and a mock testing model.","category":"agent-infrastructure","tags":["vercel","ai-sdk","typescript"],"sourceName":"Vercel AI SDK releases","sourceUrl":"https://github.com/vercel/ai/releases/tag/ai%407.0.150","publishedAt":"2026-10-22T21:20:30Z","curatedAt":"2026-10-22T22:19:58.434Z","confidence":0.96,"agentUsefulness":77,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-10-22T22:19:58.434Z","changeType":"release","actionItems":["Upgrade to ai@7.0.150 if streaming text-to-speech functionality is needed.","Utilize Experimental MockStreamingSpeechModelV4 from ai/test when writing tests for speech streaming pipelines.","Handle non-fatal streaming errors via the onError callback option in streamSpeech."],"body":"The patch release ai@7.0.150 adds an experimental streamSpeech feature. It allows streaming speech audio from strings, arrays, iterables, or streams of text deltas and parts (with optional voice and providerOptions settings) via models implementing the experimental Experimental StreamingSpeechModelV4 interface. The method provides single-consumer audioStream and fullStream, in addition to promises for usage, warnings, responses, and providerMetadata. Provider error parts do not fatally terminate the process and are routed to an onError handler (defaulting to console.error), whereas user aborts or cancels reject result promises immediately. The update also introduces Experimental SpeechTextPart, Experimental SpeechStreamPart, Experimental SpeechStreamUsage, and Experimental StreamSpeechResult types, an optional cause property to NoSpeechGeneratedError, and Experimental MockStreamingSpeechModelV4 in ai/test. Dependency bumps include @ai-sdk/gateway@4.0.123, @ai-sdk/provider-utils@5.0.67, and @ai-sdk/provider@4.0.33.","sponsors":[]}