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]

fixing optional parameter default value (#17434)

Felipe Garé82a8134d7a1a
diff --git a/litellm/types/llms/openai.py b/litellm/types/llms/openai.py
index 20b0cb4b2c3..9fb97d47d17 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: Optional[Literal["uploaded", "processed", "error"]]
+ status: Optional[Literal["uploaded", "processed", "error"]] = None
"""Deprecated.
The current status of the file, which can be either `uploaded`, `processed`, or