How long should a baby be sick with a cold/fever

ch
My babe has had a fever between 99.5 and 100.2 since last week and it keeps fluctuating. When will it stop? She saw the dr on Wednesday and he wasn't concerned because she acts happy and not cranky but she recently has started sleeping through the night too. Idk if it's because she is sick or if it's just a coincidence. But I'm wondering how long should this last, she's 4 months exactly today. Her temp was 99.5 now it's 99.9 again and I'll check it again later.