pub struct SessionModelSwitchAutoTierResult {
pub activating_auto_tier: Option<AutoTier>,
pub effective_auto_tier: Option<AutoTier>,
pub pending_auto_tier: Option<AutoTier>,
pub status: ModelSwitchAutoTierStatus,
pub superseded_auto_tier: Option<AutoTier>,
}Expand description
Immediate acknowledgement and Auto preference snapshot after a switch request. This result never implies that a pending preference committed.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§activating_auto_tier: Option<AutoTier>Auto preference currently claimed by an in-progress activation. Null means the activation is returning to provider-default routing.
effective_auto_tier: Option<AutoTier>Auto preference currently committed for the session.
pending_auto_tier: Option<AutoTier>Latest unclaimed Auto preference waiting for a future user turn.
status: ModelSwitchAutoTierStatusImmediate request status. pending means accepted but not committed.
superseded_auto_tier: Option<AutoTier>Earlier unclaimed preference replaced by this request. This can be present with either status, including when selecting the effective preference cancels pending work.
Trait Implementations§
Source§impl Clone for SessionModelSwitchAutoTierResult
impl Clone for SessionModelSwitchAutoTierResult
Source§fn clone(&self) -> SessionModelSwitchAutoTierResult
fn clone(&self) -> SessionModelSwitchAutoTierResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more