mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-12-05 15:41:56 +00:00
feat:修复消息长度匹配错误
This commit is contained in:
parent
661471b54c
commit
5ca9788b2c
@ -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回复
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user