(
&self,
style: AgentStyle,
pre_analysis: Option<&PreAnalysis>,
)
| 165 | } |
| 166 | |
| 167 | fn resolve_planning_decision( |
| 168 | &self, |
| 169 | style: AgentStyle, |
| 170 | pre_analysis: Option<&PreAnalysis>, |
| 171 | ) -> bool { |
| 172 | match self.config.planning_mode { |
| 173 | PlanningMode::Disabled => false, |
| 174 | PlanningMode::Enabled => true, |
| 175 | PlanningMode::Auto => pre_analysis |
| 176 | .map(|analysis| analysis.requires_planning) |
| 177 | .unwrap_or_else(|| style.requires_planning()), |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | async fn record_execution_result( |
| 182 | &self, |
no test coverage detected