mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
style(responses): format line length in transformation.py
This commit is contained in:
parent
3efd070c95
commit
2660b75030
1 changed files with 1 additions and 5 deletions
|
|
@ -704,11 +704,7 @@ class LiteLLMResponsesTransformationHandler(CompletionTransformationBridge):
|
|||
summary_texts: Final = [s["text"] for s in reasoning_item["summary"] if s.get("text")]
|
||||
if summary_texts:
|
||||
step_text: Final = " ".join(summary_texts)
|
||||
reasoning_content = (
|
||||
f"{reasoning_content} {step_text}".strip()
|
||||
if reasoning_content
|
||||
else step_text
|
||||
)
|
||||
reasoning_content = f"{reasoning_content} {step_text}".strip() if reasoning_content else step_text
|
||||
|
||||
elif isinstance(item, ResponseOutputMessage):
|
||||
for content in item.content:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue