mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-16 07:28:09 +01:00
🌊 feat: enhance TTSService with Deepgram SDK integration and refactor voice validation
This commit is contained in:
parent
5eabd2493c
commit
b7f4903acd
3 changed files with 123 additions and 33 deletions
|
|
@ -37,6 +37,9 @@ async function getVoices(req, res) {
|
|||
case TTSProviders.LOCALAI:
|
||||
voices = ttsSchema.localai?.voices;
|
||||
break;
|
||||
case TTSProviders.DEEPGRAM:
|
||||
voices = ttsSchema.deepgram?.voices;
|
||||
break;
|
||||
default:
|
||||
throw new Error('Invalid provider');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue