pub trait OutputProcessor: Send + Sync {
// Required method
fn process(&self, output: String) -> String;
}Expand description
Trait for processing tool output before adding it to the message context.
Implementations MUST be sync (no I/O) and fast.