pub enum ThinkingMode {
Adaptive,
Enabled {
budget_tokens: u32,
},
Disabled,
}Expand description
Configuration for thinking/reasoning behavior.
Variants§
Adaptive
Let the model decide when to think.
Enabled
Always enable extended thinking with a token budget.
Disabled
Disable extended thinking.
Trait Implementations§
Source§impl Clone for ThinkingMode
impl Clone for ThinkingMode
Source§fn clone(&self) -> ThinkingMode
fn clone(&self) -> ThinkingMode
Returns a duplicate of the value. Read more
1.0.0 · 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 ThinkingMode
impl Debug for ThinkingMode
Source§impl Default for ThinkingMode
impl Default for ThinkingMode
Source§fn default() -> ThinkingMode
fn default() -> ThinkingMode
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThinkingMode
impl RefUnwindSafe for ThinkingMode
impl Send for ThinkingMode
impl Sync for ThinkingMode
impl Unpin for ThinkingMode
impl UnsafeUnpin for ThinkingMode
impl UnwindSafe for ThinkingMode
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