{"id":354,"date":"2025-04-01T13:17:06","date_gmt":"2025-04-01T13:17:06","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2025\/04\/01\/11010357-hostinger-horizons-restore-message-button-to-fix-errors\/"},"modified":"2026-09-18T14:40:53","modified_gmt":"2026-09-18T14:40:53","slug":"11010357-hostinger-ai-builder-agentic-mode-restore-message-button-to-fix-errors","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/11010357-hostinger-ai-builder-agentic-mode-restore-message-button-to-fix-errors\/","title":{"rendered":"Hostinger AI Builder: How to undo changes in agentic mode"},"content":{"rendered":"<p class=\"no-margin\">Undo the latest change or restore a previous version to fix errors and revert unwanted AI changes in your <a href=\"https:\/\/hostinger.com\/ai-builder\" target=\"_blank\" rel=\"noopener\">Hostinger AI Builder<\/a> agentic mode application. Hostinger AI Builder operates through iterative patterns, so it may occasionally require repeated guidance or a different prompting approach to achieve the desired result.<\/p><h2 id=\"h-undo-the-latest-change\">Undo the latest change<\/h2><p>If the most recent response produced an error or an unwanted design change, you can use the <strong>Undo<\/strong> function.<\/p><ol>\n<li>Locate the most recent message in the chat panel.<\/li>\n<li>Click the Undo button (curved arrow icon) below the message.<br>\n<img decoding=\"async\" class=\"aligncenter wp-image-8699\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/hostinger-horizons-undo.png\" alt=\"Hostinger AI Builder editor showing the Undo button in the toolbar\" width=\"418\" height=\"200\" data-media-id=\"8699\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/hostinger-horizons-undo.png 474w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/hostinger-horizons-undo-300x144.png 300w\" sizes=\"(max-width: 418px) 100vw, 418px\" \/><\/li>\n<li>Confirm the action in the pop-up window.<\/li>\n<\/ol><p>When you use <strong>Undo<\/strong>, your last message and the Horizon&rsquo;s corresponding response are permanently deleted.<\/p><h2 id=\"h-restore-a-previous-version\">Restore a previous version<\/h2><p>If you need to go back further in your project history &ndash;for example, if the application entered an &ldquo;error loop&rdquo; or several prompts led to an unsatisfactory result&ndash; use the <strong>Restore<\/strong> feature.<\/p><ol>\n<li>Scroll through your chat history to find the specific point where the project was working correctly.<\/li>\n<li>Click the <strong>Restore<\/strong> button located under that specific message.<br>\n<img decoding=\"async\" class=\"aligncenter wp-image-8700\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/hostinger-horizons-restore.png\" alt=\"Hostinger AI Builder interface showing the Restore button highlighted by an orange arrow\" width=\"421\" height=\"132\" data-media-id=\"8700\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/hostinger-horizons-restore.png 466w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/03\/hostinger-horizons-restore-300x94.png 300w\" sizes=\"(max-width: 421px) 100vw, 421px\" \/><\/li>\n<li>Review the confirmation prompt: All your messages after this message will be permanently deleted.<\/li>\n<li>Click <strong>Restore<\/strong> to confirm and revert your project to that state.<\/li>\n<\/ol><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">Undoing or restoring a version does not cost additional credits and does not reinstate credits spent on the reverted messages.<\/div><h2 id=\"h-restore-individual-code-changes\">Restore individual code changes<\/h2><p>When Hostinger AI Builder edits your project, each modified file appears as a separate <strong>Code changes<\/strong> entry below the response, with its own <strong>Restore<\/strong> button.<\/p><ol>\n<li>Locate the <strong>Code changes<\/strong> entry for the specific edit you want to revert.<\/li>\n<li>Click the <strong>Restore<\/strong> button next to that entry.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-17332\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-28_10-16.png\" alt=\"\" width=\"582\" height=\"651\"><\/li>\n<\/ol><p>Restoring a code change reverts only that specific change, without affecting your chat history or other edits made in the same response.<\/p><h2 id=\"h-what-to-do-after-restoring\">What to do after restoring<\/h2><p>To optimize credit usage and improve the quality of your web app, consider these strategies after reverting:<\/p><ul>\n<li><strong>Refine your prompt<\/strong>: If Hostinger AI Builder failed to apply a change, try <a href=\"https:\/\/www.hostinger.com\/support\/10673361-hostinger-ai-builder-agentic-mode-how-to-edit-and-update-your-project\/\">rewriting your request with more context<\/a> or simpler instructions.<\/li>\n<li><strong>Manual edits<\/strong>: For small changes to static elements like text or images, use the <a href=\"https:\/\/www.hostinger.com\/support\/11695969-hostinger-ai-builder-agentic-mode-visual-editor-changes\/\">visual editor<\/a> manually instead of using a prompt.<\/li>\n<li><strong>Avoid error loops<\/strong>: If an error persists after one attempt to fix it, it is best to <strong>Restore<\/strong> immediately rather than sending multiple prompts to fix the same error, as this can lead to further complications.<\/li>\n<\/ul><p>By using the <strong>Undo<\/strong> and <strong>Restore<\/strong> functions, you can maintain control over your development process and quickly recover from technical hurdles. This allows you to experiment freely and refine your web app until it matches your vision.<\/p><p><strong>Additional resources<\/strong><\/p><ul>\n<li><a href=\"https:\/\/support.hostinger.com\/en\/articles\/11028493-hostinger-horizons-best-communication-and-prompt-practices\" target=\"_blank\" rel=\"noopener\">Hostinger AI Builder: Best communication and prompt practices<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Use Undo and Restore to fix errors or revert unwanted AI changes in Hostinger AI Builder agentic mode.<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[293],"tags":[],"class_list":["post-354","post","type-post","status-publish","format-standard","hentry","category-ai-builder"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/11010357-hostinger-horizons-restore-message-button-to-fix-errors\/","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=354"}],"version-history":[{"count":10,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/354\/revisions"}],"predecessor-version":[{"id":18163,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/354\/revisions\/18163"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}