Is a female taking medication for mental issues considered to be a red flag, so much so that you should avoid even plating her?

I was reflecting on my oneitis today and how much of a beta I was being, so much so that I overlooked so many red flags including her taking medication for mental issues which explains why she was so irrational and unstable.