openai types

This commit is contained in:
Ishaan Jaffer
2025-09-27 15:43:08 -07:00
parent 66ca61c6e7
commit 9569b98366
+1 -1
View File
@@ -44,7 +44,7 @@ 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
Text as ResponseText, # type: ignore[attr-defined]
)
except (ImportError, AttributeError):
# Fall back to the concrete config type available in all SDK versions