fix(responses): add summary via model copy

Keep reasoning summary on the wire without widening the generic response schema.
This commit is contained in:
Humaira Ambreen 2026-09-27 12:51:14 +05:30
parent cb92541698
commit c504ed59c2

View file

@ -2605,9 +2605,8 @@ class LiteLLMCompletionResponsesConfig:
for text in (reasoning_content,)
if text
],
summary=[],
encrypted_content=encrypted_content,
)
).model_copy(update={"summary": []})
]
return []