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

    Implemented by

    Index

    Properties

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

    ID of the immediate parent session that delegated this one. Undefined for top-level sessions.

    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.

    Aggregated status of this session, derived from the state of its last request. Changes are announced via onDidChange with a ChatSessionStatusChangedEvent.

    suggestions: readonly ChatSuggestion[]

    Methods