shared_tools_to_boxes

Function shared_tools_to_boxes 

Source
pub fn shared_tools_to_boxes(tools: &[Arc<dyn ToolT>]) -> Vec<Box<dyn ToolT>>
Expand description

Helper function to convert Vec<Arc> to Vec<Box> This is useful when implementing AgentDeriveT::tools() with shared tools