Uploadable: Buffer | Blob | NodeJS.ReadableStream

An uploadable file value. Can be a Node.js Buffer, a Blob, or a Node.js ReadableStream. Pass a ReadableStream to avoid loading the file into memory — for example, when forwarding an incoming HTTP upload directly to the assistant without buffering on disk.

Note: ReadableStream inputs are sent in a single attempt. Automatic retries are not supported because the stream is consumed after the first read and cannot be replayed.