Skip to main content

Module engine

Module engine 

Source
Expand description

Owned engine boundary for library hosts (JOE-1782 / JOE-1654).

§Ownership model

AurumEngine owns:

§Residual process-global state (honest)

Local whisper WhisperContext residency and TTS session pools remain process-global in this release line (see providers::local and TTS session code). Multiple engines therefore share model caches. Engine shutdown does not clear the process whisper cache — call crate::providers::local::clear_context_cache at process exit when using Metal, as before.

Full per-engine model isolation is a follow-up under JOE-1654.

Structs§

AurumEngine
Library-facing engine: validated config + owned governor/metrics.