Solution skill
TTS audio generation stops when sending a second text with continue_=True on the same context
Complete solution
Shows how to fix tTS audio generation stops when sending a second text with continue_=True on the same context. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Pass continue\_=True on every context.send(), including the first chunk, and the audio generates sequentially across chunks.
Steps
- Sending a second text chunk to the same TTS websocket context with
continue_=Trueimmediately stopped the ongoing audio generation instead of continuing sequentially. The docs on contexts did not make the pattern obvious. Another user found the fix: passcontinue_=Trueon everycontext.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_=Trueon the follow-up sends. Passcontinue_=Trueon everycontext.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.
When to use
You are seeing this: The docs on contexts did not make the pattern obvious. Use this skill when you run into "TTS audio generation stops when sending a second text with continue_=True on the same context".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
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 2 · 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>