Using the AI agent makes the app crash, when reloading the page the AI progress is lost. The issue is that the app deducts the credits for something that clearly fails