Skip to content

v0.11.1 — dictation on whisper.cpp 1.8.3 and later

Choose a tag to compare

@devXpro devXpro released this 02 Nov 09:14
· 6 commits to main since this release

Dictation stopped working on whisper.cpp 1.8.3 and later, which is what Homebrew installs now (1.9.5). Since 0.9.0 the plugin started whisper-server with --no-context, an argument those builds no longer know: the server printed its usage and ended with exit code 0, the recogniser never came up, and every dictated sentence was refused with «the plugin's recogniser is not running».

What changed

  • --no-context goes only to a build that lists it. The plugin asks whisper-server --help first. Up to 1.8.2 the flag is what keeps Whisper from answering in the language of the sentences before; from 1.8.3 every request is heard on its own already. Both kinds of build start now.
  • A start that fails says why. The panel and the log carry the engine's own error: line instead of the last line of its usage, and an engine that ends on its own is written to the daemon's log with its exit code.
  • The engine's stdout is no longer a pipe. Nobody read it, the server prints three lines to it for every request, and a pipe that fills up holds the whole server.

Tests

  • 181 unit tests, three of them new. The stand-in whisper-server now refuses an argument it does not know, as the real one does — the old one took anything, which is why this went unseen — and a second one stands for the builds before 1.8.3.
  • Run against the real whisper-server 1.7.6: the flag is found in its help, passed, and the engine comes up. Builds from 1.8.3 are covered by the stand-in, which follows whisper.cpp's own argument parser, not by a real binary.

After updating: reload the plugin (paseo plugin reload voice); dictation starts its engine again by itself. A whisper-server left behind by a daemon that was killed outright can still hold port 8125 and is not stopped for you — troubleshooting shows how to find it.

Full changelog: v0.11.0...v0.11.1