fix: Sending error when extracting multiple forms and documents in the workflow (#2434)

This commit is contained in:
shaohuzhang1 2025-02-27 19:34:36 +08:00 committed by GitHub
parent badd722f9d
commit 7d47f97354
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):