pub struct DelegationNudge {
pub after_tool_calls: u32,
pub tool_names: Vec<String>,
}Expand description
Deterministic delegation nudge. Prompt-only routing has repeatedly failed
to make mid-tier models delegate organically — they grind through
substantive work solo (live trace evidence, 2026-06-07: ~30 sessions, zero
organic delegations across three models). After after_tool_calls direct
tool calls on ONE user request with none of tool_names used, the runner
injects a one-shot reminder that the squad exists. Deterministic and
model-agnostic, like the doom-loop and replan gates.
Fields§
§after_tool_calls: u32Direct-tool-call count (per user request) at which the nudge fires.
tool_names: Vec<String>Tool names that count as delegation — using any of them suppresses the nudge for the rest of the request.
Trait Implementations§
Source§impl Clone for DelegationNudge
impl Clone for DelegationNudge
Source§fn clone(&self) -> DelegationNudge
fn clone(&self) -> DelegationNudge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DelegationNudge
impl RefUnwindSafe for DelegationNudge
impl Send for DelegationNudge
impl Sync for DelegationNudge
impl Unpin for DelegationNudge
impl UnsafeUnpin for DelegationNudge
impl UnwindSafe for DelegationNudge
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