Skip to content

Commit b4b01ed

Browse files
authored
voiceassistant: fix incomplete committed agent transcript in the chat_ctx (#595)
1 parent 265583b commit b4b01ed

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/loud-pigs-explain.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"livekit-agents": patch
3+
---
4+
5+
voiceassistant: fix incomplete committed agent transcript in the chat_ctx

livekit-agents/livekit/agents/voice_assistant/agent_playout.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ def _should_break():
161161

162162
self.emit("playout_stopped", handle.interrupted)
163163

164-
handle._done_fut.set_result(None)
165164
await handle._tr_fwd.aclose()
165+
handle._done_fut.set_result(None)
166166

167167
logger.debug(
168168
"playout finished",

0 commit comments

Comments
 (0)