oldHan2423/dsh-image-auto-describe ↗★ 0
dsh-image-auto-describe
Image auto-describe provider for the DeepSeek Harness apiproxy admission seam: transcribes pasted images through configurable vision routes (Qwen first, GLM fallback) so text-only session models still receive image prompts.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:oldHan2423/dsh-image-auto-describe说明文档
阅读完整 README ↗配置
| 键 | 类型 | 默认 | 含义 |
|---|---|---|---|
candidates | { provider: string, model: string }[](至少 1 条) | Qwen → GLM | 按顺序尝试的视觉路由,第一条成功者生效 |
maxTokens | 正整数 | 4096 | 每次转写调用的 token 预算 |
Web 的「插件」设置页可直接编辑(路由从已配置的多模态模型里选,无需手填),下一次转写即用新配置,无需重启;把路由清空的编辑会被拒绝。若 Harness 版本的设置页还没有这张卡片,路由保持默认值,可在 profile 补丁中覆盖:
- id: image-auto-describe
config:
candidates:
- provider: siliconflow
model: Qwen/Qwen3-VL-32B-Instruct
- provider: zhipu
model: glm-4v-flash
maxTokens: 4096