修复主动思考回复奇怪格式的问题,修改napcat插件遗留配置项
This commit is contained in:
@@ -154,7 +154,7 @@ class ResponseHandler:
|
||||
|
||||
if isinstance(data, list):
|
||||
data = "".join(map(str, data))
|
||||
reply_text += data
|
||||
reply_text += data.get("data",{}).get("text","")
|
||||
|
||||
# 如果是主动思考且内容为“沉默”,则不发送
|
||||
if is_proactive_thinking and data.strip() == "沉默":
|
||||
|
||||
Reference in New Issue
Block a user