.agents/memory/2026-03-02-meeting-notes-transcription-fix.md

1.1 KiB

2026-03-02 Session Notes

Meeting-Notes Transcription Fix

Session began with a task to fix the transcribeWithOnnxAsr() function in the meeting-notes tool (located at /home/nicholai/.agents/tools/meeting-notes/src/index.ts). The current implementation attempts to import a non-existent onnx_asr module, which fails.

The fix requires replacing the ONNX-based transcription with pywhispercpp, which is already installed on the system. The function needs to:

  1. Accept a WAV file path as input
  2. Load a whisper model using Model('base.en') or equivalent from available models
  3. Call model.transcribe(wav_path) and extract text from segments
  4. Return the concatenated transcript string

Available whisper models are stored at ~/.local/share/pywhispercpp/models/.

After fixing, the build process requires bun run build, followed by notifying OpenClaw via openclaw system event --text 'Done: Fixed meeting-notes transcription to use pywhispercpp' --mode now.

Session is in progress; initial file exploration completed but no code changes implemented yet.