pub struct Config {Show 16 fields
pub api_base_url: String,
pub bootstrap_token: String,
pub worker_id: Option<String>,
pub auth_token: Option<String>,
pub vram_threshold_gb: f32,
pub auto_start: bool,
pub auto_enabled: bool,
pub engine: String,
pub engines: Vec<String>,
pub gradio_endpoint_url: Option<String>,
pub supported_models_override: Vec<String>,
pub auto_update_enabled: bool,
pub auto_update_interval_secs: u64,
pub auto_update_feed: String,
pub auto_update_prerelease: bool,
pub models_root: Option<PathBuf>,
}Fields§
§api_base_url: StringBase URL of the studio API (e.g. https://studio.minis.gg).
bootstrap_token: StringShared secret used only for the first registration.
worker_id: Option<String>Worker id, filled in by register.
auth_token: Option<String>Per-worker token issued at registration.
vram_threshold_gb: f32VRAM threshold the worker reports as its max claim size, in GB.
auto_start: boolWhether to auto-launch the run loop at boot via the OS service.
auto_enabled: boolWhether the worker should claim new jobs.
engine: StringEngine identifier: synthetic, gradio, multi, or — when
built with the matching cargo feature — llama, whisper,
image-candle, video, tts.
engines: Vec<String>When engine = "multi", the per-modality engines to combine.
First engine that claims support for a job’s kind+model wins.
gradio_endpoint_url: Option<String>Local Gradio endpoint URL when engine = "gradio".
supported_models_override: Vec<String>Explicit override of supported models. When empty, the engine reports its native list.
auto_update_enabled: boolPeriodically check the release feed and auto-install newer versions when no job is running.
auto_update_interval_secs: u64How often (seconds) to check the release feed.
auto_update_feed: StringGitHub Releases feed for this binary.
auto_update_prerelease: boolWhether to upgrade to pre-release versions.
models_root: Option<PathBuf>Root directory for downloaded model files (per-engine
subdirectories: llm/, stt/, tts/, image/, video/).
Defaults to the OS cache dir.