Interface AgencyQuorumConfig

Quorum requirements for a parallel fan-out or a panel.

See

AgencyOptions.quorum

interface AgencyQuorumConfig {
    minAgents?: number;
    minProviders?: number;
    minVendors?: number;
    onShortfall?: "error" | "proceed";
}

Properties

minAgents?: number

Minimum number of agents that must SUCCEED. Under parallel the default is 0 (no floor); under panel the seats counted are the healthy ones (those that returned text) and the default is 2 for a roster of two or more.

minProviders?: number

Minimum number of DISTINCT providers among the successful agents (default 0 = no floor). Counted from each result's resolved provider.

minVendors?: number

panel only: minimum number of DISTINCT known vendors (the organization that trained the model) among the healthy seats. An unknown vendor never counts; a pre-built seat never counts.

onShortfall?: "error" | "proceed"

What a shortfall does: 'error' (default) throws AgencyQuorumError before synthesis; 'proceed' logs a warning and synthesizes anyway. Under panel, zero healthy seats throws whatever this says.