From 17e8755e66d71fb64c0be10c6ddcfee2f8b251af Mon Sep 17 00:00:00 2001 From: minecraft1024a Date: Wed, 27 Aug 2025 21:08:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=A7=E6=80=A5=E8=A1=A5=E4=BA=86=E4=B8=80?= =?UTF-8?q?=E4=B8=8B=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/bot_config_template.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/template/bot_config_template.toml b/template/bot_config_template.toml index 460983b90..e9f75455d 100644 --- a/template/bot_config_template.toml +++ b/template/bot_config_template.toml @@ -437,7 +437,7 @@ angry_duration = 300.0 #"愤怒状态持续时间(秒)" angry_prompt = "你被人吵醒了非常生气,说话带着怒气" # "被吵醒后的愤怒提示词" # --- 失眠机制相关参数 --- -enable_insomnia_system = true # 是否启用失眠系统 +enable_insomnia_system = false # 是否启用失眠系统 # 触发“压力不足型失眠”的睡眠压力阈值 sleep_pressure_threshold = 30.0 # 进入“深度睡眠”的睡眠压力阈值 @@ -450,6 +450,7 @@ insomnia_chance_normal_pressure = 0.1 sleep_pressure_increment = 1.5 # 睡眠时,每分钟衰减的睡眠压力值 sleep_pressure_decay_rate = 1.5 +insomnia_duration_minutes = 30 # 单次失眠状态的持续时间(分钟) [cross_context] # 跨群聊上下文共享配置 # 这是总开关,用于一键启用或禁用此功能