{"slug": "if-your-ai-feature-loses-internet-access-what-can-users-still-do", "title": "If Your AI Feature Loses Internet Access, What Can Users Still Do?", "summary": "A developer outlines a design approach for AI writing features that lose their connection to the model, arguing that the user's document and the AI suggestion should fail independently. The guidance recommends preserving the original paragraph and any newer edits, keeping manual editing available offline, and labeling device-saved drafts as \"Saved on this device. Sync pending.\" It also warns that automatically re-running a rewrite request on reconnect can produce suggestions for text that no longer exists, and suggests testing disconnects before the request reaches the server, mid-stream, and after the server finishes.", "body_md": "You’re editing a document with an AI writing tool. You highlight a paragraph, ask for a rewrite, and keep typing while it works. Then the connection drops. When it comes back, the original paragraph is still there, but the status just says **Something went wrong**.\n\nNow you have three questions. Were your latest edits saved? Is the rewrite still coming? Can you keep working without it?\n\nThose are product questions. The answers depend on what your app does when it loses its connection to the model.\n\nIn a writing app, the document and the AI suggestion have different jobs. The document holds the user’s work. The suggestion is a proposed change they can accept or ignore.\n\nDesign the failure around that difference. If the rewrite stops, leave the original paragraph and any newer edits intact. Keep manual editing available wherever the app supports local editing. If the app saved the draft on the device but hasn’t synced it, say **“Saved on this device. Sync pending.”** Each part tells the user something they can act on.\n\nSuppose the user asks the AI to rewrite a paragraph, goes offline, and then edits that same paragraph by hand. If the original request runs automatically when the connection returns, it may produce a suggestion for text that no longer exists.\n\nThe right recovery depends on the task.\n\n| What happened | What the app can offer | \n|---|---|\n| A quick rewrite failed and the selected text is unchanged. | Show a retry button beside the selection. | \n| The user edited the passage while waiting. | Let them request a rewrite of the current text. If an older result arrives, label it as based on the previous version. | \n| The app already accepted a longer job before the connection dropped. | Check its status on reconnect. Show the result if it finished, or let the user decide whether to start over. | \n| The model is unavailable, but the editor still works. | Keep editing available and show which AI action is temporarily unavailable. | \n\nThat last row can make the biggest difference. A user trying to finish a document may prefer to write the sentence manually and move on.\n\nTake one workflow and disconnect at three points: before the request reaches the server, while a response is streaming, and after the server finishes but before the browser receives the result. In each case, change the document before reconnecting.\n\nThen try to answer these questions from the screen alone:\n\nA useful fallback lets people finish the work they came to do and tells them what happened to the AI request.\n\n**What’s one thing your AI feature should still let users do when the model is unreachable?**", "url": "https://wpnews.pro/news/if-your-ai-feature-loses-internet-access-what-can-users-still-do", "canonical_source": "https://dev.to/john_parker/if-your-ai-feature-loses-internet-access-what-can-users-still-do-30f1", "published_at": "2026-11-20 19:09:09+00:00", "updated_at": "2026-11-20 19:13:53.870989+00:00", "lang": "en", "topics": ["ai-products", "ai-tools", "generative-ai"], "entities": [], "also_reported_by": [], "takeaway": "Design AI feature failures around the split between user work and AI suggestions: preserve the document and newer edits, keep manual editing available, and don't auto-rerun stale rewrite requests on reconnect.", "recommendation": {"advice": "Test your AI feature by disconnecting before the request reaches the server, mid-stream, and after the server finishes, then verify the screen alone tells users what happened and lets them keep working.", "playbook": "production-ops", "playbook_url": "https://wpnews.pro/playbooks/production-ops"}, "alternates": {"html": "https://wpnews.pro/news/if-your-ai-feature-loses-internet-access-what-can-users-still-do", "markdown": "https://wpnews.pro/news/if-your-ai-feature-loses-internet-access-what-can-users-still-do.md", "text": "https://wpnews.pro/news/if-your-ai-feature-loses-internet-access-what-can-users-still-do.txt", "jsonld": "https://wpnews.pro/news/if-your-ai-feature-loses-internet-access-what-can-users-still-do.jsonld"}}