优化自动对话逻辑

This commit is contained in:
liuwei
2026-02-02 13:34:32 +08:00
parent d1fc743af9
commit 5be3be48bf
5 changed files with 339 additions and 209 deletions
+19 -1
View File
@@ -51,4 +51,22 @@ morning_end_minute = 30
# 每分钟消息数阈值,超过此值将触发AI介入
messages_per_minute_threshold = 3
# 分析窗口大小(分钟)
analysis_window_minutes = 5
analysis_window_minutes = 5
[HumanLike]
# 最大体力值
max_energy = 100.0
# 体力恢复速度(每分钟)
energy_recovery_per_minute = 1.0
# 每次回复消耗体力
energy_cost_per_reply = 15.0
# 基础参与度增加(每收到一条群消息)
participation_increase_per_msg = 5.0
# 话题相关参与度奖励
topic_match_bonus = 15.0
# 触发回复的参与度阈值(只有参与度高于此值才可能回复)
participation_threshold = 20.0
# 每次回复后参与度降低比例 (0.0 - 1.0, 1.0表示清零)
participation_drop_factor = 0.8
# 基础回复概率 (0.0 - 1.0) - 当满足阈值时,基于此概率和体力值计算最终概率
base_reply_probability = 0.6