agentcall icon indicating copy to clipboard operation
agentcall copied to clipboard

No agent-side hard stop: tts.clear for all modes; audio.clear does not stop queued tts.speak in audio mode

Open jomon003 opened this issue 1 month ago • 2 comments

There is no reliable way for the agent to stop the bot talking immediately, in any mode.

Audio mode: audio.clear is acknowledged, but the sentence currently playing and any queued tts.speak sentences keep playing; only meeting.mic off silences them. audio.clear only clears the meeting bot's buffer, while the backend keeps sending the rest of the sentence and the queue.

Webpage modes: there is no agent command that clears playback and the backend TTS queue. The avatar page's own interruption only cuts the current utterance; if the reply was sent as several tts.speak commands, the next queued sentence fires tts.started, which reopens the page's audio gate, so the bot keeps talking.

Fix: a tts.clear command that works in every mode — drain the backend TTS queue, cancel in-flight playback, send audio.clear to the meeting bot (audio mode) and broadcast tts.audio_clear to the page (webpage modes). audio.clear in audio mode should behave the same way.

Reported in #15 and #16.

jomon003 avatar Oct 22 '26 06:10 jomon003

Hey, is this issue resolved? I was hoping to work on it. If it's resolved, why is the issue still open?

connect-abdullah avatar Nov 10 '26 02:11 connect-abdullah

Hey, is this issue resolved? I was hoping to work on it. If it's resolved, why is the issue still open?

This is a backend issue. I am working on it.

jomon003 avatar Nov 11 '26 08:11 jomon003