mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
fix: add reason
This commit is contained in:
parent
8e8972171b
commit
ef2b65020b
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ class DeepSeekChatConfig(OpenAIGPTConfig):
|
|||
as-is. All other messages keep the historical behavior of collapsing
|
||||
content lists to a plain string.
|
||||
"""
|
||||
text_only_messages: Final[list[AllMessageValues]] = []
|
||||
text_only_messages: Final[list[AllMessageValues]] = [] # mutable-ok: collapse helper requires a mutable list
|
||||
for message in messages:
|
||||
content = message.get("content")
|
||||
if isinstance(content, list) and any(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue