Fasting And Medication

Hello! I want to cycle my protocol into doing a 20 hour fast ( because it’s been 3.5 weeks with no weight loss). But I’m on a medication I’m supposed to take morning and evening with a small amount of food (a glass of milk is fine). So: will it mess up my fast to have a spoon of cream morning and evening with my medication, while sticking to eating my”real food” in a 1-5pm window?