Cell API
    Preparing search index...

    Interface AgentErrorEvent

    Sent by AgentEventUtil.stream when the run fails; pi's own events never use this type.

    interface AgentErrorEvent {
        message: string;
        type: "error";
    }
    Index
    message: string
    type: "error"