pub enum ModelReasoning {
Unknown,
DoesNotReason,
Reasons {
levels: Option<BTreeSet<EffortLevel>>,
can_disable: bool,
budget_tokens: Option<u64>,
},
}Expand description
What a model’s models.dev row says about reasoning.
Variants§
Unknown
No row, or a row from before models.dev reasoning data was snapshotted.
DoesNotReason
The model does not reason, so no effort applies.
Reasons
Fields
§
levels: Option<BTreeSet<EffortLevel>>The levels the row names, none among them when the model has a toggle. None when
it names none: toggle only, budget only, or reasoning with no control.
Implementations§
Trait Implementations§
Source§impl Clone for ModelReasoning
impl Clone for ModelReasoning
Source§impl Debug for ModelReasoning
impl Debug for ModelReasoning
impl Eq for ModelReasoning
Source§impl PartialEq for ModelReasoning
impl PartialEq for ModelReasoning
impl StructuralPartialEq for ModelReasoning
Auto Trait Implementations§
impl Forget for ModelReasoning
impl Freeze for ModelReasoningwhere
*const LeafNode<EffortLevel, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(EffortLevel, SetValZST)>>: Freeze,
impl Move for ModelReasoning
impl RefUnwindSafe for ModelReasoning
impl Send for ModelReasoningwhere
NodeRef<Owned, EffortLevel, SetValZST, LeafOrInternal>: Send,
BoxRaw<(EffortLevel, SetValZST)>: Send,
impl Sync for ModelReasoningwhere
NodeRef<Owned, EffortLevel, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(EffortLevel, SetValZST)>: Sync,
impl Unpin for ModelReasoningwhere
*const LeafNode<EffortLevel, SetValZST> is !null: Unpin,
Box<(EffortLevel, SetValZST)>: Unpin,
impl UnsafeUnpin for ModelReasoningwhere
*const LeafNode<EffortLevel, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(EffortLevel, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for ModelReasoning
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,
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.