Latest spec added a new property in InternalFileUploadOptions: ExpiresAfter.
Today, UploadFileAsync is GA and follows our existing OpenAI SDK pattern:
- Required properties are exposed as method parameters
- Optional properties live in an options class
That pattern explains why the current InternalFileUploadOptions properties are exposed as UploadFileAsync parameters (they were all required). Now ExpiresAfter is optional, so we need to decide how to expose it without creating inconsistency or churn.
Latest spec added a new property in
InternalFileUploadOptions:ExpiresAfter.Today,
UploadFileAsyncis GA and follows our existing OpenAI SDK pattern:That pattern explains why the current
InternalFileUploadOptionsproperties are exposed asUploadFileAsyncparameters (they were all required). NowExpiresAfteris optional, so we need to decide how to expose it without creating inconsistency or churn.