CoAgent8 - Source API
    Preparing search index...

    Interface ConsentDecision

    Whether a model runs, needs the user's approval first, or never runs, and why.

    interface ConsentDecision {
        ask: boolean;
        basis: ConsentBasis;
        deny: boolean;
        offerRemember: boolean;
        reason: string;
    }
    Index
    ask: boolean

    The user must approve the model before it runs.

    deny: boolean

    The model never runs (models.deny); ask is then false.

    offerRemember: boolean

    The approval may be remembered: the model has no price, or only an approximate one.

    reason: string

    One or two sentences for the user and, on refusal, the caller; they name the price when one is known.