fix(asyncai): force flush WS TTS to eliminate stalls

This commit is contained in:
Ashot
2025-08-14 16:34:34 +04:00
parent d7f31e0cbd
commit 3b55d16a49
2 changed files with 3 additions and 1 deletions

View File

@@ -335,7 +335,7 @@ class AsyncAITTSService(InterruptibleTTSService):
yield TTSStartedFrame()
self._started = True
msg = self._build_msg(text=text)
msg = self._build_msg(text=text, force=True)
try:
await self._get_websocket().send(msg)