Register the programmatic tool calling wrapper with a custom catalog.
(
registry: &Arc<ToolRegistry>,
catalog: crate::program::ProgramCatalog,
)
| 73 | |
| 74 | /// Register the programmatic tool calling wrapper with a custom catalog. |
| 75 | pub fn register_program_with_catalog( |
| 76 | registry: &Arc<ToolRegistry>, |
| 77 | catalog: crate::program::ProgramCatalog, |
| 78 | ) { |
| 79 | registry.register_builtin(Arc::new(crate::tools::ProgramTool::with_catalog( |
| 80 | Arc::clone(registry), |
| 81 | catalog, |
| 82 | ))); |
| 83 | } |
| 84 | |
| 85 | /// Register the task delegation tools (task, parallel_task). |
| 86 | /// |
no test coverage detected