From 4ae21bcf1faaa3c3656ca4f2c0a6864214dcdada Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Tue, 31 Dec 2024 11:00:05 +0800 Subject: [PATCH] fix: Embedded application displays incomplete data (#1954) --- .../step_node/application_node/impl/base_application_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/application/flow/step_node/application_node/impl/base_application_node.py b/apps/application/flow/step_node/application_node/impl/base_application_node.py index c6bb29be5bf..e6de4cc97ca 100644 --- a/apps/application/flow/step_node/application_node/impl/base_application_node.py +++ b/apps/application/flow/step_node/application_node/impl/base_application_node.py @@ -136,7 +136,7 @@ def get_answer_list(self) -> List[Answer] | None: if self.answer_text is None: return None application_node_dict = self.context.get('application_node_dict') - if application_node_dict is None: + if application_node_dict is None or len(application_node_dict) == 0: return [ Answer(self.answer_text, self.view_type, self.runtime_node_id, self.workflow_params['chat_record_id'], self.context.get('child_node'))]