pub struct SubagentLimits {
pub max_concurrent: usize,
pub max_total: usize,
pub max_depth: u16,
}Expand description
Subagent fan-out limits (subagent.* keys). They apply to the whole
delegation tree of one session: workers started by workers count against
the same limits as workers started by the foreground. A prompt manifest
with an explicit delegation policy sets its own concurrency and total
limits; max_depth applies either way.
Fields§
§max_concurrent: usizeWorkers running at the same time. Default: 16.
max_total: usizeWorkers dispatched and not yet collected with reconciled=true
(running, finished, or collected without reconciling). Default: 64.
max_depth: u16How deep workers may nest: 1 = only the foreground delegates, 2 = its workers may delegate once more, and so on. Default: 4.
Trait Implementations§
Source§impl Clone for SubagentLimits
impl Clone for SubagentLimits
impl Copy for SubagentLimits
Source§impl Debug for SubagentLimits
impl Debug for SubagentLimits
Source§impl Default for SubagentLimits
impl Default for SubagentLimits
impl Eq for SubagentLimits
Source§impl PartialEq for SubagentLimits
impl PartialEq for SubagentLimits
impl StructuralPartialEq for SubagentLimits
Auto Trait Implementations§
impl Freeze for SubagentLimits
impl RefUnwindSafe for SubagentLimits
impl Send for SubagentLimits
impl Sync for SubagentLimits
impl Unpin for SubagentLimits
impl UnsafeUnpin for SubagentLimits
impl UnwindSafe for SubagentLimits
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.