Skip to main content
Version: Next

Interface: Message

Defined in: types/llm.ts:282

Represents a message in the conversation.

Properties

content

content: string

Defined in: types/llm.ts:284

Content of the message.


mediaPath?

optional mediaPath: string

Defined in: types/llm.ts:291

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:283

Role of the message sender of type MessageRole.