Skip to content

Commit b9b4827

Browse files
fix(agentflow): $flow.state inaccessible inside iteration node execution (#6142)
fix(agentflow): Fix $flow.state inaccessible inside iteration node execution
1 parent 567bfe3 commit b9b4827

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/server/src/utils/buildAgentflow.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,7 @@ const executeNode = async ({
11131113
...updatedState
11141114
}
11151115
flowConfig.state = updatedState
1116+
agentflowRuntime.state = updatedState
11161117
}
11171118

11181119
// Resolve variables in node data

0 commit comments

Comments
 (0)