Skip to content

aishell v1.0.4 — one-shot enforcement in aishell's own source

Pre-release
Pre-release

Choose a tag to compare

@nrupala nrupala released this 06 Nov 03:22
· 57 commits to main since this release

aishell v1.0.4 — one-shot behaviour now lives in aishell's own source (supersedes v1.0.3).

v1.0.3's --single-turn worked everywhere we checked, but it was the same kind of dependency that broke v1.0.1 (-no-cnv, removed upstream) and v1.0.2 (--no-conversation, removed upstream). So v1.0.4 removes the dependency class entirely:

  • aishell passes llama-cli only the stable core flags (-m, -c, -n, --temp, --log-disable, -p) — unchanged in meaning since llama.cpp's earliest builds. No conversation flags, no display flags.
  • aishell itself terminates llama-cli the moment a complete response block has been captured, whatever the build's conversation behaviour, and bounds every inference with a 10-minute timeout (the failure mode behind the 2026-10-30 hang).
  • The test suite (16 tests) forbids the whole conversation/display flag class and drives a fake conversation-mode llama-cli that would wait forever, proving termination on completion and on timeout.

Proofs: unit suite 16/16; live run against the current ggml-org llama.cpp (b12140) with no conversation flags passed — proposed and answered cleanly. Platform re-proofs (Aetheris/old llama-cli, Windows on the T15, macOS runner) run against these published binaries; results are recorded in the gate pack.

Binaries (in dist/, SHA-256 in dist/SHA256SUMS.txt):

  • ai-shell.exe — Windows x86-64
  • ai-shell-linux — Linux x86-64
  • ai-shell-linux-arm64 — Linux arm64
  • ai-shell-mac — macOS Apple Silicon (arm64)

The model (~1.9 GB) is fetched by setup.bat / setup.sh; it is not bundled. Licence: Apache-2.0. This is a prerelease (release candidate in soak).