优化:与AI聊天不再阻塞全局发言锁,允许在AI思考期间继续在公屏聊天

This commit is contained in:
2026-02-28 11:12:51 +08:00
parent 7bbc4c18d7
commit cb2e962116

View File

@@ -763,8 +763,8 @@
if (toUser === 'AI小班长') {
contentInput.value = '';
contentInput.focus();
await sendToChatBot(content);
_isSending = false;
sendToChatBot(content); // 异步调用,不阻塞全局发送
return;
}