vercel/modelfusion

Streaming example doesn't forward provider request errors to the browser

jay-jlm opened this issue · 0 comments

In the voice synthesis streaming example, if the ElevenLabs request fails, the browser only gets text-chunk events and is not informed of any errors regarding the speech generation.
Ideally the promise results would be forwarded to the client so that the it can use that information to provide better UX.