fix: 主动消息默认频控1分钟
This commit is contained in:
@@ -511,7 +511,7 @@ func NewThinker(
|
||||
lightThinkEnabled: cfg.LightThinkEnabled,
|
||||
lightThinkInterval: cfg.LightThinkInterval,
|
||||
silenceTimeout: cfg.SilenceTimeout,
|
||||
proactiveMsgMinGap: getEnvDuration("PROACTIVE_MSG_MIN_GAP_SEC", 0), // 默认关闭频控
|
||||
proactiveMsgMinGap: getEnvDuration("PROACTIVE_MSG_MIN_GAP_SEC", 60), // 默认1分钟
|
||||
postChatDelay: cfg.PostChatDelay,
|
||||
minThinkGap: cfg.MinThinkGap,
|
||||
offlineThinkGap: cfg.OfflineThinkGap,
|
||||
|
||||
Reference in New Issue
Block a user