forked from open-webui/open-webui
fix: convo mode
This commit is contained in:
parent
3015bb766d
commit
f9f1d9d2ad
1 changed files with 11 additions and 1 deletions
|
@ -40,7 +40,17 @@
|
||||||
|
|
||||||
const toggleConversationMode = async () => {
|
const toggleConversationMode = async () => {
|
||||||
conversationMode = !conversationMode;
|
conversationMode = !conversationMode;
|
||||||
saveSettings({ conversationMode: conversationMode });
|
|
||||||
|
if (conversationMode) {
|
||||||
|
responseAutoPlayback = true;
|
||||||
|
speechAutoSend = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
saveSettings({
|
||||||
|
conversationMode: conversationMode,
|
||||||
|
responseAutoPlayback: responseAutoPlayback,
|
||||||
|
speechAutoSend: speechAutoSend
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const toggleResponseAutoPlayback = async () => {
|
const toggleResponseAutoPlayback = async () => {
|
||||||
|
|
Loading…
Reference in a new issue