pub enum RoutingExclusionReason {
Show 14 variants
Disabled,
CredentialUnavailable,
MissingCapability,
ContextWindowTooSmall,
PricingUnknown,
CostBudgetExceeded,
LatencyUnknown,
LatencyBudgetExceeded,
SessionRouteLocked,
FallbackBlockedAfterSideEffect,
TokenExpired,
TokenRevoked,
TokenNeedsRefresh,
ScopeInsufficient,
}Expand description
Stable reason why a candidate cannot execute.
Variants§
Disabled
Candidate enabled is false.
A required credential could not be resolved.
MissingCapability
A required RoutingCapability is not advertised.
ContextWindowTooSmall
The candidate’s context window is smaller than min_context_tokens.
PricingUnknown
The candidate has no pricing data and require_known_pricing is true.
CostBudgetExceeded
The candidate’s estimated cost exceeds max_estimated_cost_microusd.
LatencyUnknown
The candidate has no latency estimate and require_known_latency is true.
LatencyBudgetExceeded
The candidate’s estimated latency exceeds max_latency_ms.
SessionRouteLocked
The step has a locked candidate that differs from this candidate.
FallbackBlockedAfterSideEffect
A fallback is blocked because a side effect was already recorded.
TokenExpired
The candidate’s token is expired and cannot be refreshed.
TokenRevoked
The candidate’s credential was revoked.
TokenNeedsRefresh
The candidate’s token needs a refresh that cannot safely proceed.
ScopeInsufficient
The candidate lacks a required scope.
Trait Implementations§
Source§impl Clone for RoutingExclusionReason
impl Clone for RoutingExclusionReason
Source§fn clone(&self) -> RoutingExclusionReason
fn clone(&self) -> RoutingExclusionReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more