dsh-llm-fidelity: Automatic Correction of Rejected Parameters and Fidelity of Usage Statistics

dsh-llm-fidelity is a DeepSeek Harness model-inference plugin maintained by philipho01. It listens for requests on llm/stream: when the model service explicitly rejects optional parameters such as temperature, stop, maxTokens, and reasoningEffort with a 400/422 response, it parses the error within the same request, corrects the parameters, and resends the request, caching preferences by provider+model within the process for approximately one hour; it guards the usage stream against zeroing and duplicate merging, and does not fabricate unreported figures. Installation command: dsh plugin add dsh-llm-fidelity. Compatible with the DSH 0.1.0-rc.6 and 0.2.0-rc lines; settings such as maxAdaptations can be adjusted by id llm-fidelity in cordis.patch.yml.

Read More