Override the maximum number of sibling parallel branches for this session.
(mut self, tasks: usize)
| 503 | |
| 504 | /// Override the maximum number of sibling parallel branches for this session. |
| 505 | pub fn with_max_parallel_tasks(mut self, tasks: usize) -> Self { |
| 506 | self.max_parallel_tasks = Some(tasks.max(1)); |
| 507 | self |
| 508 | } |
| 509 | |
| 510 | /// Override automatic subagent delegation for this session. |
| 511 | pub fn with_auto_delegation(mut self, config: crate::config::AutoDelegationConfig) -> Self { |
no outgoing calls