fix(webui): use live turns for queued messages (#6726)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-19 16:27:45 +08:00
1 parent 085521823e
commit 2ca8b72eea
1 file changed
+1 -1
+1 -1
View File
@@ -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