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.

Original post →

More from coding & agent

coding & agent channel →