pub struct SubagentResolutionInput<'a> {
pub task: &'a SubagentTaskSpec,
pub parent_allowed_tools: &'a [ToolName],
pub workspace_scope: &'a ChildWorkspaceScope,
pub parent_workspace_writable: bool,
pub depth: u8,
pub max_depth: u8,
pub max_model_turns_cap: u32,
pub parent_primary_model: Option<&'a ParentPrimaryModel>,
pub fallback_provider: Arc<dyn ModelProvider>,
pub fallback_model: &'a ModelName,
pub parent_generation_config: &'a GenerationConfig,
}Expand description
Inputs to the pure resolve_subagent_runtime resolver.
Fields§
§task: &'a SubagentTaskSpecDelegated child task contract.
parent_allowed_tools: &'a [ToolName]Tools already bounded by the parent’s admitted catalog.
workspace_scope: &'a ChildWorkspaceScopeChild workspace scope validated against the parent.
parent_workspace_writable: boolWhether the parent workspace itself is writable.
depth: u8Delegation depth assigned to this child (parent.depth + 1).
max_depth: u8Maximum allowed delegation depth.
max_model_turns_cap: u32Maximum configured child model-turn cap.
parent_primary_model: Option<&'a ParentPrimaryModel>Live snapshot of the parent’s currently active primary provider/model.
fallback_provider: Arc<dyn ModelProvider>Fallback provider/model from initial composition when no live snapshot exists.
fallback_model: &'a ModelNameFallback model identifier from initial composition.
parent_generation_config: &'a GenerationConfigLive parent generation config (including reasoning_effort & service_tier).
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SubagentResolutionInput<'a>
impl<'a> !UnwindSafe for SubagentResolutionInput<'a>
impl<'a> Forget for SubagentResolutionInput<'a>
impl<'a> Freeze for SubagentResolutionInput<'a>
impl<'a> Move for SubagentResolutionInput<'a>
impl<'a> Send for SubagentResolutionInput<'a>
impl<'a> Sync for SubagentResolutionInput<'a>
impl<'a> Unpin for SubagentResolutionInput<'a>
impl<'a> UnsafeUnpin for SubagentResolutionInput<'a>
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