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

Method set_planning_mode

sdk/python/src/lib.rs:5415–5421  ·  view source on GitHub ↗
(&mut self, value: Option<String>)

Source from the content-addressed store, hash-verified

5413
5414 #[setter]
5415 fn set_planning_mode(&mut self, value: Option<String>) -> PyResult<()> {
5416 if let Some(ref mode) = value {
5417 parse_planning_mode(mode)?;
5418 }
5419 self.planning_mode = value;
5420 Ok(())
5421 }
5422
5423 /// Legacy planning shortcut. None = auto, True = force, False = disabled.
5424 #[getter]

Callers

nothing calls this directly

Calls 1

parse_planning_modeFunction · 0.70

Tested by

no test coverage detected