From 7d47f97354ecff03d7619e103abcd5ae4867cab6 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Thu, 27 Feb 2025 19:34:36 +0800 Subject: [PATCH] fix: Sending error when extracting multiple forms and documents in the workflow (#2434) --- .../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 34508b7bd..6ddcb6e2f 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 @@ splitter = '\n`-----------------------------------`\n' 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):