feat:修复消息长度匹配错误

This commit is contained in:
Jerry 2025-10-18 18:20:18 +08:00
parent 661471b54c
commit 5ca9788b2c

View File

@ -184,7 +184,7 @@ async function handleAiMode(userMessage, e, aiConfig) {
}
async function handleMixMode(userMessage, e, aiConfig) {
const isTooLong = await KeywordMatcher.isMessageTooLong(userMessage);
const isTooLong = await KeywordMatcher.isMessageTooLong(e.msg);
if (isTooLong) {
//消息太长,使用AI回复