string_predicate

Function string_predicate 

Source
pub fn string_predicate(
    allowed_tools: Vec<String>,
) -> Box<dyn Fn(&dyn Tool) -> bool + Sync + Send>
Available on crate feature tools only.
Expand description

Creates a predicate that allows only tools with names in the provided list