prehistoric-art-66005
11/18/2025, 7:29 AMawait session.start(
agent=Assistant(
chat_ctx=initial_ctx,
prompt=instructions,
user_session_config=user_session_config
),
room=ctx.room,
room_input_options=RoomInputOptions(
noise_cancellation=noise_cancellation.BVC(),
close_on_disconnect=False
),
room_output_options=RoomOutputOptions(sync_transcription=False),
)
Versions:
• livekit = 1.0.16
• livekit-agents = 1.2.14
Since close_on_disconnect=False, the session stays open, but after a long disconnect (≈2 mins), the agent stops outputting audio.
Is there any configuration or recommended way to handle long user disconnects so that the bot continues speaking normally after the user reconnects?
Thanks!
cc : @refined-appointment-81829 @echoing-kitchen-90064refined-appointment-81829
11/18/2025, 1:59 PMRM_*prehistoric-art-66005
11/20/2025, 12:46 PMprehistoric-art-66005
11/20/2025, 12:47 PMprehistoric-art-66005
11/20/2025, 12:48 PMprehistoric-art-66005
11/20/2025, 2:35 PMprehistoric-art-66005
11/20/2025, 2:35 PMrefined-appointment-81829
11/20/2025, 7:11 PM