Skip to content

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]

fix(containers): Fix Python 3.10 compatibility for OpenAIContainerConfig

Chesars25ff25d1efec
diff --git a/litellm/llms/openai/containers/transformation.py b/litellm/llms/openai/containers/transformation.py
index e67bfbe0c62..e8ab6190c74 100644
--- a/litellm/llms/openai/containers/transformation.py
+++ b/litellm/llms/openai/containers/transformation.py
@@ -29,7 +29,7 @@ if TYPE_CHECKING:
BaseLLMException = _BaseLLMException
else:
LiteLLMLoggingObj = Any
- BaseContainerConfig = Any
+ from ...base_llm.containers.transformation import BaseContainerConfig
BaseLLMException = Any