Non foundational reasons for a sagging roof.
Roof sagging in middle.
Once you have your wood in place you need to lay.
The first step is to always check the beams so that you can determine their condition.
Two or more roofs on one structure spell trouble.
Sagging roof lines can originate with the horizontal ceiling rafters.
In a stick frame non truss sloped roof these issues usually cause the roof ridge to sag in the middle giving it a swayback look but can also cause one side of the roof to sag.
Additionally if your roofer has used material that is much heavier than your previous roof it can sag for the same reason.
Common flaws include undersized rafters insufficient sheathing or too few rafter or collar ties.
The home may not be designed to support the weight of this extra roofing material and it will sag.
A ridge that droops in the middle forming that unintentional western design feature likely is due to undersized rafters and or missing or inadequate internal bracing rafter or collar ties.
Next assuming that there are no further problems with your timber beams you need to measure the length of the beam.