NextChat
NextChat copied to clipboard
[Bug] User settings get reset after chat sync
Bug Description
User settings like Show splash screen or the default GPT model for new chats get reset every time I do a chat sync. The chat sync is configured to use Upstash.
Steps to Reproduce
- Go to Settings
- Setup sync credentials if not configured
- Change a default setting, e.g. Disable
Show splash screen on new chat - Click
Sync - The remote and local chats are now synced, however, the user settings are reset (e.g.
Show splash screen on new chatis enabled)
Expected Behavior
Either the user settings should be synced along with chat data, or preserve the local settings for every sync operation.
Screenshots
No response
Deployment Method
- [ ] Docker
- [X] Vercel
- [ ] Server
Desktop OS
Windows, Linux, MacOS (tested all on these 3)
Desktop Browser
Chrome
Desktop Browser Version
No response
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response
I spent some time trying to fix this bug, ensuring that the access code will not be reset or cleared when synchronized. If needed, you can deploy it using https://github.com/cbmland/ChatGPT-Next-Web/tree/cloudflare.