My husband and I both have our struggles with depression, but we had had all of our kids before we really realized what was going on with us or it occurred to us to seek treatment. Our third and fourth children also have autism. The fourth was on the way before the third's autism became detectable via speech delay. Thinking about it now, both I and especially my husband, have several autistic traits. I also have several of crazies in my family tree, but most people have a few. We just do the best we can, try to be aware of and deal with whatever problems that crop up and keep going. That's kind of what you have to do with life, IMO.
My mother had me because she wanted someone to love her. She is probably mentally ill, but has never gotten treatment. Despite that, I had a pretty happy childhood and am certainly happy to have been born. I don't have a relationship with her now because her illness has gotten progressively worse and her current boyfriend scares me, but you, at least, are getting treatment and your education. Do your research as far as medications and hormones and stuff, and make the best decisions you can. No one can do more than that.