feat(backend): switch mentor TTS voice to cloned shifu-warm voice

Already deployed to production jar on 2026-07-20; committing to keep
repo in sync with the live service.
This commit is contained in:
2026-07-20 09:03:58 +08:00
parent 578592b21d
commit 95759d7f26
@@ -36,7 +36,7 @@ public class AihrSpeechService {
private static final String DEFAULT_TTS_VOICE = "anna"; private static final String DEFAULT_TTS_VOICE = "anna";
private static final Pattern SAFE_VOICE = Pattern.compile("[A-Za-z0-9_./:-]{1,200}"); private static final Pattern SAFE_VOICE = Pattern.compile("[A-Za-z0-9_./:-]{1,200}");
private static final Map<String, String> ROLE_VOICES = Map.of( private static final Map<String, String> ROLE_VOICES = Map.of(
"mentor", "anna", "mentor", "speech:shifu-warm-v1:cm3hz4wfz02jy106j6z6muix7:ysvbyzypjgmnceokxedr",
"customer", "bella", "customer", "bella",
"interviewer", "alex" "interviewer", "alex"
); );