condaThinker/dsh-image-inline0

dsh-image-inline

Let the model render an image into the DSH web chat flow (QQ/WeChat style) via a show_image tool: the message content keeps only the path text, the image never enters model context, and the browser shows the picture inline, scrollable with history.

AI 분석

核心用途是在对话流中内嵌渲染本地图片而不占用模型上下文。适合需要模型展示图片、进行视觉确认且想节省 Token 的用户。必要条件是需要通过 show_image 工具调用。

패키지
dsh-image-inline
버전
0.1.0
최근 업데이트
2026. 8. 14.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:condaThinker/dsh-image-inline

配置

cordis.patch.yml 中的 config(可覆盖):

默认说明
maxImageBytes26214400 (25MiB)单张图片编码字节上限(实际生效值 = min(本配置, 附件服务配置))
maxImagePixels40000000 (40MP)宽×高上限;0 关闭该检查
mediaTypespng/jpeg/webp/gif接受的格式白名单

使用

在会话中让模型显示一张图片,例如:

用 show_image 显示 /path/to/your/image.png

模型调用后,对话流里该工具调用处会出现图片卡片(缩略图,点击看原图),可上翻查看历史。若图片不存在/格式不支持/超限,卡片显示错误文案,会话不中断。