pub struct DebateConfig {
pub agents: Vec<DebateAgent>,
pub rounds: u32,
pub judge: Option<DebateJudgeConfig>,
pub synthesis_guidance: Option<String>,
}Expand description
Complete configuration for a TaskNodeKind::Debate node.
Embedded directly in the node, analogous to TaskNodeKind::Team’s
subgraph field. The Director populates this when it chooses the
debate kind; the user may edit it in the PlanEditor before approval.
Fields§
§agents: Vec<DebateAgent>The agents that participate in each round. The Director caps this at 4; the frontend plan editor enforces ≤ 4 via UI constraints.
rounds: u32Number of rounds to run (minimum 1). The Director caps this at 3; the frontend plan editor allows up to 5.
judge: Option<DebateJudgeConfig>Optional judge configuration. When None no early-stop check is
performed and all rounds are always executed.
synthesis_guidance: Option<String>Optional additional instruction passed to the synthesis LLM after all rounds complete. Useful for domain-specific framing of the verdict.
Trait Implementations§
Source§impl Clone for DebateConfig
impl Clone for DebateConfig
Source§fn clone(&self) -> DebateConfig
fn clone(&self) -> DebateConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DebateConfig
impl Debug for DebateConfig
Source§impl<'de> Deserialize<'de> for DebateConfig
impl<'de> Deserialize<'de> for DebateConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DebateConfig
impl RefUnwindSafe for DebateConfig
impl Send for DebateConfig
impl Sync for DebateConfig
impl Unpin for DebateConfig
impl UnwindSafe for DebateConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more