I don't know what branch you are in, but in the Army under AR 40-501 Chapter 3 Bipolar I is a condition that is unfit for service.
The line that indicates that is the below.
(3) Any history of a manic episode, not secondary to intoxication, infections, toxic, or other identifiable medical...