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]

adding status parameter as optinal for FileObject (#17431)

Felipe Garé5ecebe2a5781
diff --git a/litellm/types/llms/openai.py b/litellm/types/llms/openai.py
index 61d58e4c86d..20b0cb4b2c3 100644
--- a/litellm/types/llms/openai.py
+++ b/litellm/types/llms/openai.py
@@ -303,7 +303,7 @@ class OpenAIFileObject(BaseModel):
`fine-tune`, `fine-tune-results`, `vision`, and `user_data`.
"""
- status: Literal["uploaded", "processed", "error"]
+ status: Optional[Literal["uploaded", "processed", "error"]]
"""Deprecated.
The current status of the file, which can be either `uploaded`, `processed`, or