const DEFAULT_WHISPER_MODEL: &str = "base.en";Expand description
Transcribe via a local whisper-cli (whisper.cpp) subprocess. The renderer
sends 16 kHz mono WAV for this engine, so we write the body to a temp .wav
and run the CLI. Fully offline; nothing leaves the machine.
Config (env-first):
- binary —
AGENTMUX_WHISPER_CLI/ settingsvoice:whisperCliPath(user-provided; auto-bundling is a follow-up — per-platform binary fetch is fragile) - model — auto-downloaded on first use (default
base.en, configurable viavoice:whisperModel); override with an explicitvoice:whisperModelPath/AGENTMUX_WHISPER_MODEL.
Missing binary → NotConfigured (501).
Default GGML model name when none is configured. base.en (~142 MB) is a good
accuracy/size balance for English; configurable via voice:whisperModel.