cogentapps / chat-with-gpt

An open-source ChatGPT app with a voice
https://www.chatwithgpt.ai
MIT License
2.31k stars 493 forks source link

Unable to sync even after logging in #38

Closed vesector closed 1 year ago

vesector commented 1 year ago

I have created a user, it registered well.

I can login from different browsers/machines but it is not remembering my API key, nor my prompt.

I think it should definitely be remembering the API, I can see it does store the information within the cookies but not with the created user.

Also would be nice to be able to delete chats.

Great work so far, love it.

cogentapps commented 1 year ago

Hello,

Sync is currently just for your message history.

API keys are not sent outside your browser for security reasons. I think the way to make this more convenient without sacrificing security is to let users store the API key in an environmental variable on the server, instead of in browser.

Work on this has been started but isn’t ready for use yet.