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]: [API_KEY] 您的 API_KEY 不满足任何一种已知的密钥格式,请在config文件中修改API密钥之后再运行。 #1816

Open
BaiLuQiShuang opened this issue May 21, 2024 · 2 comments

Comments

@BaiLuQiShuang
Copy link

Installation Method | 安装方法与平台

Pip Install (I used latest requirements.txt)

Version | 版本

Latest | 最新版

OS | 操作系统

Windows

Describe the bug | 简述

我的api是从https://github.com/chatanywhere/GPT_API_free?tab=readme-ov-file获取的免费api。格式就是sk-后面一堆字母,API_ORG处也填了一遍,还是不行,有大佬知道这是什么情况吗?谢谢!

Screen Shot | 有帮助的截图

Uploading 微信截图_20240521202105.png…

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

No response

@animeic
Copy link

animeic commented May 22, 2024

估计你配置有问题。检测CUSTOM_API_KEY_PATTERN和API_URL_REDIRECT配置。如果正确那可能是api key无效。

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