Closed Arche151 closed 1 year ago
Are you running the latest version? There was a bug related to this, but it should be fixed: https://github.com/cogentapps/chat-with-gpt/issues/103
System prompt and API keys are stored in your browser's local storage by default (unless you configure the API key in a config file on the server). Local storage is deleted when you clear history/cache/website data, but should persist otherwise.
Thanks for getting back to me and clarifying where the API keys and prompt are saved! The mistake was on my side, as I forgot to include localhost:3000 on Firefox's exception for cookie/cache/website data delete on quitting the browser function.
I included it and everything works fine now :)
I don't know why, but even though it worked fine yesterday, today when starting the self-hosted version of Chat with GPT, my API keys and custom system prompt were gone :(