Skip to main content

startVotingAgents

client.agentDeliberation.startVotingAgents(id: string, data?: StartVotingAgentsRequest): Promise<unknown>

Starts voting agents for a deliberation.

Launches the voting agents so they can evaluate the submitted responses and cast their votes.

Parameters​

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the deliberation
dataStartVotingAgentsRequestNoOptional configuration for the voting agent startup

Returns​

Promise<unknown> — A promise that resolves when the voting agents have been started

Example​

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.agentDeliberation.startVotingAgents('id');
console.log(result);