File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,10 +31,11 @@ interface RemoteUrlContext {
3131}
3232
3333/**
34- * Mints a short-lived signed download URL for every attachment that exceeds the inline
35- * threshold on a large-file-capable provider, storing it on `file.remoteUrl`. Providers
36- * with a `remote-url` strategy use it directly; `files-api` providers upload from it later.
37- * Requires cloud storage — without it large files fall back to the (capped) base64 path.
34+ * Resolves every attachment that exceeds the inline threshold on a large-file-capable
35+ * provider to a short-lived signed URL on `file.remoteUrl`. `remote-url` providers send it
36+ * to the model directly; for `files-api` providers it marks the file for upload (the bytes
37+ * are read from storage at upload time). Requires cloud storage — otherwise large files
38+ * fall back to the (capped) base64 path.
3839 *
3940 * The server-only handle fields are first cleared on every file for every provider
4041 * (including inline) so a forged handle on untrusted input can never reach a builder.
You can’t perform that action at this time.
0 commit comments