wilianyichen/dsh-official-vision0

dsh-official-vision

Direct DeepSeek official vision API bridge for DeepSeek Harness: registers the deepseek-v4-flash-vision-exp multimodal model as a provider route, with base64 inline and Files API image input. 直连 DeepSeek 官方视觉 API 的 DSH 插件

包名
dsh-official-vision
版本
0.1.0
许可证
MIT
最近更新
2026年8月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wilianyichen/dsh-official-vision

配置 / Config

设置 → 插件 → dsh-official-vision 或 profile 的 cordis.patch.yml 中:

- id: dsh-official-vision
  name: 'dsh-official-vision'
  config:
    apiKeyEnv: DEEPSEEK_API_KEY      # 官方 API key 的环境变量名(credential-ref)
    baseURL: https://api.deepseek.com
    delegateProvider: deepseek       # 无图请求委托的路由
    detail: auto                     # low | high | original | auto
    maxImagesPerRequest: 600
    preferFilesApi: false            # true = 走 Files API(file_id,支持 >32MiB 图)

使用:模型选择器中选择 DeepSeek-V4-Flash-Vision-Exp 路由,直接粘贴图片提问。