mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix linting error
This commit is contained in:
parent
ea81cc2597
commit
ffa6ca6212
1 changed files with 2 additions and 2 deletions
|
|
@ -61,8 +61,8 @@ def normalize_choice(choice: dict[str, object]) -> dict[str, object]:
|
|||
for item in rc
|
||||
if isinstance(item, dict)
|
||||
]
|
||||
choice[key]["thinking_blocks"] = thinking_blocks
|
||||
choice[key]["reasoning_content"] = "\n".join(b["thinking"] for b in thinking_blocks if b["thinking"]) or None
|
||||
carrier["thinking_blocks"] = thinking_blocks
|
||||
carrier["reasoning_content"] = "\n".join(b["thinking"] for b in thinking_blocks if b["thinking"]) or None
|
||||
return choice
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue