卡在工作中,没有回复
Description
Steps to reproduce
- npm install -g deepseek-tui
- deepseek
- 配置api-key
- 发消息: 你好
Expected behavior
3 秒之内回复
Actual behavior
一直显示工作中:
Environment
mac m1
- OS: mac
- DeepSeek CLI version: 0.8.13
- Model: deepseek-v4-pro
- Shell: x-terminal zsh
Logs or screenshots
我遇到了和你一样的问题,这应该在最新的版本中会修复,使用软件包[deepseek-tui-macos-x64]形式运行是正常的
我遇到了和你一样的问题,这应该在最新的版本中会修复,使用软件包[deepseek-tui-macos-x64]形式运行是正常的
thank you so much - @Yezzle let me know if the latest version fixes it for you
我也遇到过,通过问claude得知,我用的终端是warp,需要用系统原生终端CMD或者powershell才可以
OS: windows DeepSeek CLI version: 0.8.14 Model: deepseek-v4-pro Shell: powershell
我有同样的问题
我也是接的api,之前版本每次对话,都会卡在工作中很久才会输出,刚刚更新到0.8.14这个问题貌似修复了,deepseek回复的很快
我也是接的api,之前版本每次对话,都会卡在工作中很久才会输出,刚刚更新到0.8.14这个问题貌似修复了,deepseek回复的很快
不过我是Windows系统
我也遇到过,通过问 claude 得知,我用的终端是 warp,需要用系统原生终端 CMD 或者 powershell 才可以
我用的 mac 的系统终端,一样有这样的问题
一样的问题
我遇到了和你一样的问题,这应该在最新的版本中会修复,使用软件包 [deepseek-tui-macos-x64] 形式运行是正常的
thank you so much - @Yezzle let me know if the latest version fixes it for you
I'm on a Mac, and I realized the main issue was that I ran deepseek directly in my ~/ home directory right after installing it with brew. This caused it to scan all the config files in that directory. It works perfectly fine if I run it from a newly created folder instead.
我遇到了和你一样的问题,这应该在最新的版本中会修复,使用软件包 [deepseek-tui-macos-x64] 形式运行是正常的
thank you so much - @Yezzle let me know if the latest version fixes it for you非常感谢——如果最新版本能帮你解决,@Yezzle 告诉我
I'm on a Mac, and I realized the main issue was that I ran
deepseekdirectly in my~/home directory right after installing it with brew. This caused it to scan all the config files in that directory. It works perfectly fine if I run it from a newly created folder instead.我用的是 Mac,我发现主要问题是安装后直接在我的~/主目录里运行了 deepseek。这导致它扫描了该目录中的所有配置文件。如果我从新建的文件夹里运行,它完全没问题。
Thank you, you were right!
临时解决办法: 在你的其他工作目录中创建一个新的文件夹(如:deepseek),然后在该目录下重新 npm install -g deepseek-tui 安装,完成后用deepseek命令重新配置一下,应该就可以了。
Thanks to everyone who added screenshots and environment details here. A few separate causes were mixed into this thread, so I want to make the current status concrete:
- #798 and #804 now prevent the snapshot path from silently scanning dangerous roots like the home directory.
- #847 now bounds the streaming request startup wait. If the SSE stream never returns response headers, the turn should fail visibly instead of staying on
Working...forever, with a Windows/proxy hint to tryDEEPSEEK_FORCE_HTTP1=1.
I am keeping this issue open until users confirm the next build/npm package fixes the stuck state in their environment. If it still happens after that build, the most useful details are:
- OS and terminal app
- install method and
deepseek --version deepseek doctoroutput, with only the API key redacted- whether
DEEPSEEK_FORCE_HTTP1=1 deepseekchanges the behavior
Doesn't work on my Macbook either--Amazing,it works while i was editing this comment。--sadly,it stoped working after my editing。
OS and terminal app: MACOS 15.7.5, Iterm2
install method and deepseek --version: NPM, deepseek api, V4 flash
deepseek doctor output:
Version Information:
deepseek-tui: 0.8.14
rust: unknown
Configuration:
✓ config.toml found at ~/.deepseek/config.toml
workspace: ~
API Keys:
✓ deepseek: env=yes, config=yes
· nvidia-nim: env=no, config=no
· openrouter: env=no, config=no
· novita: env=no, config=no
· fireworks: env=no, config=no
· sglang: env=no, config=no
· credential precedence: ~/.deepseek/config.toml, then env
✓ active provider key resolved from config.toml
API Connectivity:
✓ API connection successful (model: deepseek-v4-flash)
MCP Servers:
✓ MCP feature flag enabled
· MCP config not found at ~/.deepseek/mcp.json
Run deepseek mcp init or deepseek setup --mcp.
Skills:
· local skills dir not found at ~/skills
· .agents skills dir not found at ~/.agents/skills
✓ global skills dir found at ~/.deepseek/skills (2 items)
· selected skills dir: ~/.deepseek/skills
Tools:
· tools dir not found at ~/.deepseek/tools
Run deepseek-tui setup --tools to scaffold a starter dir.
Plugins:
· plugins dir not found at ~/.deepseek/plugins
Run deepseek-tui setup --plugins to scaffold a starter dir.
Storage:
· tool-output spillover dir not yet created at ~/.deepseek/tool_outputs
· composer stash empty (Ctrl+S in the composer to park a draft)
Platform:
OS: macos
Arch: aarch64
✓ sandbox available: macos-seatbelt
whether DEEPSEEK_FORCE_HTTP1=1 deepseek changes the behavior: work or not work?, it is a quesiton
Doesn't work on my Macbook either--Amazing,it works while i was editing this comment。--sadly,it stoped working after my editing。 OS and terminal app: MACOS 15.7.5, Iterm2 install method and deepseek --version: NPM, deepseek api, V4 flash deepseek doctor output: Version Information: deepseek-tui: 0.8.14 rust: unknown Configuration: ✓ config.toml found at ~/.deepseek/config.toml workspace: ~ API Keys: ✓ deepseek: env=yes, config=yes · nvidia-nim: env=no, config=no · openrouter: env=no, config=no · novita: env=no, config=no · fireworks: env=no, config=no · sglang: env=no, config=no · credential precedence: ~/.deepseek/config.toml, then env ✓ active provider key resolved from config.toml API Connectivity: ✓ API connection successful (model: deepseek-v4-flash) MCP Servers: ✓ MCP feature flag enabled · MCP config not found at ~/.deepseek/mcp.json Run
deepseek mcp initordeepseek setup --mcp. Skills: · local skills dir not found at ~/skills · .agents skills dir not found at ~/.agents/skills ✓ global skills dir found at ~/.deepseek/skills (2 items) · selected skills dir: ~/.deepseek/skills Tools: · tools dir not found at ~/.deepseek/tools Rundeepseek-tui setup --toolsto scaffold a starter dir. Plugins: · plugins dir not found at ~/.deepseek/plugins Rundeepseek-tui setup --pluginsto scaffold a starter dir. Storage: · tool-output spillover dir not yet created at ~/.deepseek/tool_outputs · composer stash empty (Ctrl+S in the composer to park a draft) Platform: OS: macos Arch: aarch64 ✓ sandbox available: macos-seatbeltwhether DEEPSEEK_FORCE_HTTP1=1 deepseek changes the behavior: work or not work?, it is a quesiton
--刚刚又试了一下,等了很长时间得到回复了。我应该自己找到了为什么会“不工作-工作-不工作”
启动后发起第一句会话后等了很久没回复,我以为是没工作就关了,然后再启动再问话等了一会没反应我就来写comments,写了>5分钟,回头一看他回复了,我就以为好了。为了验证,我就又关闭后打开再试,等了一会没反应我以为是又不工作了。
实际上第一次回话特别慢应该就是他在接收工作区的信息。以下agent给的回复:
… thinking done · 2.2s
╎ The user is asking about the large directory tree that was pre-injected into
╎ my system prompt, and whether there's a way to improve the first response
╎ latency. Let me think about this.
╎
╎ The issue is that the system prompt includes a massive directory listing of
╎ the entire home directory (/Users/simonsmbp). This is a lot of tokens that
╎ get processed before I can even start generating a response.
╎
╎ The turn_meta shows a much more reasonable "Repo Working Set" with just the
╎ top-level dirs. Let me look at what's in my config to understand if there's
╎ something I can adjust.
╎
╎ Let me check if there's a config file that controls this behavior.
● 问题出在系统提示里预注入的那个完整目录树——它把整个 ~/
都列进去了,光是那段就占了几万 token。每次你发消息,我都得从头处理这些 token
才能开始生成回复,第一轮尤其明显。
让我看看能不能调整这个行为。
我遇到了和你一样的问题,这应该在最新的版本中会修复,使用软件包[deepseek-tui-macos-x64]形式运行是正常的
非常感谢——如果最新版本能帮你解决,告诉我一声
My apologies for not waiting longer. I’m glad to hear the issue with the reply lag has been resolved(v 0.8.14). Thank you.
Closing this old first-turn "Working..." report as stale/resolved by later startup, workspace-root, and stream-start timeout fixes. The thread points to pre-0.8.15 behavior and several users later identified fixed or workspace-size-related causes. If this still happens on a current CodeWhale build, please comment or open a fresh issue with codewhale 0.8.66 (68d973ae8502), codewhale Doctor
Version Information: codewhale-tui: 0.8.66 (68d973ae8502) rust: rustc 1.96.0 (ac68faa20 2026-05-25)
Updates: · current: v0.8.66 · latest: v0.8.65 Current build is newer than the latest published release.
Configuration: ✓ config.toml found at ~/.codewhale/config.toml workspace: ~/Desktop/Harnesses/CodeWhale/CodeWhale search_provider: duckduckgo (source: default; set [search] provider = "bing" | "tavily" | "bocha" to switch)
State Root: active: ~/.codewhale dual roots: ~/.codewhale (primary) + ~/.deepseek (legacy) ✓ legacy state: no known .deepseek entries need migration
API Keys: ✓ deepseek: env=no, config=yes · deepseek-anthropic: env=no, config=no · nvidia-nim: env=no, config=no · openai: env=no, config=no · atlascloud: env=no, config=no · wanjie-ark: env=no, config=no · volcengine: env=no, config=no ✓ openrouter: env=no, config=yes ✓ xiaomi-mimo: env=no, config=yes · novita: env=no, config=no · fireworks: env=no, config=no · siliconflow: env=no, config=no ✓ arcee: env=no, config=yes · siliconflow-CN: env=no, config=no ✓ moonshot: env=no, config=yes · sglang: env=no, config=no · vllm: env=no, config=no · ollama: env=no, config=no · huggingface: env=no, config=no ✓ together: env=no, config=yes · qianfan: env=no, config=no · openai-codex: env=no, config=no · anthropic: env=no, config=no · openmodel: env=no, config=no ✓ zai: env=no, config=yes · stepfun: env=no, config=no · minimax: env=no, config=no · deepinfra: env=no, config=no · sakana: env=no, config=no · custom: env=no, config=no · credential precedence: ~/.codewhale/config.toml, OS keyring, then env ✓ active provider key resolved from config.toml
API Connectivity: · provider: zai · base_url: https://api.z.ai/api/coding/paas/v4 · model: GLM-5.2 · strict_tool_mode: disabled · Testing connection... ✓ API connection successful
MCP Servers: ✓ MCP feature flag enabled ✓ MCP config found at ~/.codewhale/mcp.json · Project MCP config not found at ~/Desktop/Harnesses/CodeWhale/CodeWhale/.codewhale/mcp.json · 2 merged server(s) configured ! github: stdio server uses relative path argument "GITHUB_PERSONAL_ACCESS_TOKEN="$(gh auth token)" exec docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server" without cwd; set cwd so headless exec and UI status checks resolve the same path ✓ moraine: stdio server (moraine run mcp)
Skills: · local skills dir not found at ~/Desktop/Harnesses/CodeWhale/CodeWhale/skills · .agents skills dir not found at ~/Desktop/Harnesses/CodeWhale/CodeWhale/.agents/skills · global .agents skills dir not found at ~/.agents/skills ✓ global skills dir found at ~/.codewhale/skills (13 items) · selected skills dir: ~/.codewhale/skills
Tools:
· tools dir not found at ~/.codewhale/tools
Run codewhale setup --tools to scaffold a starter dir.
Plugins:
· plugins dir not found at ~/.codewhale/plugins
Run codewhale setup --plugins to scaffold a starter dir.
Storage: ✓ tool-output spillover at ~/.codewhale/tool_outputs (1131 files) · composer stash empty (Ctrl+S in the composer to park a draft)
Tool Dependencies: ✓ Python: python3 → code_execution tool registered ✓ Node.js: present → js_execution tool registered ✓ pandoc: present → pandoc_convert tool registered ✓ OCR: macOS Vision available → image_ocr/read_file screenshot OCR enabled tesseract not found (optional; install only for alternate OCR packs). · pdftotext: not found (optional — pure-Rust extractor is the default in v0.8.32) Install Poppler only if you want to opt into pdftotext for column-heavy PDFs.
Terminal Quirks: · no env-driven terminal-quirk overrides active
Platform: OS: macos Arch: aarch64 ✓ sandbox available: macos-seatbelt
All checks complete!, workspace path shape, provider/model, terminal, and whether a new empty folder changes the behavior.