pub enum PlannerAction {
CallTool {
tool_name: String,
payload: Value,
},
Respond {
message: AgentMessage,
},
Terminate,
}
Expand description
High-level actions a planner can request from the runtime.
Variants§
Trait Implementations§
Source§impl Clone for PlannerAction
impl Clone for PlannerAction
Source§fn clone(&self) -> PlannerAction
fn clone(&self) -> PlannerAction
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 PlannerAction
impl Debug for PlannerAction
Source§impl<'de> Deserialize<'de> for PlannerAction
impl<'de> Deserialize<'de> for PlannerAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PlannerAction
impl RefUnwindSafe for PlannerAction
impl Send for PlannerAction
impl Sync for PlannerAction
impl Unpin for PlannerAction
impl UnwindSafe for PlannerAction
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