better:优化了统计信息,会在控制台显示统计信息

This commit is contained in:
SengokuCola
2025-03-31 23:26:38 +08:00
parent ab3413e24b
commit 6f3cc2cb55
6 changed files with 134 additions and 20 deletions

View File

@@ -192,7 +192,7 @@ class MessageManager:
print(thinking_time)
if (
message_earliest.is_head
and message_earliest.update_thinking_time() > 8
and message_earliest.update_thinking_time() > 18
and not message_earliest.is_private_message() # 避免在私聊时插入reply
):
logger.debug(f"设置回复消息{message_earliest.processed_plain_text}")
@@ -219,7 +219,7 @@ class MessageManager:
# print(msg.is_private_message())
if (
msg.is_head
and msg.update_thinking_time() > 8
and msg.update_thinking_time() > 18
and not msg.is_private_message() # 避免在私聊时插入reply
):
logger.debug(f"设置回复消息{msg.processed_plain_text}")