(
&self,
prompt: &str,
pre_analysis: Option<&PreAnalysis>,
)
| 146 | } |
| 147 | |
| 148 | fn resolve_execution_style( |
| 149 | &self, |
| 150 | prompt: &str, |
| 151 | pre_analysis: Option<&PreAnalysis>, |
| 152 | ) -> AgentStyle { |
| 153 | if let Some(analysis) = pre_analysis { |
| 154 | return analysis.intent; |
| 155 | } |
| 156 | |
| 157 | let (style, confidence) = AgentStyle::detect_with_confidence(prompt); |
| 158 | tracing::debug!( |
| 159 | intent.classification = ?style, |
| 160 | intent.confidence = ?confidence, |
| 161 | intent.source = "local_fallback", |
| 162 | "Intent classified locally" |
| 163 | ); |
| 164 | style |
| 165 | } |
| 166 | |
| 167 | fn resolve_planning_decision( |
| 168 | &self, |
no outgoing calls
no test coverage detected