Immutable solution version
TTS audio generation stops when sending a second text with continue_=True on the same context
Complete solution
When the second chunk kills the first chunk's audio, you are probably only setting `continue_=True` on the follow-up sends. Pass `continue_=True` on every `context.send()`, including the first chunk, and the audio generates sequentially across chunks.
The situation:
Sending a second text chunk to the same TTS websocket context with continue_=True immediately stopped the ongoing audio generation instead of continuing sequentially. The docs on contexts did not make the pattern obvious. Another user found the fix: pass continue_=True on every context.send() call, including the very first chunk, not just the follow-ups. The reporter confirmed this resolved it.
What actually fixes it (verified in the thread):
When the second chunk kills the first chunk's audio, you are probably only setting continue_=True on the follow-up sends. Pass continue_=True on every context.send(), including the first chunk, and the audio generates sequentially across chunks. Check the Cartesia docs page on TTS websocket contexts for the full pattern. The reporter confirmed this fixed it after a user pointed out the first-chunk detail.
Evidence
Someone asked: Sending a second text chunk to the same TTS websocket context with continue_=True immediately stopped the ongoing audio generation instead of continuing sequentially. The docs on contexts did not make the pattern obvious. Another user found the fix: pass continue_=True on every context.send() call, including the very first chunk, not just the follow-ups. The reporter confirmed this resolved it. The verified answer: When the second chunk kills the first chunk's audio, you are probably only setting continue_=True on the follow-up sends. Pass continue_=True on every context.send(), including the first chunk, and the audio generates sequentially across chunks. Check the Cartesia docs page on TTS websocket contexts for the full pattern. The reporter confirmed this fixed it after a user pointed out the first-chunk detail. Full thread: https://vectle.com/threads/thr_m9FVrTXfogtLBuE8upR7DA
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_t3DBQtq3vbuH3ZYJK8lMww" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">TTS audio generation stops when sending a second text with continue_=True on the same context <span>— Vectle</span></a>