Hi! I need guidance on interrupt control in livekit-agents for my deployed environment.
Locally I am using livekit-agents 1.2.15 and can import:
from livekit.agents.voice import InterruptConfig
session.interrupt_config = InterruptConfig(stop_audio=True, stop_llm=False)
This works perfectly locally.
However, when deploying, I get this error:
ImportError: cannot import name 'InterruptConfig' from 'livekit.agents.voice'
So my deployment runtime seems to be using a different livekit-agents version, even though my code expects 1.2.15.
Can you please confirm:
1) What exact version of
livekit-agents
is available in the deployment environment?
2) For that version, what is the correct API + import path for configuring barge-in behavior (stop_audio only, do not stop LLM)?