MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / with_max_steps

Method with_max_steps

crates/opencode-agent/src/agent.rs:414–417  ·  view source on GitHub ↗
(mut self, steps: u32)

Source from the content-addressed store, hash-verified

412 }
413
414 pub fn with_max_steps(mut self, steps: u32) -> Self {
415 self.max_steps = Some(steps);
416 self
417 }
418
419 pub fn with_max_tokens(mut self, max_tokens: u64) -> Self {
420 self.max_tokens = Some(max_tokens);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected