refactor(core): remove redundant runtime scaffolding (#5127)

This commit is contained in:
chengyongru authored and GitHub committed 2026-07-28 11:07:58 +08:00
1 parent 4c77126b3d
commit ef9e687f19
19 files changed
+89 -312

No files matched your search

+1 -1
View File
@@ -285,7 +285,7 @@ class TestRestartCommand:
finished_task.done.return_value = True
msg = InboundMessage(channel="telegram", sender_id="u1", chat_id="c1", content="/status")
loop._active_tasks[msg.session_key] = [running_task, finished_task]
loop._active_tasks[msg.session_key] = {running_task, finished_task}
loop.subagents.get_running_count_by_session.return_value = 2
response = await loop._process_message(msg)