STT_PROVIDER now defaults to "builtin": Whisper (onnx-community/whisper-base, q8) runs in the bridge process on the CPU via @huggingface/transformers, so no provider account is needed and recordings stay on the bridge host. Silent captures are detected by level before the model runs. The external OpenAI-compatible adapter remains available. Tests: 130 unit/integration; 4 scenarios with the real model on a real speech recording (npm run test:real-stt). Not tested on audio from the glasses or on a droplet. deploy/ and docs/deploy-droplet.md are examples that have not been run. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
11 lines
339 B
Caddyfile
11 lines
339 B
Caddyfile
# Caddy terminates TLS (certificates are obtained automatically) and forwards to the bridge
|
|
# on loopback. Replace the hostname. Example only: not yet run on a droplet.
|
|
bridge.example.com {
|
|
encode zstd gzip
|
|
# Audio uploads are at most about 1 MB at the default 30 s cap.
|
|
request_body {
|
|
max_size 2MB
|
|
}
|
|
reverse_proxy 127.0.0.1:8787
|
|
}
|