pub struct ModelsRouteArgs {
pub repo: RepoArgs,
pub require: Option<String>,
pub min_context: Option<u64>,
pub vendor: Option<String>,
pub local_only: bool,
pub model: Option<String>,
pub format: OutputFormat,
}Expand description
majordomus models route.
Fields§
§repo: RepoArgsWhere and how the repository is read.
require: Option<String>Capability words the model must declare, comma-separated: vision,tools.
min_context: Option<u64>The least context window, tokens.
vendor: Option<String>Only this vendor.
local_only: boolOnly local inference.
model: Option<String>A model named outright, by canonical id or alias; still checked against the other requirements.
format: OutputFormattext for a person, json for a machine; both render the same answer.
Trait Implementations§
Source§impl Args for ModelsRouteArgs
impl Args for ModelsRouteArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl Debug for ModelsRouteArgs
impl Debug for ModelsRouteArgs
Source§impl FromArgMatches for ModelsRouteArgs
impl FromArgMatches for ModelsRouteArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for ModelsRouteArgs
impl RefUnwindSafe for ModelsRouteArgs
impl Send for ModelsRouteArgs
impl Sync for ModelsRouteArgs
impl Unpin for ModelsRouteArgs
impl UnsafeUnpin for ModelsRouteArgs
impl UnwindSafe for ModelsRouteArgs
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