mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 11:20:15 +01:00
🔉 fix: Elevenlabs TTS and STT (#3482)
* fix: add `await` on getVoices * fix: STT function * fix: elevenlabs * chore(lint): remove unnecessary whitespace in ldap.js --------- Co-authored-by: Danny Avila <danny@librechat.ai>
This commit is contained in:
parent
51cd847606
commit
27ab00c6a9
5 changed files with 4 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ async function getVoices(req, res) {
|
|||
}
|
||||
|
||||
const ttsSchema = customConfig?.speech?.tts;
|
||||
const provider = getProvider(ttsSchema);
|
||||
const provider = await getProvider(ttsSchema);
|
||||
let voices;
|
||||
|
||||
switch (provider) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue