Welcome to the forum!
I'd leave it outside as long as possible. Move it in before the first frost. And when you do move it in, it's as simple as picking it up and changing locations. Put it by a south facing window. You don't really have to do much unless it's too large to move in, then you...
My California Wonder did the exact same thing this year. It stayed healthy enough to produce a couple of peppers, but eventually petered out. It was finally killed by the recent flooding here. No matter how much water or shade I gave it, it was always wilted during the day.