open-notebook/open_notebook/ai/assets
Luis Novo dd6dc0a499
fix: use a real speech clip for STT connection tests (#838)
The model connection test transcribed a 0.5s silent WAV, so every
speech-to-text test returned a blank transcription — looking broken even
when the provider worked. Bundle a tiny "Hello there" MP3 (6 KB, 16 kHz
mono) and use it instead, so a passing STT test returns actual text.

- Add open_notebook/ai/assets/test_speech.mp3 (shipped via package-data).
- _get_test_audio() loads it, falling back to the silent WAV if missing.
- Empty transcriptions now report a clear message instead of a blank line.
2026-06-02 09:09:30 -03:00
..
test_speech.mp3 fix: use a real speech clip for STT connection tests (#838) 2026-06-02 09:09:30 -03:00