session: AgentSession = AgentSession(
\# Speech-to-text (STT) is your agent's ears, turning the user's speech into text that the LLM can understand
# See all available models at Speech-to-text (STT) models overview | LiveKit Documentation
stt=inference.STT(“deepgram/nova-3”, language=“multi”),
# A Large Language Model (LLM) is your agent’s brain, processing user input and generating a response
# See all available models at https://docs.livekit.io/agents/models/llm/
llm=inference.LLM(“openai/gpt-4.1-mini”),
# Text-to-speech (TTS) is your agent’s voice, turning the LLM’s text into speech that the user can hear
# See all available models as well as voice selections at https://docs.livekit.io/agents/models/tts/
tts=inference.TTS(“cartesia/sonic-3”, voice=“9626c31c-bec5-4cca-baa8-f8ba9e84c8bc”),
vad=ctx.proc.userdata[“vad”],
turn_handling=TurnHandlingOptions(
# VAD and turn detection are used to determine when the user is speaking and when the agent should respond
# See more at Turns overview | LiveKit Documentation
turn_detection=MultilingualModel(),
interruption={
# sometimes background noise could interrupt the agent session, these are considered false positive interruptions
# when it’s detected, you may resume the agent’s speech
“resume_false_interruption”: False,
“false_interruption_timeout”: 1.0,
},
),
# allow the LLM to generate a response while waiting for the end of turn
# See more at Agent speech and audio | LiveKit Documentation
preemptive_generation=True,
# blocks interruptions for a few seconds after the agent starts speaking to allow client to calibrate AEC
aec_warmup_duration=3.0,
tts_text_transforms=[
“filter_emoji”,
“filter_markdown”,
text_transforms.replace({“LiveKit”: “<<ˈ|l|aɪ|v>> <<ˈ|k|ɪ|t>>”}),
\],
)
this is the session object and when i change from resume_false_interruption True to resume_false_interruption False im seeing the same behaviour which is when i agent is speaking and i try to interrupt with “okay“, “mmhmm“ it does not even get transcribed and the agent speech is not affected but when i say some other word agent gets interrupted and this behaviour is same regardless of resume_false_interruption value. so what is the significance of having it?