Returns true if this style benefits from a planning phase. Planning is beneficial for styles that involve multi-step execution or where a structured approach improves outcomes.
(&self)
| 245 | /// Planning is beneficial for styles that involve multi-step execution |
| 246 | /// or where a structured approach improves outcomes. |
| 247 | pub fn requires_planning(&self) -> bool { |
| 248 | matches!(self, AgentStyle::Plan) |
| 249 | } |
| 250 | |
| 251 | /// Detects the most appropriate agent style based on user message content, |
| 252 | /// along with a confidence level. |
no outgoing calls
no test coverage detected