pub type OnUserMessageCallback = Arc<dyn Fn(InvocationContext, Content) -> BoxFuture<'static, Result<Option<Content>, AgentError>> + Send + Sync>;Expand description
Invoked when the user sends a message; may return a replacement message.
Aliased Typeยง
pub struct OnUserMessageCallback { /* private fields */ }