Skip to content

chore: Simplify TTS enum types (TtsLanguage, SpeechModel)#7

Closed
Kavii-Camb wants to merge 2 commits intoCamb-ai:masterfrom
Kavii-Camb:simplify-enums
Closed

chore: Simplify TTS enum types (TtsLanguage, SpeechModel)#7
Kavii-Camb wants to merge 2 commits intoCamb-ai:masterfrom
Kavii-Camb:simplify-enums

Conversation

@Kavii-Camb
Copy link
Copy Markdown
Contributor

Summary

  • Renamed CreateStreamTtsRequestPayloadLanguage to TtsLanguage for cleaner API usage
  • Renamed CreateStreamTtsRequestPayloadSpeechModel to SpeechModel for cleaner API usage
  • Updated all references across source code, examples, and documentation

Changes

  • git mv used for file renames (preserves git history)
  • All imports, type references, and builder parameters updated
  • No functional changes — enum variants and serialization values are unchanged

Test plan

  • Verify the SDK compiles successfully
  • Verify TTS examples run with the new enum names
  • Confirm JSON serialization produces the same values as before

Rename CreateStreamTtsRequestPayloadLanguage to TtsLanguage and
CreateStreamTtsRequestPayloadSpeechModel to SpeechModel for cleaner API.
@Kavii-Camb Kavii-Camb closed this Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant