SystemReminder

Trait SystemReminder 

pub trait SystemReminder: Send + Sync {
    // Required methods
    fn id(&self) -> &str;
    fn remind<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        ctx: &'life1 ToolCallContext<'life2>,
    ) -> Pin<Box<dyn Future<Output = Option<String>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             Self: 'async_trait;
}
Expand description

System reminder for generating reminder messages.

Required Methods§

fn id(&self) -> &str

Unique identifier for this reminder.

fn remind<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, ctx: &'life1 ToolCallContext<'life2>, ) -> Pin<Box<dyn Future<Output = Option<String>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Generate a reminder message.

Implementors§