[Bug] Conversation cannot be triggered on Windows via npm global install (Stuck at "Working")
[Bug] Conversation cannot be triggered on Windows via npm global install (Stuck at "Working")
After successfully installing deepseek-tuivia npm install -gand configuring the API key on Windows, sending a chat message results in no response. The UI gets stuck at the "Working" (loading) state indefinitely without returning any content.
Steps to reproduce
1.Install the package globally using npm: npm install -g deepseek-tui. 2.Launch the application and configure your DeepSeek API Key. 3.Type a message and press Enter to send. 4.Observe that the status remains "Working..." and the conversation is never triggered.
Expected behavior
The application should send the request to the DeepSeek API and stream/display the response normally.
Actual behavior
The application hangs at the "Working..." status. No text is generated, and no error occurs.
Environment
- OS:windows11
- DeepSeek CLI version: deepseek 0.8.9
- Model:deepseek-v4-pro
- Shell:cmd
Logs or screenshots
thank you!! this should be fixed on the latest version - 0.8.14 about to be released on npm / brew / cargo - & should also be fixed in 0.8.13 out now on those
Version 0.8.14 still has an issue. Even with a custom third-party address and API key configured, it still shows as "working" when no actual request has been sent.
thank you - if you have anymore screenshots and can attach them will help me
谢谢——如果您还有其他截图可以附上,那就太好了。
Thanks for the follow-up screenshots and for confirming this still happens on 0.8.14. I do not want to guess at a network cause from the UI state alone, so I opened #823 to make deepseek doctor print the resolved provider, base URL, and model before it tests connectivity, and to make timeout recovery point users at the actionable deepseek-cn / https://api.deepseeki.com path when that applies.
That PR is diagnostics only, not a claim that the Windows “Working” hang is fixed. Once it lands, the next useful report for this issue is the output of:
deepseek doctor
deepseek doctor --json
Please redact only the API key if it appears anywhere; the base_url, default_text_model, and api_connectivity fields are the important parts.
Thanks for the updated doctor screenshots. They are useful because they show the API key, base URL, and non-streaming API connectivity are working on Windows 0.8.14. That means this is likely not the same class of setup/API-key failure as the earlier reports.
I opened #847 for the next concrete fix: the interactive TUI stream now has a bounded startup wait. If the SSE stream never returns response headers, the turn will fail visibly instead of staying on Working... forever, and the error points at the HTTP/1 recovery path for Windows/proxy environments.
I am keeping this issue open until that lands and we get confirmation from a Windows npm install, but this should make the failure recoverable and much easier to diagnose.
Hi. The same issue is here. Everything is correct, but just the log of working... and it gets stuck. I checked all the versions of Nim and etc, still persistent.
Closing this old Windows/npm "Working..." startup report as stale/resolved by later startup-timeout and diagnostics work. The evidence here is from the 0.8.9-0.8.14 line. If this still reproduces 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!, install method, terminal, shell, provider/model, and whether the request visibly leaves the client.