build_tool_router

Function build_tool_router 

Source
pub fn build_tool_router(
    strategy: &ToolRoutingStrategy,
    config: Arc<AppConfig>,
) -> Option<Box<dyn ToolRouter>>
Expand description

Build a ToolRouter from a ToolRoutingStrategy and app config.

Returns None for ToolRoutingStrategy::Keyword — no extra router object is needed; the pipeline’s existing keyword path runs as-is.