MediaRef
Defined in: agents/src/types.ts:152
Bytes the host keeps under an id. The SDK stores only the reference and asks
host.loadMedia for the bytes right before each model call. The bytes behind an id must
never change: an earlier byte that changes re-bills the provider’s whole prompt cache.
Properties
Section titled “Properties”id: string;Defined in: agents/src/types.ts:154
mimeType
Section titled “mimeType”mimeType: ImageMimeType | FileMimeType;Defined in: agents/src/types.ts:155
type: "media";Defined in: agents/src/types.ts:153