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
typing_extensions Annotated
Ishaan Jaffc6a9e8cafe2c
diff --git a/litellm/types/llms/openai.py b/litellm/types/llms/openai.pyindex 0d28315e647..58cb2ab479d 100644--- a/litellm/types/llms/openai.py+++ b/litellm/types/llms/openai.py@@ -1,17 +1,6 @@from enum import Enumfrom os import PathLike-from typing import (- IO,- Annotated,- Any,- Iterable,- List,- Literal,- Mapping,- Optional,- Tuple,- Union,-)+from typing import IO, Any, Iterable, List, Literal, Mapping, Optional, Tuple, Unionimport httpxfrom openai._legacy_response import (@@ -62,7 +51,7 @@ from openai.types.responses.response_create_params import (ToolParam,)from pydantic import BaseModel, Discriminator, Field, PrivateAttr-from typing_extensions import Dict, Required, TypedDict, override+from typing_extensions import Annotated, Dict, Required, TypedDict, overrideFileContent = Union[IO[bytes], bytes, PathLike]