This commit is contained in:
jxxghp
2023-08-29 12:22:14 +08:00
parent d0a92531ac
commit c138cda735
2 changed files with 23 additions and 13 deletions

View File

@ -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) > 10 \
or StringUtils.count_words(text) > 15 \
or text.find("继续") != -1:
# 聊天
content = text