This commit is contained in:
Billy Bao 2025-11-14 17:09:21 +08:00
parent 9099b78839
commit e33a1a61c5

View file

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