Compare commits

...

2 Commits

Author SHA1 Message Date
liuhaoran
5cc6961e60
Merge 5f3234657a into 365cb4b368 2024-11-15 09:22:42 +08:00
root
5f3234657a fix issues #10055
Signed-off-by: root <root@localhost.localdomain>
2024-11-13 16:44:28 +08:00

View File

@ -125,9 +125,7 @@ class AdvancedChatAppGenerator(MessageBasedAppGenerator):
app_config=app_config,
file_upload_config=file_extra_config,
conversation_id=conversation.id if conversation else None,
inputs=conversation.inputs
if conversation
else self._prepare_user_inputs(user_inputs=inputs, app_config=app_config),
inputs=inputs if conversation else self._prepare_user_inputs(user_inputs=inputs, app_config=app_config),
query=query,
files=file_objs,
parent_message_id=args.get("parent_message_id") if invoke_from != InvokeFrom.SERVICE_API else UUID_NIL,