Skip to content

Commit 416126c

Browse files
committed
fix: When extracting parameters, input parameters that are not strings result in the node being unable to execute
1 parent 871e810 commit 416126c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/application/flow/step_node/parameter_extraction_node/impl/base_parameter_extraction_node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def save_context(self, details, workflow_manage):
9191
self.context['request'] = details.get('request')
9292

9393
def execute(self, input_variable, variable_list, model_params_setting, model_id, **kwargs) -> NodeResult:
94+
input_variable = str(input_variable)
9495
self.context['request'] = input_variable
9596
if model_params_setting is None:
9697
model_params_setting = get_default_model_params_setting(model_id)

0 commit comments

Comments
 (0)