GaiZhenbiao / ChuanhuChatGPT

GUI for ChatGPT API and many LLMs. Supports agents, file-based QA, GPT finetuning and query with web search. All with a neat UI.
https://huggingface.co/spaces/JohnSmith9982/ChuanhuChatGPT
GNU General Public License v3.0
15.05k stars 2.28k forks source link

Incorrect API key provided #1134

Open Xtaiyang opened 2 months ago

Xtaiyang commented 2 months ago

这个bug是否已存在现有issue了?

错误表现

☹️发生了错误:{ “error”: { “message”: “Incorrect API key provided: sk-L***4HZ5. You can find your API key at https://platform.openai.com/account/api-keys.”, “type”: “invalid_request_error”, “param”: null, “code”: “invalid_api_key” }}

复现操作

正常完成部署 部署后直接使用(默认为gpt-3.5-turbo),没有任何问题。 切换为gpt-4,使用时出现以上报错。(报错之后,在OpenAI Translator以及OpenAI后台检查过,我的key正常的并且是有权限使用gpt-4的)

错误日志

No response

运行环境

帮助解决

补充说明

No response

Xtaiyang commented 2 months ago

就是用着用着有时候就会这么显示