dsh-request-error-dump: A Tool for Dumping Model Request Errors to Disk

`dsh-request-error-dump` is a debugging plugin developed for DeepSeek Harness (DSH) that addresses the issue of hidden error messages when model requests fail. On request failure, it writes the original request body, upstream response body, network exceptions, and DSH context information to a local file, helping developers diagnose specific issues such as invalid API keys and rate limits. Its core features cover four sections—request information, response information, transport-layer exceptions, and DSH context—and support configuring capture scope, header redaction, and file management. By default, the plugin captures only model requests, has zero runtime dependencies, and is ready to use after installation and restart. Developers should observe privacy boundaries and avoid saving request bodies containing sensitive information in untrusted environments.

Read More