pub struct ResolvedSubagentRuntime {
pub role_name: String,
pub provider: Arc<dyn ModelProvider>,
pub model: ModelName,
pub retry_policy: Option<ModelRetryPolicy>,
pub generation_config: GenerationConfig,
pub workspace_writable: bool,
pub allowed_tools: Vec<ToolName>,
pub max_model_turns: u32,
pub timeout_secs: Option<u64>,
pub max_total_tokens: Option<u64>,
pub role_instructions: Option<String>,
}Expand description
Deterministic, fully resolved runtime specification for one child agent.
Fields§
§role_name: StringEffective resolved role name.
provider: Arc<dyn ModelProvider>Resolved provider handle.
model: ModelNameResolved model identifier.
retry_policy: Option<ModelRetryPolicy>Optional provider retry policy override.
generation_config: GenerationConfigResolved generation config (4-level inheritance).
workspace_writable: boolEffective OS sandbox writability (capability intersection).
allowed_tools: Vec<ToolName>Effective allowed tools after capability intersection and orphan pruning.
max_model_turns: u32Effective model-turn budget.
timeout_secs: Option<u64>Effective wall-clock timeout in seconds.
max_total_tokens: Option<u64>Effective cumulative per-child token circuit breaker.
role_instructions: Option<String>Effective role prompt instructions for <merry_subagent_role>.
Auto Trait Implementations§
impl !RefUnwindSafe for ResolvedSubagentRuntime
impl !UnwindSafe for ResolvedSubagentRuntime
impl Forget for ResolvedSubagentRuntime
impl Freeze for ResolvedSubagentRuntime
impl Move for ResolvedSubagentRuntime
impl Send for ResolvedSubagentRuntime
impl Sync for ResolvedSubagentRuntime
impl Unpin for ResolvedSubagentRuntime
impl UnsafeUnpin for ResolvedSubagentRuntime
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