fast-hairdresser-13908
10/29/2025, 8:56 AMtall-airline-16756
10/29/2025, 8:56 AMtall-airline-16756
10/29/2025, 8:57 AMtts parameter when you set up the AgentSession. Here’s how you can do it:
Python SDK:
session = AgentSession(
vad=silero.VAD.load(),
stt=openai.STT(),
llm=openai.LLM(),
# tts is not provided, effectively disabling text-to-speech
turn_detection=EnglishModel(),
)
Node.js SDK:
const session = new voice.AgentSession({
stt: 'assemblyai/universal-streaming:en',
llm: 'openai/gpt-4.1-mini',
// tts is omitted
vad: ctx.proc.userData.vad,
turnDetection: new livekit.turnDetector.MultilingualModel(),
});
This way, your bot will transcribe what users say using STT, process it with the LLM, and respond with text or trigger other actions — all without using TTS. If you have any questions or need a hand with this, just let me know. I’m here to help!
Sources: livekit-agents/livekit/agents/voice/agent_activity.py