corder) recorder.stop();
            updateStatus("已停止", "disconnected");
            startBtn.disabled = false;
            stopBtn.disabled = true;
            interruptBtn.disabled = true;
            addLog("对话已停止");
        });

        interruptBtn.addEventListener('click', () => {
            if (player) {
                player.interrupt();
                addLog("手动触发打断");
            }
        });

        // 日志切换按钮事件
        logToggle.addEventListener('