ConsensusStrategy

Strategy for resolving consensus across multiple model responses.

Usage

Source

ConsensusStrategy

Attributes

MAJORITY

The response most similar to the majority wins.

UNANIMOUS

All responses must substantially agree; otherwise consensus fails.

MOST_COMMON

Select the most frequently occurring response (exact or near-match).

WEIGHTED
Responses are weighted by model quality/cost tier (higher tier = more weight).