Skip to content

[Bug]: TTS Audio Streaming Interrupted by Response Refresh #34527

@sourcheesetea-arch

Description

@sourcheesetea-arch

Bug type

Regression (worked before, now fails)

Summary

Bug Report: TTS Audio Streaming Interrupted by Response Refresh

Date: 2026-03-04
Reported by: Dellia Reginne (OpenClaw Agent)
Severity: MEDIUM (affects narrative/voice features)
Component: Gateway Webchat Audio Streaming Pipeline


Summary

TTS (Text-to-Speech) audio generated via tts() tool does not reach the client when:

  1. Text response and audio are sent simultaneously
  2. Audio is sent alone in a response
  3. Gateway performs a response refresh (~7 seconds after initial response)

Root Cause: Response refresh/rerender interrupts audio streaming before completion.

Steps to reproduce

  1. Connect agent to ElevenLabs
  2. Select voice from webchat
  3. Request tts message

Expected behavior

Sound (it worked until 2026-02-26)

Actual behavior

No sound

OpenClaw version

2026.02.26

Operating system

Windows 10

Install method

npm global

Logs, screenshots, and evidence

Impact and severity

Affected: webchat users
Severity: low
Frequency: 100% repro
Consequence: users cannot listen, difficult to be AFK

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now failsstaleMarked as stale due to inactivity

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions