mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
🐞 fix: add LocalAI to GET /voices (#2837)
This commit is contained in:
parent
b3e03b75d0
commit
6cf1c85363
1 changed files with 3 additions and 0 deletions
|
|
@ -31,6 +31,9 @@ async function getVoices(req, res) {
|
|||
case 'elevenlabs':
|
||||
voices = ttsSchema.elevenlabs?.voices;
|
||||
break;
|
||||
case 'localai':
|
||||
voices = ttsSchema.localai?.voices;
|
||||
break;
|
||||
default:
|
||||
throw new Error('Invalid provider');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue