Skip to content

fix(11labs): add empty keepalive message and remove final duplicates#5139

Merged
chenghao-mou merged 1 commit intomainfrom
chenghao/fix/11labs-no-audio-timeout-and-final-duplicates
Mar 19, 2026
Merged

fix(11labs): add empty keepalive message and remove final duplicates#5139
chenghao-mou merged 1 commit intomainfrom
chenghao/fix/11labs-no-audio-timeout-and-final-duplicates

Conversation

@chenghao-mou
Copy link
Member

  • 11labs disconnects when no audio is sent for about 10s;
  • It also sends committed_transcript_with_timestamps even when include_timestamps is set to False;

This fixes #4609. Thanks to @tonydialpad for the detailed reporting.

- 11labs disconnects when no audio is sent for about 10s;
- It also sends committed_transcript_with_timestamps even when include_timestamps is set to False;

This fixes 4609. Thanks to @tonydialpad for the detailed reporting.
@chenghao-mou chenghao-mou requested a review from a team March 18, 2026 11:47
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

json.dumps(
{
"message_type": "input_audio_chunk",
"audio_base_64": "",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is empty keepalive?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any errors after having this, so I think so.

@chenghao-mou chenghao-mou merged commit 0e71002 into main Mar 19, 2026
20 checks passed
@chenghao-mou chenghao-mou deleted the chenghao/fix/11labs-no-audio-timeout-and-final-duplicates branch March 19, 2026 13:27
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.

ElevenLabs STT stream does not reconnect after mid-stream WebSocket disconnection

3 participants