Returns true for the local no-LLM fallback path. Normal agent execution runs pre-analysis in `Auto` mode and uses its structured `requires_planning` decision instead of this heuristic.
(&self, message: &str)
| 138 | /// Normal agent execution runs pre-analysis in `Auto` mode and uses its |
| 139 | /// structured `requires_planning` decision instead of this heuristic. |
| 140 | pub fn should_plan(&self, message: &str) -> bool { |
| 141 | match self { |
| 142 | PlanningMode::Auto => AgentStyle::detect_from_message(message).requires_planning(), |
| 143 | PlanningMode::Enabled => true, |
| 144 | PlanningMode::Disabled => false, |
| 145 | } |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | // ============================================================================ |
nothing calls this directly
no test coverage detected