pub type AgentToolStreamCallback = Arc<dyn Fn(&AgentResponseUpdate) + Send + Sync>;Expand description
A callback receiving each AgentResponseUpdate streamed by an agent
running as a tool — see AsToolOptions::stream_callback.
Aliased Type§
pub struct AgentToolStreamCallback { /* private fields */ }