wangyuanchuan2022/dsh-prompt-optimizer ↗★ 1
dsh-prompt-optimizer
One-click prompt-optimization button in the composer tool row, plus long-text input/editing support for the DeepSeek Harness web UI.
AI Analysis
核心用途是快速重写和润色输入框中的草稿。适合希望在发送前让大模型自动优化提示词,或需要编辑超长文本的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wangyuanchuan2022/dsh-prompt-optimizerREADME
Read the full README ↗配置(cordis.patch.yml)
| 键 | 默认 | 说明 |
|---|---|---|
provider / model | 未设置 | 显式固定优化调用的模型路由(需成对提供) |
maxInputChars | 200000 | 草稿最大字符数 |
maxOutputTokens | 8192 | 重写结果输出上限 |
timeoutMs | 120000 | 单次优化调用超时 |