As Jim asked earlier, what is the preset water level inside the tank? If it is set too high, the water will spill over into the overflow tube, and the toilet will constantly run. If thats not the problem, I would maybe think maybe a leaky float ball that is filling up with water and not allowing the fill valve to shut off.