Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: sses开头的API key解析异常 #2055

Open
JacksonTang99 opened this issue Nov 26, 2024 · 1 comment
Open

[Bug]: sses开头的API key解析异常 #2055

JacksonTang99 opened this issue Nov 26, 2024 · 1 comment

Comments

@JacksonTang99
Copy link

Installation Method | 安装方法与平台

Anaconda (I used latest requirements.txt)

Version | 版本

Latest | 最新版

OS | 操作系统

Windows

Describe the bug | 简述

sses开头的API key 在config 文件中已配置好,CUSTOM_API_KEY_PATTERN =API_KEY = "sess-rVd5FAJePHp8。。。。。。。。。。。。。。。。。sEl1T30NqTVMn5N" ,运行python main.py 识别key成功,在弹出网页中出现:Json解析异常 “error”: { “message”: “Incorrect API key provided: sess-rVd*******************************************Mn5N. You can find your API key at https://platform.openai.com/account/api-keys.”, “type”: “invalid_request_error”, “param”: null, “code”: “invalid_api_key” }}
网页输入框输入该key识别成功并可使用

Screen Shot | 有帮助的截图

微信图片_20241126120309
微信图片_20241126120304
微信图片_20241126120259

Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)

No response

@binaryYuki
Copy link
Contributor

如果是三方服务 请设置redirect_url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants