diff --git a/litellm/types/llms/openai.py b/litellm/types/llms/openai.py index 93410410818..73e031f9893 100644 --- a/litellm/types/llms/openai.py +++ b/litellm/types/llms/openai.py @@ -43,8 +43,8 @@ from openai.types.responses.response import ( # Handle OpenAI SDK version compatibility for Text type try: - from openai.types.responses.response_create_params import ( - Text as ResponseText, # type: ignore[attr-defined] + from openai.types.responses.response_create_params import ( # type: ignore[attr-defined] + Text as ResponseText, ) except (ImportError, AttributeError): # Fall back to the concrete config type available in all SDK versions