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]

fix: fix reformatting

Krrish Dholakia0ffc81f010b8
diff --git a/litellm/types/llms/openai.py b/litellm/types/llms/openai.py
index aed6bcfb576..56971b91e5d 100644
--- a/litellm/types/llms/openai.py
+++ b/litellm/types/llms/openai.py
@@ -43,12 +43,7 @@ from openai.types.responses.response import (
# Handle OpenAI SDK version compatibility for Text type
try:
- # fmt: off
- from openai.types.responses.response_create_params import (
- Text as ResponseText, # type: ignore[attr-defined]
- )
-
- # fmt: on
+ from openai.types.responses.response_create_params import ( Text as ResponseText ) # type: ignore[attr-defined] # fmt: skip # isort: skip
except (ImportError, AttributeError):
# Fall back to the concrete config type available in all SDK versions
from openai.types.responses.response_text_config_param import (