We do not know the terms of your Contract.
We do not know the Seller, or his despiration.
When you have this happen, there are three options:
You negotiate with the Seller,
You accept the house As-Is and do the repais yourself
You walk away.
It sounds like you have a good Realtor advising you; what do you need us for?