pub trait OutputProcessor: Send + Sync {
// Required method
fn process(&self, output: String) -> String;
}👎Deprecated since 0.3.0:
Use OutputTransformer instead. OutputProcessor will be removed in v1.0.0. Existing impls work automatically via blanket impl.
Expand description
Trait for processing tool output before adding it to the message context.
Implementations MUST be sync (no I/O) and fast.
§Deprecated
Use OutputTransformer instead.
OutputProcessor is automatically bridged via a blanket impl.