Theia API Documentation v1.77.0
    Preparing search index...

    Class LanguageModelChatMessage

    Represents a message in a chat. Can assume different roles, like user or assistant.

    Index

    A string or heterogeneous array of things that a message can contain as content. Some parts may be message-type specific for some models.

    name: string | undefined

    The optional name of a user for this message.

    The role of this message.