binary-husky / binary-husky/gpt_academic

[Bug]:调用deepseek-coder时,会显示对话,但对话未完成出现: [Local Message] {finish_reason},获得以下报错信息: data: [DONE]

Open
#1,882 2 comments 0 reactions 0 assignees View on GitHub

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 | 安装方法与平台

Anaconda (I used latest requirements.txt)

### Version | 版本

Latest | 最新版

### OS | 操作系统

Windows

### Describe the bug | 简述

调用deepseek-coder时,会显示对话,也会出现部分回答,然后就突然回答都消失了,就出现下面一行报错信息:
[Local Message] {finish_reason},获得以下报错信息: data: [DONE]

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

![剪贴板图片 (1)](https://github.com/binary-husky/gpt_academic/assets/22316832/f02b9f62-28e8-45b8-8ab7-52256969c217)

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

_No response_

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. First reproduce the deepseek-coder request on Windows with the reported Anaconda setup, then trace how the streaming response handles partial output, finish_reason, and data: [DONE]. Done means the partial answer is not erased and the completion does not surface the reported local error.

Written by the indexing model from the issue text.

Assessment

Tech stack
anaconda, python
Domain
ai, api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.