pub enum DaemonCommands {
Run {
model: Option<String>,
gpu: bool,
full_precision: bool,
port: u16,
listen: Option<String>,
allow_host: Vec<String>,
dir: Option<String>,
yes: bool,
no_memory: bool,
max_steps: usize,
quiet: bool,
log_file: Option<String>,
},
Install {
model: Option<String>,
gpu: bool,
cpu: bool,
full_precision: bool,
port: u16,
allow_host: Vec<String>,
dir: Option<String>,
yes: bool,
no_memory: bool,
max_steps: usize,
no_linger: bool,
},
Uninstall {
purge: bool,
},
Start,
Stop,
Logs {
lines: usize,
follow: bool,
},
Open,
Status,
}Variants§
Run
Run the daemon in the foreground, until Ctrl+C
Fields
§
model: Option<String>Chat model the agent and /v1/chat/completions use. Default: the
one last picked in the web UI or by install, else qwen3.5-4b
§
listen: Option<String>Listen on this address instead of loopback only, such as 0.0.0.0. Every request still needs the token
Install
Start the daemon at every login, and start it now
Without –model, picks a model for this machine from its memory and GPU. Running it again replaces the settings.
Fields
Uninstall
Stop starting the daemon at login, and stop it
Start
Start the installed daemon
Stop
Stop the installed daemon until the next login or start
Logs
Show the daemon’s log
Fields
Open
Sign this computer’s browser in to the running daemon and open it
Status
Show whether the daemon is installed and running, and with what
Trait Implementations§
Source§impl Debug for DaemonCommands
impl Debug for DaemonCommands
Source§impl FromArgMatches for DaemonCommands
impl FromArgMatches for DaemonCommands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl PartialEq for DaemonCommands
impl PartialEq for DaemonCommands
impl StructuralPartialEq for DaemonCommands
Source§impl Subcommand for DaemonCommands
impl Subcommand for DaemonCommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Forget for DaemonCommands
impl Freeze for DaemonCommands
impl Move for DaemonCommands
impl RefUnwindSafe for DaemonCommands
impl Send for DaemonCommands
impl Sync for DaemonCommands
impl Unpin for DaemonCommands
impl UnsafeUnpin for DaemonCommands
impl UnwindSafe for DaemonCommands
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more