Expand description
Local whisper.cpp model management: resolve, download, cache, list.
Structs§
- Download
Progress - Progress event while downloading a model (library hosts / UI).
- Ensure
Model Options - Options for
ensure_model. - Model
Info - Known local model names and their ggml filenames.
- Model
Status - Status of a model relative to the local cache.
Constants§
- MODELS
- Models supported in v0.0.0 (full + common quantized variants).
Functions§
- available_
model_ names - Names shown in user-facing help (canonical, not aliases).
- ensure_
model - Ensure a model is present locally, downloading if needed. Returns the path.
- ensure_
model_ with_ options - Ensure model with offline / progress options.
- format_
model_ list - Format a human-readable model table for CLI output.
- is_
model_ cached - True if a usable model file is already on disk.
- list_
models - List canonical models and whether each is cached.
- lookup_
model - model_
path - Path to a cached model file (may not exist yet).
- models_
dir - Directory where ggml models are stored:
<cache>/models/.
Type Aliases§
- Download
Progress Callback - Callback for download progress. Invoked from the async download task.