From 5f3234657a3593a5ca7e78f030e4cfaf90071485 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 13 Nov 2024 16:44:28 +0800 Subject: [PATCH] fix issues #10055 Signed-off-by: root --- api/core/app/apps/advanced_chat/app_generator.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/core/app/apps/advanced_chat/app_generator.py b/api/core/app/apps/advanced_chat/app_generator.py index 0b88345061..258c0948f4 100644 --- a/api/core/app/apps/advanced_chat/app_generator.py +++ b/api/core/app/apps/advanced_chat/app_generator.py @@ -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,