Merge pull request #779 from na10xi27da/dev

小修改
This commit is contained in:
墨梓柒
2025-04-17 09:37:21 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -354,7 +354,7 @@ class PersonInfoManager:
"""启动个人信息推断,每天根据一定条件推断一次"""
try:
while 1:
await asyncio.sleep(60)
await asyncio.sleep(600)
current_time = datetime.datetime.now()
logger.info(f"个人信息推断启动: {current_time.strftime('%Y-%m-%d %H:%M:%S')}")

View File

@@ -144,7 +144,7 @@ class MxpWillingManager(BaseWillingManager):
):
current_willing += self.single_chat_gain * (2 * self.last_response_person[w_info.chat_id][1] + 1)
if self.is_debug:
self.logger.debug(f"单聊增益:{self.single_chat_gain * (2 * self.last_response_person[w_info.chat_id][1] - 1)}")
self.logger.debug(f"单聊增益:{self.single_chat_gain * (2 * self.last_response_person[w_info.chat_id][1] + 1)}")
current_willing += self.chat_fatigue_willing_attenuation.get(w_info.chat_id, 0)
if self.is_debug: