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! ๐ง ๐๏ธ
