From 45aeb2df3d9e0ae5734729cfd4b1373db4dafa3c Mon Sep 17 00:00:00 2001 From: SengokuCola <1026294844@qq.com> Date: Wed, 16 Jul 2025 19:29:12 +0800 Subject: [PATCH] remove log --- src/chat/focus_chat/heartFC_chat.py | 2 +- src/chat/willing/mode_classical.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/chat/focus_chat/heartFC_chat.py b/src/chat/focus_chat/heartFC_chat.py index cc8f48fe2..dd2d5374a 100644 --- a/src/chat/focus_chat/heartFC_chat.py +++ b/src/chat/focus_chat/heartFC_chat.py @@ -487,7 +487,7 @@ class HeartFChatting: # 打印消息信息 mes_name = self.chat_stream.group_info.group_name if self.chat_stream.group_info else "私聊" - logger.info(f"[{mes_name}] 当前聊天频率: {talk_frequency:.2f},兴趣值: {interested_rate:.2f},回复概率: {reply_probability * 100:.1f}%") + # logger.info(f"[{mes_name}] 当前聊天频率: {talk_frequency:.2f},兴趣值: {interested_rate:.2f},回复概率: {reply_probability * 100:.1f}%") if reply_probability > 0.05: logger.info( diff --git a/src/chat/willing/mode_classical.py b/src/chat/willing/mode_classical.py index 9c2a8d5e6..d63ba0a23 100644 --- a/src/chat/willing/mode_classical.py +++ b/src/chat/willing/mode_classical.py @@ -25,11 +25,11 @@ class ClassicalWillingManager(BaseWillingManager): chat_id = willing_info.chat_id current_willing = self.chat_reply_willing.get(chat_id, 0) - print(f"[{chat_id}] 回复意愿: {current_willing}") + # print(f"[{chat_id}] 回复意愿: {current_willing}") interested_rate = willing_info.interested_rate * global_config.normal_chat.response_interested_rate_amplifier - print(f"[{chat_id}] 兴趣值: {interested_rate}") + # print(f"[{chat_id}] 兴趣值: {interested_rate}") if interested_rate > 0.2: current_willing += interested_rate - 0.2 @@ -41,7 +41,7 @@ class ClassicalWillingManager(BaseWillingManager): reply_probability = min(max((current_willing - 0.5), 0.01) * 2, 1) - print(f"[{chat_id}] 回复概率: {reply_probability}") + # print(f"[{chat_id}] 回复概率: {reply_probability}") return reply_probability