mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
fix: linting
This commit is contained in:
parent
7e912a6971
commit
8e8972171b
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue