mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
openai types
This commit is contained in:
parent
66ca61c6e7
commit
9569b98366
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue