fix: linting

This commit is contained in:
Otavio Brito 2026-08-21 13:51:09 -03:00
parent 7e912a6971
commit 8e8972171b

View file

@ -127,8 +127,7 @@ class DeepSeekChatConfig(OpenAIGPTConfig):
for message in messages:
content = message.get("content")
if isinstance(content, list) and any(
not isinstance(block, dict)
or block.get("type") not in (None, "text", "input_text", "output_text")
not isinstance(block, dict) or block.get("type") not in (None, "text", "input_text", "output_text")
for block in content
):
continue