pub enum ThinkingMode {
Enabled {
budget_tokens: u32,
},
Adaptive,
}Expand description
The mode of extended thinking.
Variants§
Enabled
Explicitly enabled with a token budget.
Adaptive
Adaptive thinking — the model decides how much to think.
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 moreAuto 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