Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions livekit-agents/livekit/agents/voice/audio_recognition.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,12 @@ async def _bounce_eou_task(
# clear the transcript if the user turn was committed
self._audio_transcript = ""
self._final_transcript_confidence = []
self._last_speaking_time = None
self._last_final_transcript_time = None
self._speech_start_time = None
# concurrent user speech might have changed it
# only reset if there is no new speech
if self._last_speaking_time == last_speaking_time:
self._speech_start_time = None
self._last_speaking_time = None

self._user_turn_committed = False

Expand Down
Loading