Anionex/dsh-suggested-replies ↗★ 2
@anionex/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.
AI 分析
核心用途是辅助用户快速生成与 AI 交互的下一轮回复。适合希望提高对话效率、需要灵感提示的用户。可配置独立的辅助模型进行调用。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Anionex/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