pub struct StepDecision<A> {
pub state: String,
pub plan: Vec<String>,
pub completed: bool,
pub actions: Vec<A>,
}Expand description
Result of one LLM decision step.
Fields§
§state: StringCurrent state description (shown to user).
plan: Vec<String>Remaining plan steps (shown to user).
completed: boolWhether the overall task is complete.
actions: Vec<A>Actions to execute this step.
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