mirror of https://github.com/Mai-with-u/MaiBot.git
修复大小写
parent
74a6ae4b4d
commit
99f4e6e2f4
|
|
@ -160,7 +160,7 @@ class IdleChat:
|
|||
"""启动主动聊天检测"""
|
||||
# 检查是否启用了主动聊天功能
|
||||
if not global_config.enable_idle_chat:
|
||||
logger.info(f"[私聊][{self.private_name}]主动聊天功能已禁用(配置ENABLE_IDLE_CHAT=False)")
|
||||
logger.info(f"[私聊][{self.private_name}]主动聊天功能已禁用(配置enable_idle_chat=False)")
|
||||
return
|
||||
|
||||
if self._running:
|
||||
|
|
|
|||
|
|
@ -284,7 +284,6 @@ async def retrieve_contextual_info(
|
|||
retrieved_historical_chat_str = "无相关私聊历史回忆。"
|
||||
|
||||
# --- 1. 全局压缩记忆检索 (来自 HippocampusManager) ---
|
||||
# (保持你原始 pfc_utils.py 中这部分的逻辑基本不变)
|
||||
global_memory_log_msg = f"开始全局压缩记忆检索 (基于文本: '{text[:30]}...')"
|
||||
if text and text.strip() and text != "还没有聊天记录。" and text != "[构建聊天记录出错]":
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in New Issue