pub struct SamplingPresets {
pub thinking_text: SamplingCategory,
pub thinking_coding: SamplingCategory,
pub non_thinking: SamplingCategory,
pub tools: SamplingCategory,
}Expand description
Model-specific sampling presets loaded from MODEL.toml [sampling.*].
Fields§
§thinking_text: SamplingCategory§thinking_coding: SamplingCategory§non_thinking: SamplingCategory§tools: SamplingCategoryTool-calling preset: model-recommended sampling for agentic tasks. Qwen3.5 recommends temperature=0.6 (NOT greedy) to avoid repetition loops.
Trait Implementations§
Source§impl Clone for SamplingPresets
impl Clone for SamplingPresets
Source§fn clone(&self) -> SamplingPresets
fn clone(&self) -> SamplingPresets
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 SamplingPresets
impl Debug for SamplingPresets
Source§impl Default for SamplingPresets
impl Default for SamplingPresets
impl Copy for SamplingPresets
Auto Trait Implementations§
impl Freeze for SamplingPresets
impl RefUnwindSafe for SamplingPresets
impl Send for SamplingPresets
impl Sync for SamplingPresets
impl Unpin for SamplingPresets
impl UnwindSafe for SamplingPresets
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