Register the batch tool. Must be called after the registry is wrapped in Arc.
(registry: &Arc<ToolRegistry>)
| 60 | |
| 61 | /// Register the batch tool. Must be called after the registry is wrapped in Arc. |
| 62 | pub fn register_batch(registry: &Arc<ToolRegistry>) { |
| 63 | registry.register_builtin(Arc::new(batch::BatchTool::new(Arc::clone(registry)))); |
| 64 | } |
| 65 | |
| 66 | /// Register the programmatic tool calling wrapper. |
| 67 | pub fn register_program(registry: &Arc<ToolRegistry>) { |