secret 完善了两种测评方法

This commit is contained in:
SengokuCola
2025-03-20 22:34:51 +08:00
parent c600891d60
commit 48ea7c298f
7 changed files with 631 additions and 61 deletions

View File

@@ -54,7 +54,7 @@ class WillingManager:
self.chat_reply_willing[chat_id] = min(current_willing, 3.0)
reply_probability = min(max((current_willing - 0.5), 0.03) * config.response_willing_amplifier * 2, 1)
reply_probability = min(max((current_willing - 0.5), 0.01) * config.response_willing_amplifier * 2, 1)
# 检查群组权限(如果是群聊)
if chat_stream.group_info and config: