fix: keep LiveKit rooms alive so agent survives reconnects

Set room.empty_timeout to 86400 (24h) in livekit.yaml. Previously the
default 300s timeout destroyed the room when all participants left,
which killed the agent job and left no worker registered for the next
join — causing 'assistant not ready retry' on tab reopen.
This commit is contained in:
Shane
2026-08-22 18:54:22 -04:00
parent dd33837055
commit d08a4e1fcb
+7
View File
@@ -6,3 +6,10 @@ rtc:
keys:
devkey: devsecret
# Keep rooms alive for 24h — the agent stays resident so reconnections
# don't require a fresh dispatch. Without this, LiveKit destroys the room
# after empty_timeout (default 300s), kills the agent job, and the next
# join finds no worker registered ("assistant not ready retry").
room:
empty_timeout: 86400