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]

refactor: update Delta

Krrish Dholakia2fd2310b8efa
diff --git a/litellm/types/utils.py b/litellm/types/utils.py
index 7ff02f3ad9f..1dabeee9010 100644
--- a/litellm/types/utils.py
+++ b/litellm/types/utils.py
@@ -745,7 +745,7 @@ class Delta(OpenAIObject):
if images is not None:
self.images = images
else:
- del self.image
+ del self.images
if function_call is not None and isinstance(function_call, dict):
self.function_call = FunctionCall(**function_call)