Skip to main content

Module model

Module model 

Source
Expand description

Active model + lifecycle

Functionsยง

active_model_path
clear_active_model_record
get_active_model
get_inference_backend_settings
get_model_lifecycle_status
get_model_preferences
install_catalog_llm
is_model_activation_in_progress
list_installed_llm_ids
list_ollama_models
List models on the configured Ollama host (empty vec if unreachable).
load_active_model_from_disk
load_active_model_record_from_disk
ollama_generate
One-shot Ollama generate using persisted settings (for smoke / ETL hooks).
ollama_generate_async
probe_ollama_status
Probe the configured Ollama endpoint (tags + reachability).
probe_ollama_status_async
resolve_model_preference
restore_active_model_on_startup
save_inference_backend_settings
save_model_preferences
set_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
try_apply_model_preference
try_apply_model_preference_async
unload_active_model
Evict the resident model from memory without deleting on-disk GGUF files.