oldHan2423/dsh-image-auto-describe0

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.

包名
dsh-image-auto-describe
版本
0.1.0
许可证
MIT
最近更新
2026年8月18日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:oldHan2423/dsh-image-auto-describe

配置

类型默认含义
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