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
add ChatCompletionImageObject in OpenAIChatCompletionAssistantMessage
Sameer Kankuted751fdc90088
diff --git a/litellm/types/llms/openai.py b/litellm/types/llms/openai.pyindex 15e8d1be930..24b18cc488a 100644--- a/litellm/types/llms/openai.py+++ b/litellm/types/llms/openai.py@@ -699,7 +699,15 @@ class OpenAIChatCompletionAssistantMessage(TypedDict, total=False):role: Required[Literal["assistant"]]content: Optional[Union[- str, Iterable[Union[ChatCompletionTextObject, ChatCompletionThinkingBlock]]+ str,+ Iterable[+ Union[+ ChatCompletionTextObject,+ ChatCompletionThinkingBlock,+ ChatCompletionRedactedThinkingBlock,+ ChatCompletionImageObject,+ ]+ ],]]name: Optional[str]