Repository navigation
feat(voice): /devscope:voice model chooses the server's voice (0.27.0) - #38
Merged
Merged
Conversation
`model` lists the server's voices (/api/ai/voice-models, default first), `model <name>` stores the choice in voice.json and sends it as `model` with every voice-audio request, `model default` clears it. The homelab offers Chatterbox Turbo (new default, Arc B580) and Kokoro (previous voice, CPU, also the server's fallback). A name the server does not offer is refused. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configuration
📒 Files selected for processing (9)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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
Choose which of the server's voices speaks:
voice.jsonasmodeland is sent with every/api/ai/voice-audiorequest. Unset, nothing is sent and the server's default speaks.GET /api/ai/voice-models; a name the server doesn't offer, or a malformed one, is refused.statusshows the chosen voice. Docs: README,/devscope:voicehelp, CLAUDE.md, CHANGELOG.Depends on DowLucas/devscope#85 (named voices). An older server ignores the choice.
Test plan
bash tests/voice/run.sh: 119 pass (new: nomodelby default, chosen model sent, list via/voice-models, set, refuse unknown, refuse malformed,defaultclears).🤖 Generated with Claude Code
Summary by CodeRabbit