Skip to main content

ToolDiagnosticsSink

Trait ToolDiagnosticsSink 

Source
pub trait ToolDiagnosticsSink: Send + Sync {
    // Required method
    fn record<'life0, 'async_trait>(
        &'life0 self,
        event: ToolFailureEvent,
    ) -> Pin<Box<dyn Future<Output = Result<(), AgentError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Receives sanitized diagnostics events from the executor.

Required Methods§

Source

fn record<'life0, 'async_trait>( &'life0 self, event: ToolFailureEvent, ) -> Pin<Box<dyn Future<Output = Result<(), AgentError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§