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

Method with_planning_mode

core/src/agent_api/session_options.rs:185–188  ·  view source on GitHub ↗

Set planning mode

(mut self, mode: PlanningMode)

Source from the content-addressed store, hash-verified

183
184 /// Set planning mode
185 pub fn with_planning_mode(mut self, mode: PlanningMode) -> Self {
186 self.planning_mode = mode;
187 self
188 }
189
190 /// Enable planning (shortcut for `with_planning_mode(PlanningMode::Enabled)`)
191 pub fn with_planning(mut self, enabled: bool) -> Self {

Calls

no outgoing calls