binary-husky / binary-husky/gpt_academic
[Bug]: 网络错误
- 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 | 操作系统
Mac
### Describe the bug | 简述
出现bug
Traceback (most recent call last):
File "./request_llms/bridge_chatgpt.py", line 325, in predict
chunk = next(stream_response)
^^^^^^^^^^^^^^^^^^^^^
StopIteration
### Screen Shot | 有帮助的截图
### Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with request_llms/bridge_chatgpt.py at line 325 and inspect how predict handles stream_response when next() raises StopIteration. Reproduce the failure on macOS using the latest requirements.txt and the configuration shown in the issue. Done means the network-related failure has a confirmed cause and a verified fix or a clearer reproduction report.
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
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100