mirror of
https://github.com/jie65535/JChatGPT.git
synced 2025-07-28 18:59:20 +08:00
Shorten dialogue intervals
This commit is contained in:
parent
60a48c5211
commit
6cba3cca22
@ -465,7 +465,7 @@ object JChatGPT : KotlinPlugin(
|
||||
} finally {
|
||||
// 一段时间后才允许再次提问,防止高频对话
|
||||
launch {
|
||||
delay(3.seconds)
|
||||
delay(1.seconds)
|
||||
requestMap.remove(event.subject.id)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user