open-notebook/open_notebook/ai
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
..
assets fix: use a real speech clip for STT connection tests (#838) 2026-06-02 09:09:30 -03:00
__init__.py
CLAUDE.md docs: update documentation for error handling and podcast retry (#599) 2026-02-18 09:56:04 -03:00
connection_tester.py fix: use a real speech clip for STT connection tests (#838) 2026-06-02 09:09:30 -03:00
key_provider.py feat: expose new audio providers (Mistral STT/TTS, Deepgram TTS, xAI TTS) (#834) 2026-06-02 06:27:09 -03:00
model_discovery.py feat: complete audio matrix (Google/Vertex TTS, Google/ElevenLabs STT) (#835) 2026-06-02 06:32:48 -03:00
models.py fix: restore graceful fallback in get_default_model and truncate error messages 2026-02-16 16:25:31 -03:00
provision.py feat: improve error clarity for LLM provider failures (#506) 2026-02-16 16:15:46 -03:00