pub enum SubagentRouteConfig {
Passthrough {
target: String,
},
LlmClassifier(Box<LlmClassifierRouteConfig>),
}Expand description
Routing policy applied only to delegated sub-agent work, nested inside a
passthrough or stage_router route.
Variants§
Passthrough
Sends all sub-agent work to one target.
LlmClassifier(Box<LlmClassifierRouteConfig>)
Judges each sub-agent request. Only ClassifierMode::Custom is supported here.
Trait Implementations§
Source§impl Clone for SubagentRouteConfig
impl Clone for SubagentRouteConfig
Source§fn clone(&self) -> SubagentRouteConfig
fn clone(&self) -> SubagentRouteConfig
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 moreSource§impl Debug for SubagentRouteConfig
impl Debug for SubagentRouteConfig
Source§impl<'de> Deserialize<'de> for SubagentRouteConfig
impl<'de> Deserialize<'de> for SubagentRouteConfig
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
Auto Trait Implementations§
impl Freeze for SubagentRouteConfig
impl RefUnwindSafe for SubagentRouteConfig
impl Send for SubagentRouteConfig
impl Sync for SubagentRouteConfig
impl Unpin for SubagentRouteConfig
impl UnsafeUnpin for SubagentRouteConfig
impl UnwindSafe for SubagentRouteConfig
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