From 83665748ba447f3d4ebc8983d72b14f4946f7d8b Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 29 Jan 2026 20:31:04 -0500 Subject: [PATCH] feat(tts): add new OpenAI gpt-4o-mini-tts voices Add ballad, cedar, marin, and verse to OPENAI_TTS_VOICES. These voices were introduced with gpt-4o-mini-tts but were missing from the validation list, causing fallback to Edge TTS. --- src/tts/tts.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/tts/tts.ts b/src/tts/tts.ts index faa83d3a6..93c04d5a4 100644 --- a/src/tts/tts.ts +++ b/src/tts/tts.ts @@ -773,13 +773,17 @@ function isCustomOpenAIEndpoint(): boolean { export const OPENAI_TTS_VOICES = [ "alloy", "ash", + "ballad", + "cedar", "coral", "echo", "fable", - "onyx", + "marin", "nova", + "onyx", "sage", "shimmer", + "verse", ] as const; type OpenAiTtsVoice = (typeof OPENAI_TTS_VOICES)[number];