fix: The sub application cannot have a conversation (#3522)

This commit is contained in:
shaohuzhang1 2025-07-09 10:36:59 +08:00 committed by GitHub
parent 3b4702e533
commit cff1f6c80b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ class IApplicationNode(INode):
if 'file_id' not in audio:
raise ValueError(
_("Parameter value error: The uploaded audio lacks file_id, and the audio upload fails."))
return self.execute(**self.node_params_serializer.data, **self.flow_params_serializer.data,
return self.execute(**{**self.flow_params_serializer.data, **self.node_params_serializer.data},
app_document_list=app_document_list, app_image_list=app_image_list,
app_audio_list=app_audio_list,
message=str(question), **kwargs)

View File

@ -238,7 +238,7 @@ class ChatSerializers(serializers.Serializer):
'workspace_id': workspace_id,
'debug': debug,
'chat_user': chat_info.get_chat_user(),
'application_id': chat_info.application_id},
'application_id': str(chat_info.application_id)},
WorkFlowPostHandler(chat_info),
base_to_response, form_data, image_list, document_list, audio_list,
other_list,