pub struct FlowExplanation {
pub active: Vec<String>,
pub allowed_tools: Vec<String>,
pub blocked_tools: BTreeMap<String, String>,
pub missing_requirements: Vec<String>,
}Expand description
A model-readable explanation of the current control-plane state — the
foundation of why did the assistant ask that?.
Produced by FlowMonitor::explain. Serialize so it can be surfaced to a
model, a devtool, or a log without the model driving control flow.
Fields§
§active: Vec<String>Steps eligible-but-not-done right now.
allowed_tools: Vec<String>Tools currently admitted.
blocked_tools: BTreeMap<String, String>Tools currently blocked, mapped to the reason.
missing_requirements: Vec<String>Required steps not yet done (drives repair).
Trait Implementations§
Source§impl Clone for FlowExplanation
impl Clone for FlowExplanation
Source§fn clone(&self) -> FlowExplanation
fn clone(&self) -> FlowExplanation
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 FlowExplanation
impl Debug for FlowExplanation
Auto Trait Implementations§
impl Freeze for FlowExplanation
impl RefUnwindSafe for FlowExplanation
impl Send for FlowExplanation
impl Sync for FlowExplanation
impl Unpin for FlowExplanation
impl UnwindSafe for FlowExplanation
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