Theia API Documentation v1.74.0
    Preparing search index...
    interface CompactionChatResponseContent {
        data: unknown;
        kind: "compaction";
        provider: string;
        summary?: string;
        asDisplayString?(): undefined | string;
        asString?(): undefined | string;
        merge?(nextChatResponseContent: ChatResponseContent): boolean;
        toLanguageModelMessage?(): LanguageModelMessage | LanguageModelMessage[];
        toSerializable?(): SerializableChatResponseContentData;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    data: unknown
    kind: "compaction"
    provider: string
    summary?: string

    Methods

    • 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 undefined | string