diff --git a/server/chat_flow_task_main.py b/server/chat_flow_task_main.py index 448ef3c..91f1f31 100644 --- a/server/chat_flow_task_main.py +++ b/server/chat_flow_task_main.py @@ -686,6 +686,7 @@ def _collect_pending_completion_notices(*, web_terminal, conversation_id: str) - }) notices.sort(key=lambda item: item.get("sort_key") or 0) + return notices def _has_pending_completion_work(*, web_terminal, conversation_id: str) -> bool: