felixbade / assistant

Web UI for ChatGPT API. No back-end, mobile-friendly, continuously user-tested
https://assistant.bloat.app
ISC License
125 stars 25 forks source link

Ability to reload the page without losing the conversation #85

Open felixbade opened 1 year ago

felixbade commented 1 year ago

The current conversation ID could be stored in the URL hash (a different parameter than the initial prompt, say, id or conversation). This way the conversation can be reloaded when the page is refreshed.

If no ID, start a new conversation and generate a new ID. UUIDs are kinda ugly so it could be a counter hash id.

Depends on #12