You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Anchor timestamp after which the expiration policy applies.
25
+
/// </summary>
26
+
publicenumFileUploadExpirationAnchor
27
+
{
28
+
/// <summary>
29
+
/// Anchor to the file creation timestamp.
30
+
/// </summary>
31
+
CreatedAt
32
+
}
33
+
34
+
/// <summary>
35
+
/// Expiration policy for a file. By default, files with purpose=batch expire after 30 days and all other files are persisted until they are manually deleted.
36
+
/// </summary>
37
+
publicclassFileUploadExpiration
38
+
{
39
+
/// <summary>
40
+
/// Anchor timestamp after which the expiration policy applies. Supported anchors: created_at.
@@ -227,7 +228,7 @@ public async Task<HttpCallResult<TornadoFile>> Upload(string filePath, FilePurpo
227
228
#endif
228
229
stringfinalFileName=fileName??(resolvedProvider.ProviderisLLmProviders.Google?Guid.NewGuid().ToString():Path.GetFileName(filePath));// google requires alphanum + dashes, up to 40 chars
0 commit comments