Theia API Documentation v1.77.0
    Preparing search index...
    interface ChatResponseContent {
        kind: string;
        asDisplayString?(): string | undefined;
        asString?(): string | undefined;
        merge?(nextChatResponseContent: ChatResponseContent): boolean;
        toLanguageModelMessage?(): LanguageModelMessage | LanguageModelMessage[];
        toSerializable?(): SerializableChatResponseContentData;
    }

    Hierarchy (View Summary)

    Index
    kind: string
    • Represents the content as a string. Returns undefined if the content is purely informational and/or visual and should not be included in the overall representation of the response.

      Returns string | undefined