mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix(responses): add summary via model copy
Keep reasoning summary on the wire without widening the generic response schema.
This commit is contained in:
parent
cb92541698
commit
c504ed59c2
1 changed files with 1 additions and 2 deletions
|
|
@ -2605,9 +2605,8 @@ class LiteLLMCompletionResponsesConfig:
|
|||
for text in (reasoning_content,)
|
||||
if text
|
||||
],
|
||||
summary=[],
|
||||
encrypted_content=encrypted_content,
|
||||
)
|
||||
).model_copy(update={"summary": []})
|
||||
]
|
||||
return []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue