tighten ai_auto_response participation and spam guard

This commit is contained in:
liuwei
2026-04-10 09:56:34 +08:00
parent d2856bee2e
commit 3f9ae6442d
3 changed files with 70 additions and 17 deletions

View File

@@ -35,31 +35,31 @@ casual_topic = 0.35
[flow]
enable_flow_state = true
flow_decay_per_minute = 12
idle_threshold = 30
warming_threshold = 48
engaged_threshold = 78
flow_decay_per_minute = 16
idle_threshold = 36
warming_threshold = 60
engaged_threshold = 96
at_bot_boost = 40
question_boost = 30
followup_boost = 20
topic_boost = 10
returning_member_boost = 6
response_accepted_boost = 10
ignored_reply_penalty = 20
over_reply_penalty = 22
followup_boost = 12
topic_boost = 4
returning_member_boost = 3
response_accepted_boost = 6
ignored_reply_penalty = 26
over_reply_penalty = 32
night_penalty = 30
max_bot_reply_streak = 2
max_bot_reply_streak = 1
[cooldown]
group_reply_cooldown_sec = 90
same_user_followup_cooldown_sec = 18
group_reply_cooldown_sec = 150
same_user_followup_cooldown_sec = 28
at_mention_min_interval_sec = 5
at_mention_burst_window_sec = 90
at_mention_burst_limit = 5
at_mention_burst_limit = 4
at_mention_silent_sec = 180
directed_burst_window_sec = 240
directed_burst_limit = 4
directed_burst_silent_sec = 480
directed_burst_limit = 3
directed_burst_silent_sec = 600
night_silent_hours = ["01:00-07:30"]
[memory]
@@ -102,6 +102,11 @@ ignore_prefixes = ["/", "#"]
ignore_exact = ["收到", "好的", "嗯", "哦", "6", "1", "", "?"]
min_text_length = 1
[spam_guard]
repeat_window_sec = 10
repeat_threshold = 2
repeat_min_length = 4
[logging]
debug = true