Skip to content

fix(model-runtime): type TTS model voices#209

Open
WH-2099 wants to merge 1 commit into
mainfrom
fix/tts-model-voices-type
Open

fix(model-runtime): type TTS model voices#209
WH-2099 wants to merge 1 commit into
mainfrom
fix/tts-model-voices-type

Conversation

@WH-2099

@WH-2099 WH-2099 commented Jul 6, 2026

Copy link
Copy Markdown
Member

Important

  1. Make sure you have read our contribution guidelines
  2. Search existing issues and pull requests to confirm this change is not a duplicate
  3. Open or identify the issue this pull request resolves or advances
  4. Use a Conventional Commits title for this pull request, and mark breaking changes with !
  5. Remember that the pull request title will become the squash merge commit message
  6. If CLA Assistant prompts you, sign CLA.md in the pull request conversation

Related Issue

Closes #175

Summary

  • Added a TTSModelVoice TypedDict for TTS voice options.
  • Typed get_tts_model_voices as list[TTSModelVoice] on the runtime protocol and wrapper.
  • Updated the TTS dispatch test stub to match the {"name", "value"} voice shape.

Checklist

  • This pull request links the issue it resolves or advances
  • This pull request title follows Conventional Commits, and any breaking change is marked with !
  • If CLA Assistant prompted me, I signed CLA.md in the pull request conversation

@WH-2099 WH-2099 requested a review from cqjjjzr July 6, 2026 17:50
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jul 6, 2026
@WH-2099 WH-2099 enabled auto-merge (squash) July 6, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

typing get_tts_model_voices

2 participants