pub enum AfterToolExecuteAction {
AddSystemReminder(String),
AddUserMessage(String),
State(AnyStateAction),
}Expand description
Actions valid in AfterToolExecute.
Variants§
AddSystemReminder(String)
Append a system-role reminder after the tool result.
AddUserMessage(String)
Append a user-role message after the tool result.
State(AnyStateAction)
Emit a persistent state change.
Implementations§
Trait Implementations§
Source§impl From<AfterToolExecuteAction> for ActionSet<AfterToolExecuteAction>
impl From<AfterToolExecuteAction> for ActionSet<AfterToolExecuteAction>
Source§fn from(a: AfterToolExecuteAction) -> Self
fn from(a: AfterToolExecuteAction) -> Self
Converts to this type from the input type.
Source§impl From<AnyStateAction> for AfterToolExecuteAction
impl From<AnyStateAction> for AfterToolExecuteAction
Source§fn from(sa: AnyStateAction) -> Self
fn from(sa: AnyStateAction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AfterToolExecuteAction
impl !RefUnwindSafe for AfterToolExecuteAction
impl Send for AfterToolExecuteAction
impl !Sync for AfterToolExecuteAction
impl Unpin for AfterToolExecuteAction
impl !UnwindSafe for AfterToolExecuteAction
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