DeepSeek DSH speeds up 70x with simple prompt mismatch fix
teortaxesTex · x · 2026-08-17
DeepSeek's open-source framework DSH suffered from slow terminal execution due to a prompt mismatch between the underlying terminal-bash and the tool-bash-persistent layer, forcing a 3.5s timeout per command.
The fix is straightforward: align the CONTROLLEDPROMPT constant in the source code and adjust the length check. Benchmarking shows latency dropping from 3600ms to 158ms, a 70x performance improvement.
More from coding & agent
- Inflight launches: a feedback layer that turns prototype comments into Claude tasks — soleio · 2026-10-16
- Apple code signing drags for hours; official advice: just wait a week — pjausovec · 2026-10-16
- Hermes: a 4B model with 8K context got worse with more test-time compute, pointing to contextual reasoning — mangahomanga · 2026-10-16
- Flux 3 Klein's Default Templates Are Broken Without Its Prompt Upscaler — StrictMove5839 · 2026-10-16
- 21-person team ships hundreds of PRs weekly with AI writing 97% of the code — rseroter · 2026-10-16
- ClosedMCP: Set Up MCP Servers Once, Share Them Across Your Whole Team — Ok_Sprinkles1301 · 2026-10-16