clearMessages method
Clears the message log for the ReaderChatgptSource.
Implementation
Future<void> clearMessages() async {
await _database.writeTxn(() async {
await _database.messageItems.clear();
});
}
Clears the message log for the ReaderChatgptSource.
Future<void> clearMessages() async {
await _database.writeTxn(() async {
await _database.messageItems.clear();
});
}