mirror of
https://github.com/jie65535/JChatGPT.git
synced 2025-12-08 18:31:36 +08:00
Add memory clear command
This commit is contained in:
@@ -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