pub struct SmartConfig {
pub enabled: bool,
pub cheap: Option<String>,
pub max_escalations: u32,
}Expand description
Smart background routing: auto-pick a cheap model for low-stakes/background
requests instead of always dialing the agent’s primary model_ref. Defaults
ON with cheap: None (auto-pick the cheapest chat-capable registry entry
via mur_common::model::pick_cheap_model).
Fields§
§enabled: bool§cheap: Option<String>§max_escalations: u32Trait Implementations§
Source§impl Clone for SmartConfig
impl Clone for SmartConfig
Source§fn clone(&self) -> SmartConfig
fn clone(&self) -> SmartConfig
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 SmartConfig
impl Debug for SmartConfig
Source§impl Default for SmartConfig
impl Default for SmartConfig
Source§impl<'de> Deserialize<'de> for SmartConfig
impl<'de> Deserialize<'de> for SmartConfig
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 SmartConfig
impl PartialEq for SmartConfig
Source§impl Serialize for SmartConfig
impl Serialize for SmartConfig
impl StructuralPartialEq for SmartConfig
Auto Trait Implementations§
impl Freeze for SmartConfig
impl RefUnwindSafe for SmartConfig
impl Send for SmartConfig
impl Sync for SmartConfig
impl Unpin for SmartConfig
impl UnsafeUnpin for SmartConfig
impl UnwindSafe for SmartConfig
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