Replace retired Cartesia models with sonic-3.6 in the model list (#569)

Co-authored-by: cartesia-amarat <342162396+cartesia-amarat@users.noreply.github.com>
This commit is contained in:
cartesia-amaratandcartesia-amarat authored and GitHub committed 2026-10-16 10:28:44 -04:00
1 parent b16a6f9e16
commit 25bf653562
2 files changed
+9 -31

No files matched your search

+1 -1
View File
@@ -1775,7 +1775,7 @@ const testCartesia = async(logger, synthAudio, credentials) => {
async function getLanguagesVoicesForCartesia(credential) {
if (credential) {
const {model_id} = credential;
const {languages} = TtsModelCartesia.find((m) => m.value === model_id);
const {languages} = TtsModelCartesia.find((m) => m.value === model_id) || TtsModelCartesia[0];
const voices = await fetchCartesiaVoices(credential);
const buildVoice = (d) => (