This function assumes the relevant transformation to the tool names have been done: - model tool name -> host tool name - custom tool namespacing
(&mut self, tool_names: Vec<String>)
| 453 | /// - model tool name -> host tool name |
| 454 | /// - custom tool namespacing |
| 455 | pub fn trust_tools(&mut self, tool_names: Vec<String>) { |
| 456 | if let Some(agent) = self.get_active_mut() { |
| 457 | agent.allowed_tools.extend(tool_names); |
| 458 | } |
| 459 | } |
| 460 | |
| 461 | /// This function assumes the relevant transformation to the tool names have been done: |
| 462 | /// - model tool name -> host tool name |
no test coverage detected