diff --git a/voice.py b/voice.py index 73d5c83..81f16df 100644 --- a/voice.py +++ b/voice.py @@ -290,7 +290,8 @@ class VoiceSession: agent = Agent(instructions=VOICE_PROMPT) io_opts = room_io.RoomOptions( participant_identity=remote_identity, - ) if remote_identity else room_io.RoomOptions() + close_on_disconnect=False, + ) if remote_identity else room_io.RoomOptions(close_on_disconnect=False) await self.session.start( agent=agent, room=self.lk_room,