feat(config): 增加唤醒度系统完整配置项
bot_config_template.toml 新增唤醒度系统配置段落,用于精细控制消息唤醒阈值、 私聊/群聊增量、衰减机制与愤怒状态持续时间。同时将版本号从 6.3.11 升级至 6.4.0 以兼容新功能。
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[inner]
|
||||
version = "6.3.11"
|
||||
version = "6.4.0"
|
||||
|
||||
#----以下是给开发人员阅读的,如果你只是部署了麦麦,不需要阅读----
|
||||
#如果你想要修改配置文件,请递增version的值
|
||||
@@ -418,4 +418,13 @@ generation_threshold = 30
|
||||
# 每次调用LLM期望生成的计划数量
|
||||
plans_per_generation = 5
|
||||
# 计划被使用后,被删除的概率 (0.0 到 1.0)
|
||||
deletion_probability_on_use = 0.5
|
||||
deletion_probability_on_use = 0.5
|
||||
|
||||
[wakeup_system]
|
||||
enable = true #"是否启用唤醒度系统"
|
||||
wakeup_threshold = 15.0 #唤醒阈值,达到此值时会被唤醒"
|
||||
private_message_increment = 3.0 #"私聊消息增加的唤醒度"
|
||||
group_mention_increment = 2.0 #"群聊艾特增加的唤醒度"
|
||||
decay_rate = 0.2 #"每次衰减的唤醒度数值"
|
||||
decay_interval = 30.0 #"唤醒度衰减间隔(秒)"
|
||||
angry_duration = 300.0 #"愤怒状态持续时间(秒)"
|
||||
Reference in New Issue
Block a user