binary-husky / binary-husky/gpt_academic

[Bug]: 无法识别glm4的APIKEY

Open
#1,692 1 comment 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

### Installation Method | 安装方法与平台

Pip Install (I used latest requirements.txt)

### Version | 版本

Latest | 最新版

### OS | 操作系统

Windows

### Describe the bug | 简述

在config中输入智谱AI的APIKEY,运行后提示“请配置ZHIPUAI_API_KEY”

### Screen Shot | 有帮助的截图

![n](https://github.com/binary-husky/gpt_academic/assets/120020506/8367abdb-0d92-4947-9c84-f219fc0230a1)

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

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the config value for ZHIPUAI_API_KEY is loaded and checked when the application starts, then reproduce the reported Windows setup with a GLM-4 API key. Done means a key entered in the documented config is recognized without the missing-key warning.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.