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.
Enums§
- Model
Support Tier - Support tier for catalogue display (JOE-1650).
Constants§
- ARTIFACT_
MANIFEST_ SOURCE - Provenance label for built-in pins.
- ARTIFACT_
MANIFEST_ VERSION - Manifest schema version for diagnostics (JOE-1590).
- MODELS
- Models supported in v0.0.0 (full + common quantized variants).
Functions§
- artifact_
manifest_ json - Diagnostic JSON for a catalogue entry (manifest provenance).
- 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_ verified_ local - Public local-only verify used by cache inventory (no network).
- 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).
- model_
support_ tier - Support tier for a catalogue name (aliases resolve via
lookup_model). - models_
dir - Directory where ggml models are stored:
<cache>/models/. - pinned_
exact_ bytes - Reviewed exact sizes when known (from HF package metadata / maintainer review).
- pinned_
sha256 - Independently reviewed SHA-256 digests (JOE-1590 / JOE-1645).
Type Aliases§
- Download
Progress Callback - Callback for download progress. Invoked from the async download task.