pub struct SubagentRequest {
pub description: String,
pub prompt: String,
pub subagent_type: Option<String>,
pub model: Option<String>,
pub provider: Option<String>,
pub tools: Option<Vec<String>>,
pub lane: Option<SubagentLane>,
pub max_concurrent: Option<usize>,
pub allowed_tools: Option<Vec<String>>,
pub parent_deadline_seconds: Option<u64>,
pub inputs: Option<Value>,
pub timeout_seconds: Option<u64>,
}Fields§
§description: String§prompt: String§subagent_type: Option<String>§model: Option<String>Optional model id. When omitted, the dispatcher prefers the parent thread’s live selection (when provided) over startup defaults.
provider: Option<String>Optional inference provider id (for example supergrok, codex).
When omitted with model, children inherit the parent thread provider
so task / agent_swarm stay on the same backend as the lead turn.
tools: Option<Vec<String>>§lane: Option<SubagentLane>§max_concurrent: Option<usize>§allowed_tools: Option<Vec<String>>§parent_deadline_seconds: Option<u64>§inputs: Option<Value>§timeout_seconds: Option<u64>Trait Implementations§
Source§impl Clone for SubagentRequest
impl Clone for SubagentRequest
Source§impl Debug for SubagentRequest
impl Debug for SubagentRequest
Source§impl<'de> Deserialize<'de> for SubagentRequest
impl<'de> Deserialize<'de> for SubagentRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SubagentRequest
impl PartialEq for SubagentRequest
Source§impl Serialize for SubagentRequest
impl Serialize for SubagentRequest
impl StructuralPartialEq for SubagentRequest
Auto Trait Implementations§
impl Freeze for SubagentRequest
impl RefUnwindSafe for SubagentRequest
impl Send for SubagentRequest
impl Sync for SubagentRequest
impl Unpin for SubagentRequest
impl UnsafeUnpin for SubagentRequest
impl UnwindSafe for SubagentRequest
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