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§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 Forget for SubagentRouteConfig
impl Freeze for SubagentRouteConfig
impl Move 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