Theia API Documentation v1.70.0
    Preparing search index...
    interface ChatModel {
        changeSet: ChangeSet;
        context: ChatContextManager;
        id: string;
        location: ChatAgentLocation;
        onDidChange: Event<ChatChangeEvent>;
        rootSessionId?: string;
        settings?: ChatSessionSettings;
        suggestions: readonly ChatSuggestion[];
        getBranches(): ChatHierarchyBranch<ChatRequestModel>[];
        getRequests(): ChatRequestModel[];
        isEmpty(): boolean;
        toSerializable(): SerializedChatModel;
    }

    Implemented by

    Index

    Properties

    changeSet: ChangeSet
    id: string
    onDidChange: Event<ChatChangeEvent>
    rootSessionId?: string

    ID of the root session in the delegation chain. For delegated sessions, this points to the topmost session where task contexts are stored.

    suggestions: readonly ChatSuggestion[]

    Methods