pub struct Args {
pub atlas: Option<String>,
pub listen: Option<String>,
pub id: Option<String>,
pub vlm_upstream: Option<String>,
pub vlm_api_key: Option<String>,
pub vlm_model: Option<String>,
pub vlm_reasoning_effort: Option<String>,
pub vlm_context_window_tokens: Option<usize>,
pub vlm_format: Option<String>,
pub config: Option<PathBuf>,
pub log: Option<String>,
pub config_json: Option<String>,
}Expand description
CLI surface; every field is optional so config-file mode stays usable without spelling out flags. clap also reads the listed env vars.
Fields§
§atlas: Option<String>Atlas control-plane endpoint. Also reads ROBONIX_ATLAS (the var rbnx /
the Python API / liaison use) as an alias; see env_atlas.
listen: Option<String>Address pilot’s SystemPilot gRPC binds to.
id: Option<String>Override pilot’s id (singleton, rarely needed).
vlm_upstream: Option<String>LLM API base URL (e.g. https://api.openai.com/v1).
vlm_api_key: Option<String>LLM API key.
vlm_model: Option<String>LLM model identifier.
vlm_reasoning_effort: Option<String>Model reasoning effort (low, medium, high, etc.), when supported.
vlm_context_window_tokens: Option<usize>Deployment-specific total context window. Required when Pilot cannot obtain a capacity from provider metadata.
vlm_format: Option<String>LLM API dialect (“openai” only for now).
config: Option<PathBuf>YAML config file (rbnx writes this; CLI/env still override individual fields).
log: Option<String>Log level for this component (debug/info/warn/error). Sets the
scribe log-file floor; falls back to SCRIBE_FILE_LEVEL / info.
Normally arrives inside --config-json, not as a standalone flag.
config_json: Option<String>The component’s system.pilot manifest block, serialized to JSON by
rbnx and passed as one arg (--config-json '{…}'). Parsed by the
binary itself — see robonix_scribe::init_from_config, which reads the
log key from it so the manifest’s per-component level reaches the log.
Trait Implementations§
Source§impl Args for Args
impl Args for Args
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
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
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl FromArgMatches for Args
impl FromArgMatches for Args
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>
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>
ArgMatches to self.