binary-husky / binary-husky/gpt_academic
[Bug]: 不能正确返回结果
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 71.4k
- Forks
- 8.3k
- PR merge metrics
- No merged PRs in 30d
Description
Installation Method | 安装方法与平台
Docker-Compose(Linux)
Version | 版本
Latest | 最新版
OS | 操作系统
Linux
Describe the bug | 简述
结果能返回, 但是最后报出如下错误,将结果充掉
data: {"id":"chatcmpl-QXlha2FBbmROaXhpZUFyZUF3ZXNvbWUK","object":"chat.completion.chunk","created":0,"model":"gpt-4o-mini","choices":[{"index":0,"finish_reason":"stop"}]}
Screen Shot | 有帮助的截图
Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported request with Docker Compose on Linux and inspect how the streaming response handles the final data chunk containing finish_reason. Done means the completed result remains visible without the reported error or being cleared; no source file or test is identified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker-compose, python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100