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
[FEATURE] Retain inbound voice/audio files locally with cleanup #668
Inbound Telegram voice/audio messages are already transcribed to text via local
whisper.cpp (shipped in #559 / commit 2f3828a). The original request (#433) also asked
for the raw voice files to be retained locally with cleanup (e.g. keep only the last N).
Today the downloaded audio is written to an OS temp file and deleted immediately after
transcription (internal/services/channels/telegram.go transcribeVoice -> defer
os.Remove; internal/stt/file.go defer os.Remove on the WAV), so nothing is kept.
This issue tracks the remaining retention criterion split out from #433.
Acceptance Criteria
Downloaded voice/audio files are retained under a configurable directory (default e.g. ~/.infer/voice/)
Retention bounded by a configurable cap (e.g. speech_to_text.retain_recordings: 10; 0 = keep none = current behavior)
Oldest files pruned automatically once the cap is exceeded
New config field seeded by infer init and documented in docs/speech-to-text.md
Activity
feat(channels): retain inbound voice/audio recordings with bounded cl…
inference-gateway-releaser commentedon Jun 28, 2026
🎉 This issue has been resolved in version 0.125.0 🎉
The release is available on:
Your semantic-release bot 📦🚀