binary-husky / binary-husky/gpt_academic
[Bug]: qianfan官方接口在22日都更新了,现在连接都失败了
- 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 | 简述
Traceback (most recent call last):
File ".\request_llms\bridge_qianfan.py", line 110, in generate_from_baidu_qianfan
incoming = dec['result']
~~~^^^^^^^^^^
KeyError: 'result'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".\request_llms\bridge_qianfan.py", line 151, in predict
for response in generate_from_baidu_qianfan(inputs, llm_kwargs, history, system_prompt):
File ".\request_llms\bridge_qianfan.py", line 117, in generate_from_baidu_qianfan
raise RuntimeError(dec['error_msg'])
RuntimeError: Open api daily request limit reached
### Screen Shot | 有帮助的截图

### Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in request_llms/bridge_qianfan.py at lines 110, 117, and 151, and inspect how the Qianfan response is parsed and how error responses are handled. Reproduce the failed connection against the current official interface and verify that successful responses connect normally while non-success responses produce a useful error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100