You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The single-file CLI's akou serve says it is ready and then fails every job with ModuleNotFound #436
The single-file akou CLI can run akou serve, but it has no speech engine. That part is on purpose and documented in docs/server.md: a bun build --compile binary cannot carry sherpa-onnx's native addon or the recognizer Workers. What goes wrong is how the server behaves after it starts. It says it is ready, takes jobs it can never run, and each one fails with a build error that tells the user nothing.
Seen on the 1.2.4 darwin-arm64 CLI on 2026-10-25, with its own AKOU_HOME, api.bind 127.0.0.1, and one akou transcribe clip.wav --preset fast:
/healthz answers "ok":true,"models_ready":true.
The file job is accepted, then fails: BuildMessage: ModuleNotFound resolving "/$bunfs/root/finalize-worker.ts" (entry point).
The live Worker dies at start and is respawned: asr: live ASR worker died (BuildMessage: ModuleNotFound resolving "/$bunfs/root/live-worker.ts" (entry point)); starting a new one, then died again ... no live transcript for this run.
The Windows CLI fails a file job the same way (ModuleNotFound resolving B:\~BUN\root\finalize-worker.ts). That is why the 1.2.4 memory work has no Windows measurement.
What it should do instead:
/healthz reports models_ready: false with a reason, so a client or a load balancer does not send it work.
POST /v1/jobs and a live session are refused at once, with a clear error such as no_engine, naming the image or bun src/main/cli/cli.ts serve from a checkout. They should not be accepted and then fail.
The live Worker is not started at all, so there is no crash and respawn loop.
A test runs the compiled CLI's serve and checks those three answers.
Side note: a first akou config set with a fresh AKOU_HOME starts /Applications/akou.app if there is one, even when that app is an old version. On the test Mac it started 0.6.2. That probably deserves its own issue.
Activity