pub enum ProviderReasoningControl {
None,
EnabledDisabled,
Tiers,
NativeAdaptive,
}Expand description
How much reasoning control a provider/model route actually expresses on the wire.
This is the distinction that keeps a receipt honest. A selector tier and a
provider-effective control are different things: Z.AI’s GLM routes only ever
emit thinking = {"type": "enabled"} or {"type": "disabled"}, so
requesting high and requesting max produce a byte-identical request.
Presenting those as two distinct provider-effective tiers would be a claim
the wire does not support. Routes that genuinely vary a reasoning_effort
value per tier are Self::Tiers.
Variants§
None
The route accepts no thinking payload at all.
EnabledDisabled
The route can express only “think” / “do not think”. Distinct requested
tiers above off collapse to the same provider-effective control.
Tiers
The route expresses distinct tiers on the wire.
NativeAdaptive
The route always chooses its own depth and ignores the requested tier. Only set this from a source-backed provider behavior.
Implementations§
Trait Implementations§
Source§impl Clone for ProviderReasoningControl
impl Clone for ProviderReasoningControl
Source§fn clone(&self) -> ProviderReasoningControl
fn clone(&self) -> ProviderReasoningControl
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more