pub struct SuppressedEffort {
pub level: ReasoningEffort,
pub source: ParamSource,
}Expand description
A resolved effort level this stage threw away, and where it came from.
The provenance entry alone says that a value was suppressed; this says
which and whose. Both halves are needed for the sentence an operator
has to be able to read — “the :high profile asked for high; this model’s
template does not read reasoning_effort, so nothing was sent” — and the
rung is the half that would otherwise be destroyed, because
ParamSource::SuppressedByTemplate overwrites it in
FieldSources.
Fields§
§level: ReasoningEffortThe level the ladder resolved, which llama-server never saw.
source: ParamSourceThe rung that supplied it — a ParamSource::Layer index into
SamplingDecision::layer_names, since no floor ever names an effort
(no_floor_names_a_reasoning_control).
Trait Implementations§
Source§impl Clone for SuppressedEffort
impl Clone for SuppressedEffort
Source§fn clone(&self) -> SuppressedEffort
fn clone(&self) -> SuppressedEffort
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 moreSource§impl Debug for SuppressedEffort
impl Debug for SuppressedEffort
Source§impl PartialEq for SuppressedEffort
impl PartialEq for SuppressedEffort
Source§fn eq(&self, other: &SuppressedEffort) -> bool
fn eq(&self, other: &SuppressedEffort) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SuppressedEffort
impl Serialize for SuppressedEffort
impl Copy for SuppressedEffort
impl Eq for SuppressedEffort
impl StructuralPartialEq for SuppressedEffort
Auto Trait Implementations§
impl Freeze for SuppressedEffort
impl RefUnwindSafe for SuppressedEffort
impl Send for SuppressedEffort
impl Sync for SuppressedEffort
impl Unpin for SuppressedEffort
impl UnsafeUnpin for SuppressedEffort
impl UnwindSafe for SuppressedEffort
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