Repository navigation
TTS: add missing OpenAI voices (ballad, cedar, juniper, marin, verse) - #11020
Merged
Takhoffman merged 1 commit intoFeb 13, 2026
Merged
Conversation
Takhoffman
force-pushed
the
fix/tts-add-missing-openai-voices-2393
branch
from
February 13, 2026 02:29
c7ecfa1 to
5c6b80e
Compare
Contributor
|
Merged via squash.
Thanks @lailoo! |
skyhawk14
pushed a commit
to skyhawk14/openclaw
that referenced
this pull request
Feb 13, 2026
…openclaw#11020) thanks @lailoo Verified: - pnpm install --frozen-lockfile - pnpm build - pnpm check - pnpm test Co-authored-by: ${pr_author_login} <${coauthor_email}> Co-authored-by: ${tak_name} <${tak_email}>
GwonHyeok
pushed a commit
to learners-superpumped/openclaw
that referenced
this pull request
Feb 15, 2026
…openclaw#11020) thanks @lailoo Verified: - pnpm install --frozen-lockfile - pnpm build - pnpm check - pnpm test Co-authored-by: ${pr_author_login} <${coauthor_email}> Co-authored-by: ${tak_name} <${tak_email}>
lovewanwan
pushed a commit
to lovewanwan/openclaw
that referenced
this pull request
Apr 28, 2026
…openclaw#11020) thanks @lailoo Verified: - pnpm install --frozen-lockfile - pnpm build - pnpm check - pnpm test Co-authored-by: ${pr_author_login} <${coauthor_email}> Co-authored-by: ${tak_name} <${tak_email}>
ogt-redknie
pushed a commit
to ogt-redknie/OPENX
that referenced
this pull request
May 2, 2026
…openclaw#11020) thanks @lailoo Verified: - pnpm install --frozen-lockfile - pnpm build - pnpm check - pnpm test Co-authored-by: ${pr_author_login} <${coauthor_email}> Co-authored-by: ${tak_name} <${tak_email}>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
May 9, 2026
…openclaw#11020) thanks @lailoo Verified: - pnpm install --frozen-lockfile - pnpm build - pnpm check - pnpm test Co-authored-by: ${pr_author_login} <${coauthor_email}> Co-authored-by: ${tak_name} <${tak_email}>
lhfer
pushed a commit
to lhfer/openclaw
that referenced
this pull request
Oct 11, 2026
…openclaw#11020) thanks @lailoo Verified: - pnpm install --frozen-lockfile - pnpm build - pnpm check - pnpm test Co-authored-by: ${pr_author_login} <${coauthor_email}> Co-authored-by: ${tak_name} <${tak_email}>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #2393.
The
OPENAI_TTS_VOICESallowlist was missing 5 voices that OpenAI officially supports for thegpt-4o-mini-ttsmodel: ballad, cedar, juniper, marin, and verse.When a user configured one of these voices (e.g.,
messages.tts.openai.voice: "cedar"),isValidOpenAIVoice()returnedfalse, causing TTS to silently fall back to Edge TTS instead of using the configured OpenAI voice.Changes
src/tts/tts.ts: Addballad,cedar,juniper,marin,versetoOPENAI_TTS_VOICESarray (alphabetical order preserved).src/tts/tts.test.ts: Add regression test verifying all 5 new voices are accepted byisValidOpenAIVoice().CHANGELOG.md: Add fix entry.Verification
gpt-4o-mini-tts) and Realtime API docs.pnpm vitest run src/tts/tts.test.ts).Note
The original issue (#2393) mentioned 4 voices (ballad, cedar, juniper, verse). After checking OpenAI docs, I also added marin which is officially recommended alongside cedar for best quality.
Greptile Overview
Greptile Summary
ballad,cedar,juniper,marin,verse.isValidOpenAIVoice().Confidence Score: 5/5