mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
🔧 fix: STT/TTS external checks (#3409)
* fix: STT/TTS external * remove unnecessary console log
This commit is contained in:
parent
422d1a2c91
commit
620973436c
1 changed files with 5 additions and 1 deletions
|
|
@ -75,7 +75,11 @@ function Speech() {
|
||||||
playbackRate: { value: playbackRate, setFunc: setPlaybackRate },
|
playbackRate: { value: playbackRate, setFunc: setPlaybackRate },
|
||||||
};
|
};
|
||||||
|
|
||||||
if (settings[key].value !== newValue || settings[key].value === newValue || !settings[key]) {
|
if (
|
||||||
|
(settings[key].value !== newValue || settings[key].value === newValue || !settings[key]) &&
|
||||||
|
settings[key].value !== 'sttExternal' &&
|
||||||
|
settings[key].value !== 'ttsExternal'
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue