Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

style(responses): apply ruff formatting to transformation.py

tusharjamunkarcd66b34b45da
diff --git a/litellm/responses/litellm_completion_transformation/transformation.py b/litellm/responses/litellm_completion_transformation/transformation.py
index 13119085e46..10e56e85bff 100644
--- a/litellm/responses/litellm_completion_transformation/transformation.py
+++ b/litellm/responses/litellm_completion_transformation/transformation.py
@@ -2273,9 +2273,7 @@ class LiteLLMCompletionResponsesConfig:
finish_reason = choices[0].finish_reason
status: Final[ResponsesAPIStatus] = (
- LiteLLMCompletionResponsesConfig._map_chat_completion_finish_reason_to_responses_status(
- finish_reason
- )
+ LiteLLMCompletionResponsesConfig._map_chat_completion_finish_reason_to_responses_status(finish_reason)
)
incomplete_details = getattr(chat_completion_response, "incomplete_details", None)
if incomplete_details is None and status == "incomplete":