mirror of
https://github.com/jie65535/JChatGPT.git
synced 2026-10-30 13:42:05 +08:00
Add memory clear command
This commit is contained in:
1 parent
68a45a9657
commit
8ac0197fc4
1 file changed
+6
@@ -49,4 +49,10 @@ object PluginCommands : CompositeCommand(
|
|||||||
LargeLanguageModels.reload()
|
LargeLanguageModels.reload()
|
||||||
sendMessage("OK")
|
sendMessage("OK")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SubCommand
|
||||||
|
suspend fun CommandSender.clearMemory() {
|
||||||
|
PluginData.contactMemory.clear()
|
||||||
|
sendMessage("OK")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user