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

Method with_auto_parallel_delegation

core/src/agent_api/session_options.rs:541–547  ·  view source on GitHub ↗

Globally enable or disable automatic parallel child-agent fan-out. Manual `parallel_task` calls remain available when this is false.

(mut self, enabled: bool)

Source from the content-addressed store, hash-verified

539 ///
540 /// Manual `parallel_task` calls remain available when this is false.
541 pub fn with_auto_parallel_delegation(mut self, enabled: bool) -> Self {
542 if let Some(config) = &mut self.auto_delegation {
543 config.auto_parallel = enabled;
544 }
545 self.auto_parallel_delegation = Some(enabled);
546 self
547 }
548
549 /// Set slot-based system prompt customization for this session.
550 ///

Calls

no outgoing calls