pub struct ToolSupportDetectionInput<'a> {
pub model_id: &'a str,
pub chat_template: Option<&'a str>,
pub tags: &'a [String],
pub source: ModelSource,
}Expand description
Input for tool support detection.
Contains metadata from various sources (chat templates, tags, model names) that can be analyzed to determine tool calling support.
Fields§
§model_id: &'a strModel identifier (file path or HF model ID).
chat_template: Option<&'a str>Chat template text (e.g., from tokenizer.chat_template).
Model tags (e.g., from HuggingFace).
source: ModelSourceSource of the model.
Trait Implementations§
Source§impl<'a> Clone for ToolSupportDetectionInput<'a>
impl<'a> Clone for ToolSupportDetectionInput<'a>
Source§fn clone(&self) -> ToolSupportDetectionInput<'a>
fn clone(&self) -> ToolSupportDetectionInput<'a>
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<'a> Freeze for ToolSupportDetectionInput<'a>
impl<'a> RefUnwindSafe for ToolSupportDetectionInput<'a>
impl<'a> Send for ToolSupportDetectionInput<'a>
impl<'a> Sync for ToolSupportDetectionInput<'a>
impl<'a> Unpin for ToolSupportDetectionInput<'a>
impl<'a> UnwindSafe for ToolSupportDetectionInput<'a>
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