pub enum ReasoningMode {
None,
Effort,
Thinking,
Both,
}Expand description
How a model expresses reasoning/thinking capability.
Each model supports one or more reasoning modes. The Protocol layer uses this to decide which fields to include in the request.
Variants§
None
No reasoning support (don’t send any reasoning fields)
Effort
OpenAI-style effort parameter (reasoning_effort: "low"|"medium"|"high")
Thinking
Anthropic-style thinking block (thinking: {type: "enabled", budget_tokens: N})
Both
Both modes supported (protocol decides which to use)
Trait Implementations§
Source§impl Clone for ReasoningMode
impl Clone for ReasoningMode
Source§fn clone(&self) -> ReasoningMode
fn clone(&self) -> ReasoningMode
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 ReasoningMode
Source§impl Debug for ReasoningMode
impl Debug for ReasoningMode
impl Eq for ReasoningMode
Source§impl PartialEq for ReasoningMode
impl PartialEq for ReasoningMode
impl StructuralPartialEq for ReasoningMode
Auto Trait Implementations§
impl Freeze for ReasoningMode
impl RefUnwindSafe for ReasoningMode
impl Send for ReasoningMode
impl Sync for ReasoningMode
impl Unpin for ReasoningMode
impl UnsafeUnpin for ReasoningMode
impl UnwindSafe for ReasoningMode
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.