Skip to main content

run_dictate_preflight

Function run_dictate_preflight 

Source
pub(crate) async fn run_dictate_preflight(cfg: Config, state: Arc<DictateState>)
Expand description

Fetch, verify and load the active models, reporting progress into state as it goes. The caller resolves the models and builds the config; a dictation-off run never gets here.

Both legs are blocking and documented as panicking on a runtime thread in a debug build, so both run under spawn_blocking.