glamorous-oil-12326
10/17/2025, 11:13 PMtall-airline-16756
10/17/2025, 11:14 PMtall-airline-16756
10/17/2025, 11:15 PMchunkTimeout parameter to something like 10 seconds to give it a bit more time.
2. Verify Model and API Version: It’s important to use compatible model and API version combinations. For those advanced features, double-check that you’re using the right model (like sonic-2-2025-03-07) along with the correct API version.
3. Audio Output Configuration: Take a moment to confirm that audio output is enabled in your agent session configuration.
4. Monitor Agent State Transitions: Adding some logging to track agent state changes can be really helpful to ensure everything switches smoothly between speaking and listening states.
5. Debug Audio Emitter: It’s a good idea to verify that audio frames are being generated properly and that the segments match what you expect. Adding debugging logs here can shed some light on what’s happening.
If any of these steps feel tricky or if you’d like me to walk you through them in more detail, please don’t hesitate to reach out. I’m here to help you every step of the way!
Sources: tests/test_tts.py | plugins/cartesia/src/tts.test.ts | How to detect when an agent has finished speaking