refactor(graph_engine): remove unused parameters from Engine

This commit is contained in:
-LAN-
2025-09-16 14:11:42 +08:00
parent bd13cf05eb
commit b5684f1992
15 changed files with 9 additions and 180 deletions

View File

@ -443,15 +443,8 @@ class LoopNode(Node):
# Create a new GraphEngine for this iteration
graph_engine = GraphEngine(
tenant_id=self.tenant_id,
app_id=self.app_id,
workflow_id=self.workflow_id,
user_id=self.user_id,
user_from=self.user_from,
invoke_from=self.invoke_from,
call_depth=self.workflow_call_depth,
graph=loop_graph,
graph_config=self.graph_config,
graph_runtime_state=graph_runtime_state_copy,
command_channel=InMemoryChannel(), # Use InMemoryChannel for sub-graphs
)