Canvai1337/dsh-enhance-prompt ↗★ 0
dsh-enhance-prompt
A composer button beside the model selector that rewrites your draft into a clear, sectioned prompt while keeping attached files as chips.
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Canvai1337/dsh-enhance-prompt说明文档
阅读完整 README ↗配置(可选)
默认使用部署的默认模型。需要调参时,在 profile 的 cordis.patch.yml 按 row id 覆盖(示例见 examples/config.example.yml):
- id: enhance-prompt
name: dsh-enhance-prompt
config:
structured: true # true=分段结构化;false=单段落式
reasoningEffort: off # off/low/high/max;改写任务用 off 更省
# provider / model # 可选:指定更便宜的模型跑增强
maxInputChars: 8000
maxOutputTokens: 2048
timeoutMs: 75000
# system: '自定义系统提示词'
| 字段 | 默认 | 说明 |
|---|---|---|
structured | true | 是否输出分段结构 |
provider / model | 空(用默认模型) | 增强用的模型路由 |
reasoningEffort | 继承默认 | 建议 off/low |
maxInputChars | 8000 | 草稿字符上限 |
maxOutputTokens | 2048 | 输出 token 上限 |
timeoutMs | 75000 | Host 端超时 |
system | 内置 | 完全自定义系统提示词 |