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

Method with_max_steps

core/src/subagent.rs:352–355  ·  view source on GitHub ↗

Override the preset step budget.

(mut self, max_steps: usize)

Source from the content-addressed store, hash-verified

350
351 /// Override the preset step budget.
352 pub fn with_max_steps(mut self, max_steps: usize) -> Self {
353 self.max_steps = Some(max_steps);
354 self
355 }
356
357 /// Set confirmation inheritance policy for child runs.
358 pub fn with_confirmation(mut self, inheritance: ConfirmationInheritance) -> Self {

Calls

no outgoing calls