Skip to content

Fix TTS with Proper Error Handling#859

Merged
toubatbrian merged 2 commits intomainfrom
brian/fix-gw-tts
Nov 25, 2025
Merged

Fix TTS with Proper Error Handling#859
toubatbrian merged 2 commits intomainfrom
brian/fix-gw-tts

Conversation

@toubatbrian
Copy link
Copy Markdown
Contributor

@toubatbrian toubatbrian commented Nov 24, 2025

TTS is throwing Error in SynthesizeStream during interruption.

This PR fix error handling by

  1. Avoid sending event to a closed web socket.
  2. Suppress false positive errors throwing from expected shutdown logics due to session close / interruption / agent handoffs

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Nov 24, 2025

🦋 Changeset detected

Latest commit: 2ed3bcc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 14 packages
Name Type
@livekit/agents Patch
@livekit/agents-plugin-anam Patch
@livekit/agents-plugin-bey Patch
@livekit/agents-plugin-cartesia Patch
@livekit/agents-plugin-deepgram Patch
@livekit/agents-plugin-elevenlabs Patch
@livekit/agents-plugin-google Patch
@livekit/agents-plugin-livekit Patch
@livekit/agents-plugin-neuphonic Patch
@livekit/agents-plugin-openai Patch
@livekit/agents-plugin-resemble Patch
@livekit/agents-plugin-rime Patch
@livekit/agents-plugin-silero Patch
@livekit/agents-plugins-test Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@toubatbrian toubatbrian requested a review from a team November 24, 2025 10:57
@toubatbrian toubatbrian merged commit b4f2392 into main Nov 25, 2025
8 checks passed
@toubatbrian toubatbrian deleted the brian/fix-gw-tts branch November 25, 2025 09:15
@github-actions github-actions Bot mentioned this pull request Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants