kuma-loong/dsh-llm-sampling

kuma-loong★ 0TypeScript最后同步: 2026-08-21

在 GitHub 打开

Exact-model sampling policy bundle for DeepSeek Harness

README 摘要

dsh-llm-sampling English 中文 Installable DeepSeek Harness bundle that enforces sampling policy for exact provider/model routes through the agent/request waterfall. The Harness core owns the provider-neutral request fields and durable request header; adapters own wire translation. This plugin owns deployment policy only. The plugin is dormant until llm-sampling.providers names a route. A configured model's default profile replaces all sampling values on every request. When reasoningEffort is explicitly off , off overlays that complete profile. Unconfigured routes pass through unchanged. Compatibility The plugin requires a DeepSeek Harness build whose LlmCallConfig and GenerateOptions include topP , topK , minP , presencePenalty , and repetitionPenalty . Until that core change reaches an npm release, install the plugin only with a matching Harness source checkout. Adapters must map the configured fields. @deepseek-ai/dsh-llm-pi-ai supports the extended fields for OpenAI Chat Completions and rejects them for other protocols. Install Pin the reviewed commit when installing from GitHub: Git installs run this package's prepare script. pnpm 10 and later require an explicit build allowance …

在 GitHub 查看完整 README →
工具/开发dshdsh-pluginagent

分类