adding status parameter as optinal for FileObject (#17431)

This commit is contained in:
Felipe Garé 2025-12-03 16:00:18 -03:00 committed by GitHub
parent 0a7602bb7c
commit 5ecebe2a57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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