Fix notify_openclaw BackgroundTasks call signature
This commit is contained in:
@@ -141,7 +141,6 @@ def dispatch_task(
|
|||||||
# Best-effort: enqueue an agent dispatch. This does not mutate the task.
|
# Best-effort: enqueue an agent dispatch. This does not mutate the task.
|
||||||
background.add_task(
|
background.add_task(
|
||||||
notify_openclaw,
|
notify_openclaw,
|
||||||
session,
|
|
||||||
NotifyContext(event="task.assigned", actor_employee_id=actor_employee_id, task_id=task.id),
|
NotifyContext(event="task.assigned", actor_employee_id=actor_employee_id, task_id=task.id),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user