We’re using LiveKit Agents Python with an STT → LLM → TTS pipeline.
We enabled preemptive generation in AgentSession, but from our timing logs it does not look like preemptive generation is actually being used. The agent still spends roughly the full LLM response time in thinking after the user turn commits.
From the installed LiveKit Agents source, it looks like preemptive generation is triggered by the STT event PREFLIGHT_TRANSCRIPT / preflight_transcript.
Can you confirm:
- Is
preflight_transcriptrequired for preemptive generation in the STT-LLM-TTS pipeline? - Which LiveKit Inference STT models currently emit
preflight_transcript? - Does
deepgram/nova-3emitpreflight_transcript? - Does
deepgram/flux-general-enemitpreflight_transcript? - Is there any config needed to enable this event?
- What log line or metric should we use to verify that preemptive generation is actually being used?
We’re trying to reduce end-of-user-speech to agent-speech latency for a phone call agent.
Thanks.
