Skip to content

ENG-87042: clarify TTS language parameter supports lowercase locales#265

Merged
rishabh-bhargava merged 1 commit intomainfrom
feature/eng-87042-tts-locale-language
Apr 30, 2026
Merged

ENG-87042: clarify TTS language parameter supports lowercase locales#265
rishabh-bhargava merged 1 commit intomainfrom
feature/eng-87042-tts-locale-language

Conversation

@rishabh-bhargava
Copy link
Copy Markdown
Contributor

Summary

  • Relaxes the TTS language enum to a free-form string so locale codes (e.g. zh-hk) are accepted.
  • Updates the description to document that locales are supported and must be lowercase (e.g. zh-hk for Cantonese, not zh-HK).
  • Mirrors mintlify-docs#764 which made the same change in the docs source.

Context

User reported zh-HK was failing for Cantonese on English_Aussie_Bloke (Minimax); lowercase zh-hk works. Linear: ENG-87042.

Test plan

  • Spec lints / renders correctly in downstream docs sync.
  • No clients depended on the previous enum constraint for validation.

ENG-87042

Relaxes the TTS `language` enum to free-form string and updates the
description to note that locale codes (e.g. `zh-hk` for Cantonese) are
supported and must be lowercase. Mirrors mintlify-docs PR #764.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 30, 2026

✱ Stainless preview builds

This PR will update the togetherai SDKs with the following commit messages.

go

fix(types): change language from enum to string in audio speech

openapi

feat(api): remove language enum constraint to accept locale codes

python

feat: ENG-87042: clarify TTS language parameter supports lowercase locales

terraform

feat: ENG-87042: clarify TTS language parameter supports lowercase locales

typescript

feat: ENG-87042: clarify TTS language parameter supports lowercase locales
togetherai-openapi studio · code

Your SDK build had at least one "note" diagnostic.
generate ✅

⚠️ togetherai-typescript studio · conflict

Your SDK build had at least one warning diagnostic.

⚠️ togetherai-go studio · code

Your SDK build had a failure in the test CI job, which is a regression from the base state.
generate ✅build ⏭️lint ✅test ❗

go get github.com/stainless-sdks/togetherai-go@c7c3dd500bb4e7ca3489ed06e36313de91b8f3e8
⚠️ togetherai-python studio · code

Your SDK build had at least one "warning" diagnostic.
generate ⚠️build ✅lint ✅test ⏭️

pip install https://pkg.stainless.com/s/togetherai-python/95cf65b30233791b1e73f823a3cb0e6cdb731ab4/together-2.11.0-py3-none-any.whl
togetherai-terraform studio · code

Your SDK build had at least one "note" diagnostic.
generate ✅lint ✅test ✅


This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-04-30 18:43:33 UTC

@rishabh-bhargava rishabh-bhargava merged commit 301e023 into main Apr 30, 2026
5 of 6 checks passed
@rishabh-bhargava rishabh-bhargava deleted the feature/eng-87042-tts-locale-language branch April 30, 2026 18:40
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.

2 participants