AttachmentPart
Defined in: react/src/protocol.ts:98
A file shown in the conversation. Showing it does not make the model read it: how a file reaches the model is the host’s decision.
Properties
Section titled “Properties”id: string;Defined in: react/src/protocol.ts:100
mediaType
Section titled “mediaType”mediaType: string;Defined in: react/src/protocol.ts:102
name: string;Defined in: react/src/protocol.ts:101
optional size?: number;Defined in: react/src/protocol.ts:104
Bytes.
type: "attachment";Defined in: react/src/protocol.ts:99
optional url?: string;Defined in: react/src/protocol.ts:107
Kept exactly as the host sent it. A renderer checks the scheme before it makes a link or an image out of it.