Skip to main content

should_route

Function should_route 

Source
pub fn should_route(
    output: &str,
    ctx: &RoutingContext,
    config: &RlmConfig,
) -> RoutingResult
Expand description

Decide whether tool output should be routed through RLM.

Gated on output_capability: only OutputCapability::BulkSummarizable tools may be destructively summarised. ExactContent and Unknown fail closed.