pub struct Decision {
pub situation: String,
pub task: Vec<String>,
pub tool_calls: Vec<ToolCall>,
pub completed: bool,
}Expand description
Agent’s decision: what to do next.
Fields§
§situation: StringAgent’s assessment of the current situation.
task: Vec<String>Task breakdown (reasoning steps).
tool_calls: Vec<ToolCall>Tool calls to execute.
completed: boolIf true, the agent considers the task done.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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