mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
fix mypy typng
This commit is contained in:
parent
60bda85ad1
commit
0dd0c773e2
1 changed files with 2 additions and 2 deletions
|
|
@ -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 ( # type: ignore[attr-defined]
|
||||
Text as ResponseText,
|
||||
from openai.types.responses.response_create_params import (
|
||||
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