Check if a tool requires confirmation This is the inverse of `is_yolo()` — returns true when HITL is enabled and the tool's lane is NOT in YOLO mode.
(&self, tool_name: &str)
| 97 | /// This is the inverse of `is_yolo()` — returns true when HITL is enabled |
| 98 | /// and the tool's lane is NOT in YOLO mode. |
| 99 | pub fn requires_confirmation(&self, tool_name: &str) -> bool { |
| 100 | !self.is_yolo(tool_name) |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | /// Confirmation response from user |
no test coverage detected