Interface IOutlineMessage

Interface representing a message in the outline system. Used to structure messages stored in the outline history, typically for user, assistant, or system interactions. IOutlineMessage

interface IOutlineMessage {
    content: string;
    role: "user" | "assistant" | "system";
}

Properties

Properties

content: string

The content of the message. Contains the raw text or param of the message, used in history storage or processing.

role: "user" | "assistant" | "system"

The role of the message sender, either user, assistant, or system. Determines the context or source of the message in the outline history.