Struct ReminderPlugin
pub struct ReminderPlugin {
pub clear_after_llm_request: bool,
}Expand description
Plugin that manages system reminders.
Fields§
§clear_after_llm_request: boolWhether to clear reminders after each LLM request.
Implementations§
§impl ReminderPlugin
impl ReminderPlugin
pub fn new() -> ReminderPlugin
pub fn with_clear_after_llm_request(self, clear: bool) -> ReminderPlugin
Trait Implementations§
§impl AgentBehavior for ReminderPlugin
impl AgentBehavior for ReminderPlugin
fn id(&self) -> &str
§fn register_lattice_paths(&self, registry: &mut LatticeRegistry)
fn register_lattice_paths(&self, registry: &mut LatticeRegistry)
Register lattice (CRDT) paths with the registry.
§fn register_state_scopes(&self, registry: &mut StateScopeRegistry)
fn register_state_scopes(&self, registry: &mut StateScopeRegistry)
Register state scopes with the registry.
§fn register_state_action_deserializers(
&self,
registry: &mut StateActionDeserializerRegistry,
)
fn register_state_action_deserializers( &self, registry: &mut StateActionDeserializerRegistry, )
Register state-action deserializers for persisted intent-log replay and recovery.
fn before_inference<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 ReadOnlyContext<'life2>,
) -> Pin<Box<dyn Future<Output = ActionSet<BeforeInferenceAction>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
ReminderPlugin: 'async_trait,
fn behavior_ids(&self) -> Vec<&str>
fn run_start<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 ReadOnlyContext<'life2>,
) -> Pin<Box<dyn Future<Output = ActionSet<LifecycleAction>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn step_start<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 ReadOnlyContext<'life2>,
) -> Pin<Box<dyn Future<Output = ActionSet<LifecycleAction>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn after_inference<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 ReadOnlyContext<'life2>,
) -> Pin<Box<dyn Future<Output = ActionSet<AfterInferenceAction>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn before_tool_execute<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 ReadOnlyContext<'life2>,
) -> Pin<Box<dyn Future<Output = ActionSet<BeforeToolExecuteAction>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn after_tool_execute<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 ReadOnlyContext<'life2>,
) -> Pin<Box<dyn Future<Output = ActionSet<AfterToolExecuteAction>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn step_end<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 ReadOnlyContext<'life2>,
) -> Pin<Box<dyn Future<Output = ActionSet<LifecycleAction>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn run_end<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 ReadOnlyContext<'life2>,
) -> Pin<Box<dyn Future<Output = ActionSet<LifecycleAction>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
§impl Default for ReminderPlugin
impl Default for ReminderPlugin
§fn default() -> ReminderPlugin
fn default() -> ReminderPlugin
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReminderPlugin
impl RefUnwindSafe for ReminderPlugin
impl Send for ReminderPlugin
impl Sync for ReminderPlugin
impl Unpin for ReminderPlugin
impl UnwindSafe for ReminderPlugin
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