始终提示工作中,没有反馈,doctor检查也没问题
Description
一直显示工作中,没有结果
Steps to reproduce
1.终端打开 2.给出任务 3.工作中
Expected behavior
Actual behavior
Environment
- OS:mac
- DeepSeek CLI version: deepseek 0.8.23
- Model: v4 pro/flash
- Shell:
Logs or screenshots
是不是网络有问题,换个VPN看看呢
不行,而且始终提示这个,怎么都处理不掉
warning: project-scope config key api_key is ignored — set it in ~/.deepseek/config.toml instead. (See #417 for the deny-list rationale.)
jason@jasondeMacBook-Air ~ %
不行,而且始终提示这个,怎么都处理不掉
warning: project-scope config key api_key is ignored — set it in ~/.deepseek/config.toml instead. (See #417 for the deny-list rationale.)
jason@jasondeMacBook-Air ~ %
你的api_key 似乎放错位置了。试一下 cp .deepseek/config.toml ~/.deepseek/config.toml, 把它移动到正确位置
始终不行,重装搞定
Code review 发现几个可能导致"一直卡在工作中"的根因:
ThinkingComplete和MessageComplete事件处理顺序不可控 (ui.rs) — 如果MessageComplete先于ThinkingComplete处理,reasoning_content丢失,DeepSeek V4 返回 HTTP 400,流中断但 UI 无错误提示- 流中断后
streaming_thinking_active_entry未 finalize — thinking spinner 永久显示 "live",看起来像还在工作 - app-server 单 Mutex 串行化所有请求 (
app-server/src/lib.rs:187) — 如果用 server 模式,一个长请求阻塞所有其他请求包括 health check - MCP SSE transport 无重连 (
mcp.rs:435) — 网络闪断后连接永久断开,工具调用无响应
这几个都表现为"卡住但没有错误",和描述的症状一致。也关联 #861 的 thinking collapse 四个根因。
This report is from deepseek 0.8.23; the engine has been substantially reworked since, and v0.8.51 specifically hardens the "stuck on 工作中 with no feedback" failure mode.
The most common cause of a permanent "working" with doctor reporting OK was the engine task dying mid-turn (a panic in the turn loop) without ever emitting a turn-complete event. As of v0.8.51 (branch claude/busy-mayer-b66rA, commit 5249723) such a panic is caught and surfaced as a failed turn instead of silently hanging the UI, and a crash report is written to ~/.codewhale/crashes/.
Could you retry on v0.8.51 once it's released? If it still hangs:
- check
~/.codewhale/crashes/for anengine-event-loopdump, and - note whether it hangs immediately or only after long sessions (which would point at compaction/streaming rather than a panic).
Leaving open pending that confirmation; if it no longer reproduces we can close it.
Generated by Claude Code
Closing during v0.8.59 milestone hygiene: this old stuck-working report was resolved locally in-thread, and the broader stuck/fanout failure class is now tracked by the active v0.8.59 release issues. Please open a fresh current-version repro if it returns.