Expand description
Active model + lifecycle
Functionsยง
- active_
model_ path - Active model path.
- clear_
active_ model_ record - Clears the active-model record.
- get_
active_ model - Gets active-model.
- get_
inference_ backend_ settings - Gets inference-backend-settings.
- get_
model_ lifecycle_ status - Gets model-lifecycle-status.
- get_
model_ preferences - Gets model-preferences.
- install_
catalog_ llm - Installs a catalog LLM.
- is_
model_ activation_ in_ progress truewhen model-activation-in-progress.- list_
installed_ llm_ ids - Lists installed LLM IDs.
- list_
ollama_ models - List models on the configured Ollama host (empty vec if unreachable).
- load_
active_ model_ from_ disk - Loads active-model-from-disk.
- load_
active_ model_ record_ from_ disk - Loads active-model-record-from-disk.
- ollama_
generate - One-shot Ollama generate using persisted settings (for smoke / ETL hooks).
- ollama_
generate_ async - Ollama generate (async).
- probe_
ollama_ status - Probe the configured Ollama endpoint (tags + reachability).
- probe_
ollama_ status_ async - Probes Ollama status (async).
- resolve_
model_ preference - Resolves a model preference.
- restore_
active_ model_ on_ startup - Restores the active model on startup.
- save_
inference_ backend_ settings - Saves inference-backend-settings.
- save_
model_ preferences - Saves model-preferences.
- set_
active_ model - Sets active-model.
- set_
active_ model_ async - Activate a model on a background thread so the Flutter FRB caller is not blocked.
- take_
model_ activation_ error - Takes the model-activation error.
- try_
apply_ model_ preference - Applies a model preference.
- try_
apply_ model_ preference_ async - Applies a model preference (async).
- unload_
active_ model - Evict the resident model from memory without deleting on-disk GGUF files.