High fluid levels

I already have pre-eclampsia and was just diagnosed with poyhydramnios. I’m 31+3. My AFI was 27. Did anyone else have both problems? I know I’ll deliver at 37 weeks at the latest because of pre-e but not sure how high fluid levels will affect anything. I tested negative for gestational diabetes.