fix: centralize voice config — remove hardcoded ElevenLabs IDs#1019
Open
qozle wants to merge 1 commit intodanielmiessler:mainfrom
Open
fix: centralize voice config — remove hardcoded ElevenLabs IDs#1019qozle wants to merge 1 commit intodanielmiessler:mainfrom
qozle wants to merge 1 commit intodanielmiessler:mainfrom
Conversation
…faults VoiceServer already resolves voice via settings.json (voices.main fallback). Hardcoded voice_id in curl commands bypassed this, causing 402 errors for free-tier ElevenLabs users. Fix: remove voice_id from all curls and agent frontmatter so VoiceServer's 3-tier resolution handles it. Set settings.json default to a confirmed free-tier voice ID for out-of-box functionality. Closes danielmiessler#925 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
voice_idparameters from curl commands and agent frontmatter across v4.0.2 and v4.0.3caller voice_settings>voice_id lookup>settings.json voices.main). The hardcoded IDs were bypassing this chain, causing 402 errors for free-tier userssettings.jsondefault voice tobIHbv24MWmeRgasZH58o(confirmed free-tier) so voice works out of the boxWhy this instead of find-and-replace (PR #1018):
The previous approach replaced 8 broken IDs with 1 working ID across 46 files — same architecture, different value. This PR removes the scattered IDs entirely and lets VoiceServer's existing fallback chain handle resolution. Users configure voice once in
settings.json; all curls and agents inherit it.52 files changed, 110 insertions, 158 deletions (net -48 lines — removing config, not adding it)
Closes #925
Test plan
grep -rn 'fTtv3eikoepIosk8dTZ5\|muZKMsIDGYtIkjjiUS82' Releases/v4.0.{2,3}/settings.json → daidentity.voices.main.voiceIdvoice_idcorrectly fall back to VoiceServer default🤖 Generated with Claude Code