A developer message in a chat.

interface ChatsDeveloperMessage {
    content: string | ChatsTextContentPart[];
    name?: string;
    role: "developer";
}

Properties

Properties

content: string | ChatsTextContentPart[]

Content of a developer message.

name?: string

Name for the participant. Provides the model information to differentiate between participants of the same role.

role: "developer"

Role of the messages author, in this case should always be "developer".