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.
An uploadable file value. Can be a Node.js
Buffer, aBlob, or a Node.jsReadableStream. Pass aReadableStreamto avoid loading the file into memory — for example, when forwarding an incoming HTTP upload directly to the assistant without buffering on disk.Note:
ReadableStreaminputs are sent in a single attempt. Automatic retries are not supported because the stream is consumed after the first read and cannot be replayed.