fix linting error

This commit is contained in:
Yamac Ay 2026-09-30 11:31:54 +02:00
parent ea81cc2597
commit ffa6ca6212
No known key found for this signature in database
GPG key ID: D113B438819CA628

View file

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