Interface TextChatMessageControl

The definition of a control message.

interface TextChatMessageControl {
    content: string;
    name?: string;
    role: "control";
}

Hierarchy (view full)

Properties

Properties

content: string

The contents of the control message. Depending on the model, an example would be "thinking" for Granite reasoning models.

name?: string

An optional name for the participant.

role: "control"

The role of the messages author. Note that this parameter is case sensitive, make sure to use lower case.