pub struct MagenticStallInterventionRequest {
pub task: String,
pub reason: String,
pub stall_count: usize,
pub max_stall_count: usize,
pub round: usize,
pub resets_so_far: usize,
pub facts: String,
pub plan: String,
pub last_agent: String,
}Expand description
The payload of the request-info event emitted when stall intervention is
enabled and the round loop detects a stall. Rust analogue of Python’s
_MagenticHumanInterventionRequest narrowed to its kind=STALL fields
(stall_count, max_stall_count, task_text, facts_text, plan_text,
last_agent, stall_reason), plus round/resets_so_far for context.
Fields§
§task: StringThe original task text.
reason: StringA human-readable description of why progress stalled (no forward
progress and/or looping). Python’s stall_reason.
stall_count: usizeThe consecutive stall count that tripped the threshold.
max_stall_count: usizeThe configured stall threshold (max_stall_count).
round: usizeThe coordination round the stall was detected on.
resets_so_far: usizeHow many replans (resets) have already happened this run.
facts: StringThe current fact sheet text (empty when the manager tracks no ledger).
plan: StringThe current plan text (empty when the manager tracks no ledger).
last_agent: StringThe agent the ledger last nominated to speak. Python’s last_agent.
Trait Implementations§
Source§impl Clone for MagenticStallInterventionRequest
impl Clone for MagenticStallInterventionRequest
Source§fn clone(&self) -> MagenticStallInterventionRequest
fn clone(&self) -> MagenticStallInterventionRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more