改进focus模式下的回复逻辑,理论上现在focus模式下在bot被@ / 提及 时应该会回复了

采用的是在focus模式下移除no_reply动作的方式
同步更新bot_config_template里面的注释
This commit is contained in:
Furina-1013-create
2025-08-19 22:15:13 +08:00
parent 7a9845b8a4
commit f835dcb5e2
3 changed files with 16 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
[inner]
version = "6.3.8"
version = "6.3.9"
#----以下是给开发人员阅读的,如果你只是部署了麦麦,不需要阅读----
#如果你想要修改配置文件请递增version的值
@@ -104,8 +104,9 @@ max_context_size = 25 # 上下文长度
thinking_timeout = 40 # 麦麦一次回复最长思考规划时间超过这个时间的思考会放弃往往是api反应太慢
replyer_random_probability = 0.5 # 首要replyer模型被选择的概率
mentioned_bot_inevitable_reply = true # 提及 bot 大概率回复
at_bot_inevitable_reply = true # @bot 或 提及bot 大概率回复
mentioned_bot_inevitable_reply = true # 提及 bot 必然回复
at_bot_inevitable_reply = true # @bot 或 提及bot 必然回复
# 兼容normal、focus在focus模式下为强制移除no_reply动作
talk_frequency_adjust = [
["", "8:00,1", "12:00,1.2", "18:00,1.5", "01:00,0.6"],
@@ -161,8 +162,8 @@ ban_msgs_regex = [
]
[anti_prompt_injection] # LLM反注入系统配置
enabled = true # 是否启用反注入系统
enabled_rules = true # 是否启用规则检测
enabled = false # 是否启用反注入系统
enabled_rules = false # 是否启用规则检测
enabled_LLM = false # 是否启用LLM检测
process_mode = "lenient" # 处理模式strict(严格模式,直接丢弃), lenient(宽松模式,消息加盾), auto(自动模式), counter_attack(反击模式使用LLM反击并丢弃消息)