feat(logging): unify canonical task CoT events
This commit is contained in:
@@ -202,8 +202,8 @@ class TestWebSocketEndpointFull:
|
||||
tm = _make_task_manager_mock(task=task, logs=[])
|
||||
tm.subscribe_logs = sl; tm.subscribe_status = ss; mg.return_value = tm
|
||||
await websocket_endpoint(ws, "task-1")
|
||||
msgs = [c[0][0].get("message") for c in ws.send_json.call_args_list if isinstance(c[0][0], dict)]
|
||||
assert any("Task paused for user input" in (m or "") for m in msgs)
|
||||
intents = [c[0][0].get("intent") for c in ws.send_json.call_args_list if isinstance(c[0][0], dict)]
|
||||
assert any("Task paused for user input" in (intent or "") for intent in intents)
|
||||
# #endregion Test.AppModule.TestAwaitingInputPrompt
|
||||
|
||||
# #region Test.AppModule.TestTerminalLogTriggersClose [C:2] [TYPE Function]
|
||||
|
||||
Reference in New Issue
Block a user