This commit is contained in:
yumoqing 2026-03-16 16:29:15 +08:00
parent e9b9f3ac92
commit 1730e233df
3 changed files with 3 additions and 3 deletions

View File

@ -240,8 +240,6 @@ where backid=${backid}$
dsl = yaml.safe_load(flow_def['dsl'])
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'"
active_nes = await sor.sqlExe(sql, {
'instance_id': inst.id

View File

@ -31,7 +31,7 @@ def load_dagflow():
flow_engines.append(e)
f = partial(dagbacktask, flow_engines)
add_cleanupctx(f)
# add_cleanupctx(f)
env = ServerEnv()
env.flow_engines = flow_engines
env.add_new_workflow = add_new_workflow

2
wwwroot/manual_step.dspy Normal file
View File

@ -0,0 +1,2 @@
await flow_engines[0].bgtask()
return 'OK'