pub enum OverrideSource {
UserContextWindow,
CodexPublicApiLimitStrip,
CodexRosterCorrection,
ProviderReportedContextWindow,
MembershipPlanSafeFloor,
DocumentedRouteOutputMaximum,
}Expand description
Why a limit override was requested.
This is provenance, not policy: the resolver applies whatever the caller requested and records the source on the candidate so every consumer can see where an effective limit came from.
Variants§
UserContextWindow
Operator-configured context window.
CodexPublicApiLimitStrip
Catalog limits describe the public API offering, not the account-scoped Codex route; the API-only limits are stripped.
CodexRosterCorrection
Per-model context from the fresh Codex account roster.
ProviderReportedContextWindow
Fresh, route-scoped provider-reported context metadata.
MembershipPlanSafeFloor
Conservative all-plan safe floor for a membership-plan route.
DocumentedRouteOutputMaximum
Maximum output documented for one exact provider endpoint/model route.
Trait Implementations§
Source§impl Clone for OverrideSource
impl Clone for OverrideSource
Source§fn clone(&self) -> OverrideSource
fn clone(&self) -> OverrideSource
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 moreimpl Copy for OverrideSource
Source§impl Debug for OverrideSource
impl Debug for OverrideSource
Source§impl<'de> Deserialize<'de> for OverrideSource
impl<'de> Deserialize<'de> for OverrideSource
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
impl Eq for OverrideSource
Source§impl PartialEq for OverrideSource
impl PartialEq for OverrideSource
Source§impl Serialize for OverrideSource
impl Serialize for OverrideSource
impl StructuralPartialEq for OverrideSource
Auto Trait Implementations§
impl Freeze for OverrideSource
impl RefUnwindSafe for OverrideSource
impl Send for OverrideSource
impl Sync for OverrideSource
impl Unpin for OverrideSource
impl UnsafeUnpin for OverrideSource
impl UnwindSafe for OverrideSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.