Wyoming Openai – Configurable extra_body & STT language fix (0.4.2)
🚨 Wyoming OpenAI v0.4.2 is live! 🚨
Hey AI tinkerers & voice-stack builders—big updates just dropped:
🔹 Configurable `extra_body` for STT & TTS
New CLI flags (`–stt-extra-body`, `–tts-extra-body`) + env vars let you inject custom JSON into OpenAI-compatible API calls. Think: extra params for voice cloning, custom endpoints, or experimental models—while safely blocking overrides of critical fields like `stream` and `response_format`.
🔹 STT Language Fix 🌍
Wyoming’s `Transcribe` events now correctly forward the language tag → better accuracy for non-default languages (e.g., 🇯🇵 Japanese, 🇫🇷 French). No more silent fallbacks to English!
✅ Bonus fixes:
- ASR state resets on invalid requests (bye-bye, audio ghosts 🎭)
- TTS buffering upgraded: `list + join` over quadratic string concat → way faster for long-form audio 🏃♂️
- +796 lines of new tests (yes, we’re obsessive)
📦 Install via `pip install wyoming-openai`, spin up with Docker, or plug straight into Home Assistant. All models—OpenAI, LocalAI, Kokoro, Edge TTS—work out of the box.
🔥 No API keys needed if you’re self-hosting!
🔗 Changelog: [v0.4.1…v0.4.2](link)
Let’s build smarter voice agents—together! 🧠🎙️
