pub struct EngineState {Show 16 fields
pub version: String,
pub inference_base_url: String,
pub inference_model: String,
pub has_api_key: bool,
pub endpoint: Option<String>,
pub busy: bool,
pub endpoint_info: Option<EndpointInfo>,
pub link: Link,
pub onboarded: bool,
pub detected: Vec<Detected>,
pub detecting: bool,
pub yolo: bool,
pub chat_endpoint: Option<ChatEndpoint>,
pub routines_active: bool,
pub keep_running: Option<KeepRunning>,
pub routines_paused: Option<bool>,
}Expand description
What clients may know about the engine. Secrets (API keys) never leave the engine.
Fields§
§version: String§inference_base_url: String§inference_model: String§has_api_key: bool§endpoint: Option<String>Resolved chat/completions URL, if the base URL is valid.
busy: boolA turn is running in the chat this client is looking at.
endpoint_info: Option<EndpointInfo>What the engine knows about the inference endpoint (from its capability probe).
link: LinkWhether the current endpoint answers.
onboarded: boolAn endpoint has worked before (saved in settings.json): returning users skip the welcome screen.
detected: Vec<Detected>Inference servers found on this machine’s usual ports.
detecting: boolThe engine is looking for them.
yolo: boolYOLO is on for the chat in view: nothing asks before a tool call runs (13.13).
chat_endpoint: Option<ChatEndpoint>The chat in view uses another endpoint than the one above (its workspace’s or its
own); None: it uses the global one.
routines_active: boolSome routine is on and scheduled (19+): closing the window should keep byob running.
keep_running: Option<KeepRunning>Whether closing the desktop window keeps byob running (settings.json keep_running;
13.20+, None from older engines).
routines_paused: Option<bool>Whether routines’ schedules are paused (settings.json routines_paused; 13.21+,
None from older engines).