优化ai小班长聊天

This commit is contained in:
2026-04-25 00:42:46 +08:00
parent aab609f69b
commit 8cf5029711
3 changed files with 31 additions and 15 deletions
@@ -3397,7 +3397,7 @@
// 如果发言对象是 AI 小助手,也发送一份给专用机器人 API,不打断正常的发消息流程
if (toUser === 'AI小班长' && content) {
sendToChatBot(content); // 异步调用,不阻塞全局发送
sendToChatBot(content, composerState.isSecret); // 异步调用,私聊状态一并传递
}
// ── 神秘箱子暗号拦截 ────────────────────────────────────