DEFAULT_WHISPER_MODEL

Constant DEFAULT_WHISPER_MODEL 

Source
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 / settings voice: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 via voice:whisperModel); override with an explicit voice: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.