breezy-knife-25008
11/13/2025, 4:13 PMsession.say() instead of session.generate_reply(tool_choice="none") and that did clean up the initial greetings, but probably because they're hard coded now.
For context this is with the restaurant starter recipe that was converted to use inference.
This issue happens locally without SIP, and when calling livekit cloud sip / telnyx.
I am just wondering where to optimize or fix here.
Could it be related to using inference, or maybe VAD, or is it the actual STT and TTS models?
I was also curious if it could be because I moved my prompts over to separate yaml files. Claude code was saying that's not the culprit.
What do you recommend?tall-airline-16756
11/13/2025, 4:14 PMtall-airline-16756
11/13/2025, 4:14 PMsilence_duration_ms and prefix_padding_ms in the VAD configuration can make a noticeable difference.
• AI Service Constraints: Sometimes, responses get cut off if they hit the max_output_tokens limit or if content filters are triggered. Adjusting these settings or fine-tuning your prompts might help avoid that.
• Infrastructure: Double-check that you have enough agent workers running and consider using load balancing to spread the workload smoothly.
• Real-time Configuration: You can use pg.updateConfig to tweak agent settings like voice and temperature on the fly, which often leads to better responsiveness.
• Local Audio Buffering: Using LocalTrackRecorder from the LiveKit SDK to buffer audio locally can help replay audio smoothly and enhance interactions.
I hope these suggestions help you move forward! If you want to dive deeper into any of these points or need more personalized advice, just let me know—I’m here to help.
Sources: Operational Best Practices | livekit/livekit_composite | DeepWiki | agent/main.py | Knowledge Base Content | livekit/livekit_composite | DeepWiki | Voice Assistant Examples | livekit/livekit_composite | DeepWikibreezy-knife-25008
11/13/2025, 6:48 PMtall-airline-16756
11/13/2025, 6:48 PM