fix: 修复了逻辑
This commit is contained in:
parent
65652399e0
commit
0ee8139902
|
|
@ -111,6 +111,8 @@ class SupervisoryNode:
|
|||
if isinstance(payload, PretorEvent):
|
||||
payload.context["workflow_template"] = result.workflow_template
|
||||
try:
|
||||
global_state_machine = ray_actor_hook("global_state_machine").global_state_machine
|
||||
await global_state_machine.add_event.remote(payload)
|
||||
workflow_running_engine = ray_actor_hook("workflow_running_engine").workflow_running_engine
|
||||
await workflow_running_engine.put_event.remote(payload)
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Reference in New Issue