修复主动思考回复奇怪格式的问题,修改napcat插件遗留配置项

This commit is contained in:
Windpicker-owo
2025-09-07 03:11:09 +08:00
parent d826bc2391
commit 3d8da9f073
2 changed files with 3 additions and 3 deletions

View File

@@ -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() == "沉默":