开源gpt_academic
找到config.py文件中的API_URL_REDIRECT配置并修改为以下内容:
API_URL_REDIRECT = {"https://api.openai.com/v1/chat/completions": "https://api.new.bi/v1/chat/completions"}
模型名称:选择 [模型广场](https://api.new.bi/pricing) 中支持 openai:/v1/chat/completions 的模型,复制模型名填写到模型ID中。Claude、deepseek等都支持,基本上所有文本模型都支持。
API KEY:创建并复制 [API密钥](https://api.new.bi/console/token) 填写