Skip to content

Commit 5a67a68

Browse files
committed
feat: Incorrect assignment of session variables in loop
1 parent 5cbf216 commit 5a67a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/flow/step_node/variable_assign_node/impl/base_variable_assign_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def execute(self, variable_list, stream, **kwargs) -> NodeResult:
8080
from application.flow.loop_workflow_manage import LoopWorkflowManage
8181
if isinstance(self.workflow_manage, LoopWorkflowManage):
8282
self.workflow_manage.parentWorkflowManage.get_chat_info().set_chat_variable(
83-
self.workflow_manage.chat_context)
83+
self.workflow_manage.parentWorkflowManage.chat_context)
8484
else:
8585
self.workflow_manage.get_chat_info().set_chat_variable(self.workflow_manage.chat_context)
8686
return NodeResult({'variable_list': variable_list, 'result_list': result_list}, {})

0 commit comments

Comments
 (0)