ChatGPT-Next-Web icon indicating copy to clipboard operation
ChatGPT-Next-Web copied to clipboard

I have to re-input the key when I re-open NEXTCHAT every time .

Open Taskii-Lei opened this issue 5 months ago • 3 comments

Bug Description

Every time when I open the client, it always raises:

检测到无效 API Key,请前往[设置](tauri://localhost/#/settings)页检查 API Key 是否配置正确

Then I have to re-input the key. But when I re-input the key, it still requires me to re-input it next time when I open it. It BOTHERS!!

Steps to Reproduce

re-opening it is enough.

Expected Behavior

I wanna it can remember my key.

Screenshots

No response

Deployment Method

  • [ ] Docker
  • [ ] Vercel
  • [ ] Server

Desktop OS

macOS

Desktop Browser

No response

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

Taskii-Lei avatar Mar 14 '24 02:03 Taskii-Lei

Please follow the issue template to update title and description of your issue.

nextchat-manager[bot] avatar Mar 14 '24 02:03 nextchat-manager[bot]

Why not try embedding the key in nextchat using environment variables?

QAbot-zh avatar Mar 14 '24 04:03 QAbot-zh

I've tried it but can't reproduce it. Can you provide me with specific steps to reproduce it?

fred-bf avatar Mar 15 '24 03:03 fred-bf