forked from open-webui/open-webui
feat: speech recognition auto send toggle
This commit is contained in:
parent
2a4beae5d9
commit
526fcb02c3
2 changed files with 34 additions and 3 deletions
|
@ -235,6 +235,9 @@
|
|||
// Restart recognition after it ends
|
||||
console.log('recognition ended');
|
||||
speechRecognitionListening = false;
|
||||
if (prompt !== '' && settings?.speechAutoSend === true) {
|
||||
submitPrompt(prompt);
|
||||
}
|
||||
};
|
||||
|
||||
// Event triggered when an error occurs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue