优化:与AI聊天不再阻塞全局发言锁,允许在AI思考期间继续在公屏聊天
This commit is contained in:
@@ -763,8 +763,8 @@
|
|||||||
if (toUser === 'AI小班长') {
|
if (toUser === 'AI小班长') {
|
||||||
contentInput.value = '';
|
contentInput.value = '';
|
||||||
contentInput.focus();
|
contentInput.focus();
|
||||||
await sendToChatBot(content);
|
|
||||||
_isSending = false;
|
_isSending = false;
|
||||||
|
sendToChatBot(content); // 异步调用,不阻塞全局发送
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user