copylee711/dsh-better-display ↗★ 0
@copylee/dsh-better-display
DeepSeek Harness Web plugin: illustrated assistant replies with GPT-style citation chips and a sources panel for web-search results, on top of streaming markstream-react Markdown. 适合需要美化回答排版、直观展示联网搜索来源和配图的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:copylee711/dsh-better-displayREADME
Read the full README ↗配置
在 DSH 左侧栏「插件」页打开 @copylee/dsh-better-display,点组件行的配置按钮即可调整,保存后下一条回答就生效,不用重启:
| 选项 | 默认 | 说明 |
|---|---|---|
引用角标 citations | 开 | 让模型用 [n](https://github.com/copylee711/dsh-better-display/blob/6eb2d99fccc7605fd33fb35b79f14c186debc988/url) 标注联网来源,显示为上标角标并汇总「来源」面板 |
正文配图 inlineImages | 开 | 让模型把搜到的相关图片嵌入回答 |
配图数量 imageCount | 由 AI 决定 | auto:模型按内容需要决定配几张(纯文字/代码类不配,外观对比、地点介绍等多配);limit:限制每条回答最多张数 |
最多张数 maxImages | 8 | 1–20,仅在「限制最多」时生效 |
同样的字段也可以直接写在 profile 的 cordis.patch.yml 的 better-display 条目里(另有高级项 sectionOrder,默认 600,控制 system prompt 段落的排序)。两个开关都关闭时不注入任何 prompt,只保留增强渲染(已有的 [1](https://github.com/copylee711/dsh-better-display/blob/6eb2d99fccc7605fd33fb35b79f14c186debc988/url) 链接和图片仍按新样式显示)。