LoserFox/marisa-distro--plugins-dsh-suggested-replies ↗★ 7
@dsh-external/dsh-suggested-replies
DSH Web plugin that proposes concise next user messages above the composer and inserts a selected reply into the draft without sending it.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LoserFox/marisa-distro#4aa96256d0af09fa65e64679a1c7826342e9ded2&path:plugins/dsh-suggested-replies说明文档
阅读完整 README ↗设置与配置
Web 设置页中的“下一步建议”分区提供 enabled 总开关。它写入 $DSH_HOME/settings.yaml 的 suggested-replies 区域,下一轮立即生效。
其余部署参数在 cordis.patch.yml 或 profile overlay 中配置:
| 字段 | 默认值 | 说明 |
|---|---|---|
enabled | true | 是否生成候选;关闭后无辅助模型调用。 |
suggestionCount | 3 | 每轮候选数量,范围 2-4。 |
contextMessageCount | 4 | 传给辅助模型的最近可见消息数,范围 2-6。 |
maxSuggestionChars | 160 | 单条候选保留的最大字符数,范围 32-300。 |
maxTokens | 384 | 辅助调用的最大输出 token,范围 64-1024。 |
timeoutMs | 15000 | 辅助调用最长时长(毫秒),范围 1000-30000。 |
suggestionProvider | 未设置 | 可选:显式指定辅助调用 provider;省略时跟随当前会话模型。 |
suggestionModel | 未设置 | 可选:显式指定辅助调用 model;必须与 suggestionProvider 同时提供。 |
示例 overlay:
- patch:
- id: suggested-replies
config:
suggestionCount: 4
maxSuggestionChars: 120
timeoutMs: 10000
suggestionProvider: deepseek-official
suggestionModel: deepseek-v4-flash