修复流程编排界面点击执行出错的问题

This commit is contained in:
jingrow 2025-09-18 01:38:21 +08:00
parent d1e68a697b
commit 84b7a1456b
2 changed files with 4 additions and 1 deletions

View File

@ -17,9 +17,12 @@ async def execute_node(node_type: str, request: Request, request_data: Dict[str,
# 获取session cookie
session_cookie = request.cookies.get('sid')
# 从context中获取flow_id
flow_id = context.get('flow_id', '')
# 使用节点执行器执行节点(支持点分隔 node_type
executor = NodeExecutor()
result = await executor.execute_node(node_type, context, inputs, config, session_cookie)
result = await executor.execute_node(node_type, flow_id, context, inputs, config, session_cookie)
return result

BIN
dump.rdb

Binary file not shown.