From 2ca8b72eeadec17fdcd4dbd55a7ad71c89a63775 Mon Sep 17 00:00:00 2001 From: chengyongru <61816729+chengyongru@users.noreply.github.com> Date: Thu, 19 Nov 2026 16:27:45 +0800 Subject: [PATCH] fix(webui): use live turns for queued messages (#6726) --- nanobot/webui/inbound_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanobot/webui/inbound_commands.py b/nanobot/webui/inbound_commands.py index dc3a9c8f9..1dd170b58 100644 --- a/nanobot/webui/inbound_commands.py +++ b/nanobot/webui/inbound_commands.py @@ -817,7 +817,7 @@ class WebUICommandRouter: waiting_for_model = ( is_webui and temporary_policy is None and turn_id is not None and not restart_control and not is_user_shell and not content.lstrip().startswith("/") - and queued_owner is None and websocket_turn_id(chat_id) is not None + and queued_owner is None and latest_live_websocket_turn(chat_id) is not None ) accepted = False session_generation: str | None = None