pub struct ReasoningDetection {
pub supports_reasoning: bool,
pub confidence: f32,
pub matched_patterns: Vec<String>,
pub suggested_format: Option<String>,
}Expand description
Result of reasoning capability detection.
Fields§
§supports_reasoning: boolWhether the model appears to support reasoning/thinking.
confidence: f32Confidence level of the detection (0.0 to 1.0).
matched_patterns: Vec<String>The specific pattern(s) that matched.
suggested_format: Option<String>Suggested reasoning format for llama-server.
Trait Implementations§
Source§impl Clone for ReasoningDetection
impl Clone for ReasoningDetection
Source§fn clone(&self) -> ReasoningDetection
fn clone(&self) -> ReasoningDetection
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 ReasoningDetection
impl Debug for ReasoningDetection
Source§impl Default for ReasoningDetection
impl Default for ReasoningDetection
Source§fn default() -> ReasoningDetection
fn default() -> ReasoningDetection
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReasoningDetection
impl RefUnwindSafe for ReasoningDetection
impl Send for ReasoningDetection
impl Sync for ReasoningDetection
impl Unpin for ReasoningDetection
impl UnwindSafe for ReasoningDetection
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