Skip to main content

evaluate_message

Function evaluate_message 

Source
pub fn evaluate_message(
    message: &str,
    engine: Option<&dyn DecisionEngine>,
    settings: impl Into<GateSettings>,
) -> GateVerdict
Expand description

Decide one message. The Stop hook and hikmah gate-explain both call this, so the benchmark measures exactly the code path the hook runs.