File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed
livekit-agents/livekit/agents/voice Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -594,8 +594,11 @@ def allow_interruptions(self) -> NotGivenOr[bool]:
594594 @property
595595 def min_endpointing_delay (self ) -> NotGivenOr [float ]:
596596 """
597- Minimum time-in-seconds the agent must wait after a potential end-of-utterance signal
598- before it declares the user’s turn complete.
597+ Minimum time-in-seconds since the last detected speech before the agent
598+ declares the user’s turn complete. In VAD mode this effectively behaves
599+ like max(VAD silence, min_endpointing_delay); in STT mode it is applied
600+ after the STT end-of-speech signal, so it can be additive with the STT
601+ provider’s endpointing delay.
599602
600603 If this property was set at Agent creation, it will be used at runtime instead of the session's value.
601604 """
Original file line number Diff line number Diff line change @@ -207,10 +207,13 @@ def __init__(
207207 register as an interruption. Default ``0.5`` s.
208208 min_interruption_words (int): Minimum number of words to consider
209209 an interruption, only used if stt enabled. Default ``0``.
210- min_endpointing_delay (float): Minimum time-in-seconds the agent
211- must wait after a potential end-of-utterance signal (from VAD
212- or an EOU model) before it declares the user’s turn complete.
213- Default ``0.5`` s.
210+ min_endpointing_delay (float): Minimum time-in-seconds since the
211+ last detected speech before the agent declares the user’s turn
212+ complete. In VAD mode this effectively behaves like
213+ max(VAD silence, min_endpointing_delay); in STT mode it is
214+ applied after the STT end-of-speech signal, so it can be
215+ additive with the STT provider’s endpointing delay. Default
216+ ``0.5`` s.
214217 max_endpointing_delay (float): Maximum time-in-seconds the agent
215218 will wait before terminating the turn. Default ``3.0`` s.
216219 max_tool_steps (int): Maximum consecutive tool calls per LLM turn.
You can’t perform that action at this time.
0 commit comments