Skip to content
Merged
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
3 changes: 3 additions & 0 deletions livekit-agents/livekit/agents/voice/agent_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -3411,6 +3411,9 @@ async def _wait_for_auto_tool_reply() -> None:
"timed out waiting for realtime auto tool reply from %s",
llm_label,
)
finally:
if self._pending_auto_tool_reply_fut is auto_reply_fut:
self._pending_auto_tool_reply_fut = None

task = asyncio.create_task(_wait_for_auto_tool_reply())
run_state._watch_handle(task)
Expand Down
Loading