pub struct Config {
pub model: PathBuf,
pub mmproj: PathBuf,
pub binary: Option<PathBuf>,
pub idle_secs: u64,
pub max_tokens: u32,
pub auto_download: bool,
}Expand description
Resolved runtime configuration.
Fields§
§model: PathBufModel weights (GGUF).
mmproj: PathBufCompanion multimodal projector (GGUF).
binary: Option<PathBuf>Explicit llama-server path; None means look on PATH.
idle_secs: u64Kill the child after this many seconds unused.
max_tokens: u32Cap on transcription length.
auto_download: boolOpt-in to fetching missing weights on first use.
Implementations§
Trait Implementations§
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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