binary-husky / binary-husky/gpt_academic

4、Github反馈

Open
#2,029 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
71.3k
Forks
8.3k
PR merge metrics
No merged PRs in 30d

Description

4、Github反馈

命令行显示,[API_KEY] 您的 API_KEY 不满足任何一种已知的密钥格式,请在config文件中修改API密钥之后再运行。

对于这个错误,你可以在cionfig.py的# 自定义API KEY格式
CUSTOM_API_KEY_PATTERN = ""
把你的API填进去。我按照#1765成功了,如果你按照#1765来,还需要更改Token,把Token都改为4096

_Originally posted by @adamwambert in https://github.com/binary-husky/gpt_academic/issues/1813#issuecomment-2124804400_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading config.py around the CUSTOM_API_KEY_PATTERN setting and compare the reported workaround with issue #1765. Reproduce the API_KEY format error and check the mentioned Token value of 4096; the issue is complete only when the intended configuration behavior and required change are clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.