diff --git a/packages/geek-auto-start-chat-with-boss/default-config-file/boss.json b/packages/geek-auto-start-chat-with-boss/default-config-file/boss.json index 72c9c97..6c9955d 100644 --- a/packages/geek-auto-start-chat-with-boss/default-config-file/boss.json +++ b/packages/geek-auto-start-chat-with-boss/default-config-file/boss.json @@ -31,5 +31,8 @@ "type": "expect", "enabled": true } - ] + ], + "isSageTimeEnabled": true, + "sageTimeOpTimes": 100, + "sageTimePauseMinute": 15 } \ No newline at end of file diff --git a/packages/geek-auto-start-chat-with-boss/sage-time.mjs b/packages/geek-auto-start-chat-with-boss/sage-time.mjs index 8c405b4..bc93171 100644 --- a/packages/geek-auto-start-chat-with-boss/sage-time.mjs +++ b/packages/geek-auto-start-chat-with-boss/sage-time.mjs @@ -9,12 +9,12 @@ isSageTimeEnabled = isSageTimeEnabled ?? true sageTimeOpTimes = isNaN(parseInt(sageTimeOpTimes)) || parseInt(sageTimeOpTimes) < 1 - ? 50 + ? 100 : parseInt(sageTimeOpTimes) sageTimePauseMinute = isNaN(parseFloat(sageTimePauseMinute)) || parseFloat(sageTimePauseMinute) < 0 - ? 5 + ? 15 : parseFloat(sageTimePauseMinute) if (parseFloat(sageTimePauseMinute) === 0) { isSageTimeEnabled = false diff --git a/packages/ui/src/renderer/src/page/MainLayout/GeekAutoStartChatWithBoss/index.vue b/packages/ui/src/renderer/src/page/MainLayout/GeekAutoStartChatWithBoss/index.vue index fbd890b..60e5f8e 100644 --- a/packages/ui/src/renderer/src/page/MainLayout/GeekAutoStartChatWithBoss/index.vue +++ b/packages/ui/src/renderer/src/page/MainLayout/GeekAutoStartChatWithBoss/index.vue @@ -28,6 +28,7 @@