update: 拨号成功后自动开启录音

This commit is contained in:
lww155
2026-01-23 09:13:19 +08:00
parent d6a32416d7
commit 28f9f23449
@@ -333,6 +333,11 @@ class UIController {
// 连接成功后开始对话
startAIChatSession() {
this.addChatMessage('连接成功,开始聊天吧~🙂', false);
// 开启录音
const recordBtn = document.getElementById('recordBtn');
if (recordBtn) {
recordBtn.click();
}
}
// 处理连接按钮点击