The AI Agent this week is just spinning round a circle

I have a lot of hopes for this Agent/model but this past two days, the persistent failed build errors are too much. you end up spending 3 days on repeated errors without the agent knowing what to do. Its AI for crying out loud and 1 error should caution it to fix all errors on the code automatically but its taking days to debug same issues for more than 30 times still no successful build.

It fixes this error and open another error.