As a prediabetic, I used to take metformin. When I saw the researched discussed (and cited) here, I stopped.
There are other ways to control blood glucose, like Acarbose and SGLT2i’s that we don’t yet have evidence cause as much detrimental effects (metformin also blunts the benefits of exercise).