pub trait InvocationContext: CallbackContext {
// Required methods
fn agent(&self) -> Arc<dyn Agent>;
fn memory(&self) -> Option<Arc<dyn Memory>>;
fn session(&self) -> &dyn Session;
fn run_config(&self) -> &RunConfig;
fn end_invocation(&self);
fn ended(&self) -> bool;
}Expand description
Core traits and types.
Always available regardless of feature flags. Includes: