Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-stt
Repository files (latest commit first)
Filename Latest commit message Latest commit date
maia bceaf31f36 swarm-stt: move the settings and request handling out of main and test it
main read the environment through closures built inline and held the
per-request admission and answer inside the receive loop, so none of it
could run in a test. Each is now a function:

- env_var and env_number read through a lookup closure in place of
  std::env, and main wraps std::env::var.
- request_agent, admit and respond hold the admission and the answer of
  one request; answer takes any Engine instead of Whisper.
- stored_value holds the check on the stored client secret.

Tests run settings, admission and answers against a fake engine.

Closes #6811
2026-11-23 21:03:05 +01:00
..
src swarm-stt: move the settings and request handling out of main and test it 2026-11-23 21:03:05 +01:00
Cargo.toml swarm-stt: metrics and a Grafana board for the speech-to-text service 2026-11-12 12:18:32 +01:00