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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix: fix mypy errors
Krrish Dholakiada8b4b071814
diff --git a/litellm/types/llms/openai.py b/litellm/types/llms/openai.pyindex 93410410818..3bf4a5c3822 100644--- a/litellm/types/llms/openai.py+++ b/litellm/types/llms/openai.py@@ -43,9 +43,12 @@ from openai.types.responses.response import (# Handle OpenAI SDK version compatibility for Text typetry:+ # fmt: offfrom openai.types.responses.response_create_params import (Text as ResponseText, # type: ignore[attr-defined])++ # fmt: onexcept (ImportError, AttributeError):# Fall back to the concrete config type available in all SDK versionsfrom openai.types.responses.response_text_config_param import (