added method to delete all messages for the active agent