pub struct EscalationConfig {
pub enabled: bool,
pub threshold: f32,
pub max_escalation_tiers: u32,
}Expand description
Controls complexity-based escalation to higher model tiers.
Fields§
§enabled: boolWhether escalation is enabled globally.
threshold: f32Default complexity threshold for escalation (0.0-1.0).
max_escalation_tiers: u32Maximum number of tiers a request can escalate beyond the user’s max_tier.
Trait Implementations§
Source§impl Clone for EscalationConfig
impl Clone for EscalationConfig
Source§fn clone(&self) -> EscalationConfig
fn clone(&self) -> EscalationConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 EscalationConfig
impl Debug for EscalationConfig
Source§impl Default for EscalationConfig
impl Default for EscalationConfig
Source§impl<'de> Deserialize<'de> for EscalationConfig
impl<'de> Deserialize<'de> for EscalationConfig
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 EscalationConfig
impl RefUnwindSafe for EscalationConfig
impl Send for EscalationConfig
impl Sync for EscalationConfig
impl Unpin for EscalationConfig
impl UnsafeUnpin for EscalationConfig
impl UnwindSafe for EscalationConfig
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