From e33a1a61c5a39c90fdad6b89ef529037fe4c5183 Mon Sep 17 00:00:00 2001 From: Billy Bao Date: Fri, 14 Nov 2025 17:09:21 +0800 Subject: [PATCH] fix --- agent/component/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/component/message.py b/agent/component/message.py index b78cdb90c..555534610 100644 --- a/agent/component/message.py +++ b/agent/component/message.py @@ -178,7 +178,7 @@ class Message(ComponentBase): def _convert_content(self, content): doc_id = get_uuid() - if not self._param.output_format.lower() in {"markdown", "html", "pdf", "docx"}: + if self._param.output_format.lower() not in {"markdown", "html", "pdf", "docx"}: self._param.output_format = "markdown" try: