bugfix
This commit is contained in:
parent
e9b9f3ac92
commit
1730e233df
@ -240,8 +240,6 @@ where backid=${backid}$
|
|||||||
|
|
||||||
dsl = yaml.safe_load(flow_def['dsl'])
|
dsl = yaml.safe_load(flow_def['dsl'])
|
||||||
ctx = json.loads(inst['ctx'])
|
ctx = json.loads(inst['ctx'])
|
||||||
active = set(json.loads(inst['active_nodes']) or [dsl['start']])
|
|
||||||
next_nodes = set()
|
|
||||||
sql = "select * from node_execution where instance_id=${instance_id}$ and status != 'completed'"
|
sql = "select * from node_execution where instance_id=${instance_id}$ and status != 'completed'"
|
||||||
active_nes = await sor.sqlExe(sql, {
|
active_nes = await sor.sqlExe(sql, {
|
||||||
'instance_id': inst.id
|
'instance_id': inst.id
|
||||||
|
|||||||
@ -31,7 +31,7 @@ def load_dagflow():
|
|||||||
flow_engines.append(e)
|
flow_engines.append(e)
|
||||||
|
|
||||||
f = partial(dagbacktask, flow_engines)
|
f = partial(dagbacktask, flow_engines)
|
||||||
add_cleanupctx(f)
|
# add_cleanupctx(f)
|
||||||
env = ServerEnv()
|
env = ServerEnv()
|
||||||
env.flow_engines = flow_engines
|
env.flow_engines = flow_engines
|
||||||
env.add_new_workflow = add_new_workflow
|
env.add_new_workflow = add_new_workflow
|
||||||
|
|||||||
2
wwwroot/manual_step.dspy
Normal file
2
wwwroot/manual_step.dspy
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
await flow_engines[0].bgtask()
|
||||||
|
return 'OK'
|
||||||
Loading…
x
Reference in New Issue
Block a user