fix: Variable splitting and parameter extraction result in data loss when there is a form collection node (#4236)

This commit is contained in:
shaohuzhang1 2025-10-22 17:10:27 +08:00 committed by GitHub
parent 173994e65a
commit 9c6bf019c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ class BaseParameterExtractionNode(IParameterExtractionNode):
def save_context(self, details, workflow_manage):
for key, value in details.get('result').items():
self.context['key'] = value
self.context[key] = value
self.context['result'] = details.get('result')
def execute(self, input_variable, variable_list, model_params_setting, model_id, **kwargs) -> NodeResult:

View File

@ -34,7 +34,7 @@ def smart_jsonpath_search(data: dict, path: str):
class BaseVariableSplittingNode(IVariableSplittingNode):
def save_context(self, details, workflow_manage):
for key, value in details.get('result').items():
self.context['key'] = value
self.context[key] = value
self.context['result'] = details.get('result')
def execute(self, input_variable, variable_list, **kwargs) -> NodeResult: