This commit is contained in:
zihanjian
2025-10-15 13:17:05 +08:00
parent f29af0e41b
commit a9baf72d19
2 changed files with 5 additions and 2 deletions

View File

@@ -234,7 +234,8 @@ class PerplexityManager:
wait_msg = "正在启用满血模式研究中...." if full_research_available else "正在联网查询,请稍候..."
if enable_full_research and not full_research_available:
self.LOG.warning("收到满血模式请求,但未配置推理模型,退回普通模式。")
send_text_func(wait_msg, at_list=at_user or "", record_message=False)
# 等待提示无需 @ 用户,避免频繁打扰
send_text_func(wait_msg, at_list="", record_message=False)
# 添加线程完成回调,自动清理线程
def thread_finished_callback():

View File

@@ -382,8 +382,10 @@ class Robot(Job):
return
self._msg_timestamps.append(now)
# 去除 Markdown 粗体标记,避免微信端出现多余符号
msg = msg.replace("**", "")
ats = ""
message_to_send = msg # 保存原始消息用于记录
message_to_send = msg # 保存清理后的消息用于记录
if at_list:
if at_list == "notify@all":
ats = " @所有人"