fix(desktop): drop tts.xai.text_normalization — not honored by the xAI TTS backend

Follow-up to the salvaged #56724: the runtime's _generate_xai_tts reads
voice_id, language, speed, auto_speech_tags, optimize_streaming_latency,
sample_rate, and bit_rate — but never text_normalization, and the xAI
/v1/tts payload builder has no such field. Surfacing it in the desktop
GUI would be a dead knob, so remove it from DEFAULT_CONFIG, constants.ts
(labels/descriptions/SECTIONS), and the ja/zh/zh-hant locale catalogs.
The other six xAI keys are all verified against tools/tts_tool.py.
This commit is contained in:
teknium1 2026-07-18 15:25:50 -07:00 committed by Teknium
parent 2783d4c698
commit 6bb8a0aef1
5 changed files with 0 additions and 7 deletions

View file

@ -2187,7 +2187,6 @@ DEFAULT_CONFIG = {
"language": "en", # BCP-47 code ("en", "pt-BR") or "auto"
"speed": 1.0, # 0.71.5, playback speed
"auto_speech_tags": False, # insert expressive audio tags via LLM rewrite
"text_normalization": False, # normalize numbers/abbreviations/symbols to spoken form
"optimize_streaming_latency": 0, # 02, trades quality for lower latency
"sample_rate": 24000, # 22050 / 24000 / 44100 / 48000
"bit_rate": 128000, # MP3 bitrate; only applies when codec=mp3