pub enum ThinkMode {
Default,
NoThink,
}Expand description
Generation-prompt think tail. Default = the template’s own default (the qwen3.5/3.6
class opens <think>\n — verified against the committed dumps in
research/onboard-ornith-20260801/templates/); NoThink = the template’s
enable_thinking=false switch (closed <think>\n\n</think>\n\n). On templates
without an enable_thinking switch the mode is ignored (graceful no-op).
Variants§
Trait Implementations§
impl Copy for ThinkMode
impl Eq for ThinkMode
impl StructuralPartialEq for ThinkMode
Auto Trait Implementations§
impl Freeze for ThinkMode
impl RefUnwindSafe for ThinkMode
impl Send for ThinkMode
impl Sync for ThinkMode
impl Unpin for ThinkMode
impl UnsafeUnpin for ThinkMode
impl UnwindSafe for ThinkMode
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