Theia API Documentation v1.73.0
    Preparing search index...
    interface AIChatTreeInputArgs {
        branch?: ChatHierarchyBranch<ChatRequestModel>;
        initialValue?: string;
        node: EditableRequestNode;
        onCancel?: (requestModel: ChatRequestModel) => void;
        onDeleteChangeSet?: (requestModel: ChatRequestModel) => void;
        onDeleteChangeSetElement?: (
            requestModel: ChatRequestModel,
            index: number,
        ) => void;
        onQuery: (
            query: string,
            modeId?: string,
            capabilityOverrides?: Record<string, boolean>,
            genericCapabilitySelections?: GenericCapabilitySelections,
            serverToolSelections?: Record<string, string[]>,
        ) => Promise<void>;
        onUnpin?: () => void;
    }
    Index

    Properties

    The branch of the chat tree for this request node (used by the input widget for state tracking).

    initialValue?: string
    onCancel?: (requestModel: ChatRequestModel) => void
    onDeleteChangeSet?: (requestModel: ChatRequestModel) => void
    onDeleteChangeSetElement?: (
        requestModel: ChatRequestModel,
        index: number,
    ) => void
    onQuery: (
        query: string,
        modeId?: string,
        capabilityOverrides?: Record<string, boolean>,
        genericCapabilitySelections?: GenericCapabilitySelections,
        serverToolSelections?: Record<string, string[]>,
    ) => Promise<void>
    onUnpin?: () => void