Fix microphone talk eou missing and clean chat log
This commit is contained in:
@@ -719,7 +719,14 @@
|
||||
sendCommand({ command: "chat", text });
|
||||
chatInput.value = "";
|
||||
});
|
||||
clearLogBtn.addEventListener("click", () => (logEl.innerHTML = ""));
|
||||
clearLogBtn.addEventListener("click", () => {
|
||||
logEl.innerHTML = "";
|
||||
chatHistory.innerHTML = "";
|
||||
setInterim("You", "");
|
||||
setInterim("AI", "");
|
||||
interimUserText = "";
|
||||
interimAiText = "";
|
||||
});
|
||||
inputSelect.addEventListener("change", () => {
|
||||
if (micStream) {
|
||||
stopMic();
|
||||
|
||||
Reference in New Issue
Block a user