auto-sync: 2026-05-30 20:07:24

This commit is contained in:
cfdaily
2026-05-30 20:07:24 +08:00
parent ff8a0bd72e
commit 19d1559389
+1 -1
View File
@@ -732,7 +732,7 @@ class Dispatcher:
(status, task_id),
)
conn.execute(
"INSERT INTO events (task_id, event_type, payload) VALUES (?, 'status_change', ?)",
"INSERT INTO events (task_id, agent, event_type, detail) VALUES (?, 'dispatcher', 'status_change', ?)",
(task_id, f'{{"from": "{old_status}", "to": "{status}", "source": "auto_complete"}}'),
)
conn.commit()