Remove obsolete VALID_VOICES validation that was rejecting the new "model:voice" format from the voices endpoint integration. The old validation expected simple voice names like "onyx" but the new format uses "tts-1:onyx", causing validation to fail and produce malformed API requests that returned HTTP 400 errors. Changes: - Remove VALID_VOICES constant (no longer needed) - Update syncInputsAndQueryString() to accept any voice value from dropdown - Default to "tts-1:onyx" format if no value present Fixes the TTS errors seen in production where voice selection was failing with HTTP 400 status. |
||
|---|---|---|
| .. | ||
| base.html | ||
| chat.html | ||
| index.html | ||
| search.html | ||