pub struct StepDecision<A> {
pub situation: String,
pub task: Vec<String>,
pub completed: bool,
pub actions: Vec<A>,
}Expand description
Result of one LLM decision step (STAR: Situation → Task → Action).
Fields§
§situation: StringS — Situation: current state assessment.
task: Vec<String>T — Task: remaining steps (first = current).
completed: boolWhether the overall task is complete (R — Result).
actions: Vec<A>A — Action: tools to execute.
Auto Trait Implementations§
impl<A> Freeze for StepDecision<A>
impl<A> RefUnwindSafe for StepDecision<A>where
A: RefUnwindSafe,
impl<A> Send for StepDecision<A>where
A: Send,
impl<A> Sync for StepDecision<A>where
A: Sync,
impl<A> Unpin for StepDecision<A>where
A: Unpin,
impl<A> UnsafeUnpin for StepDecision<A>
impl<A> UnwindSafe for StepDecision<A>where
A: UnwindSafe,
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