Interface: Message
Defined in: types/llm.ts:305
Represents a message in the conversation.
Properties
audioWaveform?
optionalaudioWaveform:Float32Array<ArrayBufferLike>
Defined in: types/llm.ts:320
Optional fp32 mono 16 kHz PCM buffer. Only valid on user messages for
models with the 'audio' capability. The controller forwards it to the
native generateMultimodal path.
content
content:
string
Defined in: types/llm.ts:307
Content of the message.
mediaPath?
optionalmediaPath:string
Defined in: types/llm.ts:314
Optional local file path to media (image, audio, etc.).
Only valid on user messages.
Either file:///absolute/path or /absolute/path is accepted; the
controller normalizes the path before passing it to native code.
role
role:
MessageRole
Defined in: types/llm.ts:306
Role of the message sender of type MessageRole.