MCPcopy Create free account
hub / github.com/AI45Lab/Code / requires_planning

Method requires_planning

core/src/prompts.rs:247–249  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 2

should_planMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected