Skip to main content

Interface: IInlineFilePart

Defined in: internal/llm-client/types.ts:167

A file inlined for the model. Built by the gateway from FileStore bytes.

Properties​

bytes​

bytes: Uint8Array

Defined in: internal/llm-client/types.ts:173

Empty in a trace entry and in a stored run: the bytes stay in the FileStore only, a resume loads them again by fileId (D108).


fileId​

fileId: string

Defined in: internal/llm-client/types.ts:177

Id of the stored file the bytes come from.


kind​

kind: INLINE_FILE

Defined in: internal/llm-client/types.ts:169

The discriminator of the part.


mime​

mime: string

Defined in: internal/llm-client/types.ts:171

The media type the provider reads the bytes as.


name​

name: string

Defined in: internal/llm-client/types.ts:175

The file name shown to the model.


size​

size: number

Defined in: internal/llm-client/types.ts:179

Number of bytes of the file; kept where bytes is emptied.