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

    Fallback content for unknown content types. Used when a deserializer is not available (e.g., content from removed extension).

    interface UnknownChatResponseContent {
        data: unknown;
        fallbackMessage?: string;
        kind: "unknown";
        originalKind: 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
    fallbackMessage?: string
    kind: "unknown"
    originalKind: 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