mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: The sub application cannot have a conversation (#3522)
This commit is contained in:
parent
3b4702e533
commit
cff1f6c80b
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue