Hi, I have this little circuit involving 3 AAA batteries in series (4.5 V) + 2 white LED + a resistor or capacitor (don't know which one is it) + a switch of course:

I don't have it right now, but the problem is one LED is blinking like crazy and the other one sometimes stays fine and at full bright, other times blinks just a bit. AFAICT, the blinking does not go from OFF to full brightness, but from 70% to 100% of brightness in the one that kinda works and from 20% to 100% in the one that blinks like crazy.
I basically want to repair it (it's a small light circuit for soldering glasses, ZOOM), and I don't know if it's the LEDs or may be the component on the back (it was tiny, black, bipolar and had 1001 or something like that written on top).
Also, can somebody explain why or how is this happening?
The AAA batteries are all fine, no worries there.

I don't have it right now, but the problem is one LED is blinking like crazy and the other one sometimes stays fine and at full bright, other times blinks just a bit. AFAICT, the blinking does not go from OFF to full brightness, but from 70% to 100% of brightness in the one that kinda works and from 20% to 100% in the one that blinks like crazy.
I basically want to repair it (it's a small light circuit for soldering glasses, ZOOM), and I don't know if it's the LEDs or may be the component on the back (it was tiny, black, bipolar and had 1001 or something like that written on top).
Also, can somebody explain why or how is this happening?
The AAA batteries are all fine, no worries there.