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

latest releases: @ai-sdk/zai@3.0.39, @ai-sdk/xai@5.0.29, @ai-sdk/workflow-harness@1.0.161...
3 hours ago

Patch Changes

  • 8202f5b: feat(gateway): implement experimental streaming speech in the gateway provider

    GatewaySpeechModel implements Experimental_StreamingSpeechModelV4 and streams speech over the AI Gateway speech WebSocket (/speech-model, ai-gateway-speech.v1 subprotocol). @ai-sdk/provider-utils adds the experimental speech-stream envelope (experimental_parseSpeechStreamClientFrame, experimental_serializeSpeechStreamPart, experimental_parseSpeechStreamPart) shared by clients and servers, plus the EXPERIMENTAL_SPEECH_STREAM_* frame type constants and Experimental_SpeechStream* frame types. Text-delta frames carry each text part's voice and providerOptions; the start frame carries outputFormat as an audio format object. Adds gateway.experimental_speech, callable like speech(modelId), with a server-side getToken() that mints a speech-bound short-lived client secret for browser use.

  • Updated dependencies [85d84a1]

    • @ai-sdk/provider@4.0.33

Don't miss a new ai release

NewReleases is sending notifications on new releases.