Skip to main content

run_voting

Function run_voting 

Source
pub async fn run_voting(
    llm: Arc<dyn LLMProviderTrait>,
    config: Config,
    ravenfabric: Option<RavenFabricClient>,
    pattern_config: PatternConfig,
) -> Result<()>
Expand description

Run a voting process where multiple agents evaluate options.

Each voter agent independently evaluates the options and provides their choice with reasoning. Results are tallied and the majority decision is reported.