fix: PROACTIVE_MSG_MIN_GAP_SEC=0 写入.env

This commit is contained in:
2026-06-28 16:37:25 +08:00
parent 1f52b424e1
commit 1d4560e676
@@ -511,7 +511,7 @@ func NewThinker(
lightThinkEnabled: cfg.LightThinkEnabled,
lightThinkInterval: cfg.LightThinkInterval,
silenceTimeout: cfg.SilenceTimeout,
proactiveMsgMinGap: getEnvDuration("PROACTIVE_MSG_MIN_GAP_SEC", 60), // 默认1分钟
proactiveMsgMinGap: getEnvDuration("PROACTIVE_MSG_MIN_GAP_SEC", 60),
postChatDelay: cfg.PostChatDelay,
minThinkGap: cfg.MinThinkGap,
offlineThinkGap: cfg.OfflineThinkGap,