From a2debaed2c4c5a1c55ed25827cfd2190def44fc7 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Thu, 27 Feb 2025 19:33:11 +0800 Subject: [PATCH] fix: Sending error when extracting multiple forms and documents in the workflow --- .../document_extract_node/impl/base_document_extract_node.py | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/application/flow/step_node/document_extract_node/impl/base_document_extract_node.py b/apps/application/flow/step_node/document_extract_node/impl/base_document_extract_node.py index 34508b7bd68..6ddcb6e2fca 100644 --- a/apps/application/flow/step_node/document_extract_node/impl/base_document_extract_node.py +++ b/apps/application/flow/step_node/document_extract_node/impl/base_document_extract_node.py @@ -40,7 +40,6 @@ def bytes_to_uploaded_file(file_bytes, file_name="file.txt"): class BaseDocumentExtractNode(IDocumentExtractNode): def save_context(self, details, workflow_manage): self.context['content'] = details.get('content') - self.answer_text = details.get('content') def execute(self, document, chat_id, **kwargs):