From 3fe4c9467e6ffd45e945e3300cbca7dac5e02f4a Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 10 Sep 2023 09:06:00 +0800 Subject: [PATCH] fix --- app/chain/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/chain/message.py b/app/chain/message.py index fdc0e3ec..212ddbda 100644 --- a/app/chain/message.py +++ b/app/chain/message.py @@ -270,7 +270,7 @@ class MessageChain(ChainBase): elif text.startswith("#") \ or re.search(r"^请[问帮你]", text) \ or re.search(r"[??]$", text) \ - or StringUtils.count_words(text) > 15 \ + or StringUtils.count_words(text) > 10 \ or text.find("继续") != -1: # 聊天 content = text