浏览代码

Update response_type_detector: update limit for voice response

StrayWarrior 5 天之前
父节点
当前提交
bd08afb094
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      response_type_detector.py

+ 1 - 1
response_type_detector.py

@@ -75,7 +75,7 @@ class ResponseTypeDetector:
     @staticmethod
     def if_message_suitable_for_voice(message):
         # 使用语音的文字不适合过长
-        if len(message) > 30:
+        if len(message) > 50:
             return False
         # 只有纯文字的消息适合使用语音
         if not ResponseTypeDetector.is_chinese_only(message):