pub struct RouteAsk {
pub harness: Option<String>,
pub route: Option<String>,
}Expand description
Which harness and model route a new agent runs on, for Agents spawn and Agents create: absent, a worker
has its leader’s harness and route, and a created agent its template’s. The model is the request’s own model.
Fields§
§harness: Option<String>The harness (claude, codex, …). It is fixed when the agent is made.
route: Option<String>A model route from Agents routes (openrouter); anthropic or login for the harness’s own sign-in.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RouteAsk
impl<'de> Deserialize<'de> for RouteAsk
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 RouteAsk
impl RefUnwindSafe for RouteAsk
impl Send for RouteAsk
impl Sync for RouteAsk
impl Unpin for RouteAsk
impl UnsafeUnpin for RouteAsk
impl UnwindSafe for RouteAsk
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