NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug] User settings get reset after chat sync

Open wonrax opened this issue 1 year ago • 1 comments

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

  1. Go to Settings
  2. Setup sync credentials if not configured
  3. Change a default setting, e.g. Disable Show splash screen on new chat
  4. Click Sync
  5. The remote and local chats are now synced, however, the user settings are reset (e.g. Show splash screen on new chat is 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

wonrax avatar Mar 04 '24 02:03 wonrax

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.

cbmland avatar Jul 14 '24 07:07 cbmland