To prevent yoghurt from curdling when cooking, use full-fat Greek yoghurt, cook over low heat, and avoid bringing it to a rapid boil. If you can't allow the vegetables to cool in this recipe, try adding a small amount of starch, like cornstarch, to the yoghurt before adding it to the sauce can also help maintain a smooth consistency in your Butternut Pumpkin Pasta.