DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-plugin-auto-vision

q

dsh-plugin-auto-vision

Manifest valid

DeepSeek Harness (DSH) 智能视觉模型增强插件:自动注入图片输入模态,解决第三方 Claude / GPT-4o / Gemini 识图降级与无法识别图片问题

UI (client)hasBundlePatchMachine translated

dsh-plugin-auto-vision

DeepSeek Harness (DSH) Smart Multimodal Vision Enhancer Plugin
Resolves image recognition degradation and the "cannot see/recognize images" issue for third-party Claude, GPT-4o, Gemini, and open-source VL models.

npm version license


🌟 Problem Statement

In DeepSeek Harness (DSH), when third-party multimodal models (e.g. claude-3-5-sonnet, gpt-4o, gemini-1.5-pro, qwen2-vl, etc.) are configured via custom providers (OneAPI, NewAPI, CLIProxyAPI, OpenRouter, ModelScope, reverse proxies), users frequently encounter this issue:

When uploading an image, the model replies: "I cannot view images / I cannot recognize images / As an AI I only accept text."
(Ref: GitHub Discussion #112)

🔍 Root Cause in DSH Core

  1. Fallback to Text-Only: Unless a model explicitly defines input: [text, image], the pi-ai adapter defaults to DEFAULT_INPUT = ["text"].
  2. Silent Image Stripping: DSH's projectImagesForTextModel() intercepts requests when a model lacks the image modality and silently replaces image blocks with:
    [image omitted because this model accepts text only; attachment sha256:xxxx]
    
    The remote model literally never receives the image binary data!
  3. Manual Config Pain: Hand-crafting YAML overrides is tedious and easily overwritten by Web UI saves.

✨ Features

  • 🚀 Zero-Configuration: Works out of the box after installation. No manual YAML editing needed.
  • 🧠 Heuristic Vision Rules: Built-in regex patterns covering Claude 3/3.5/3.7/4, GPT-4o/4.5, Gemini, Qwen-VL, GLM-4V, InternVL, Llama 3.2 Vision, and more.
  • 🛡️ Runtime Interception: Hooks into ctx.llm and adapter pipelines to inject image input modality dynamically, preventing image stripping.
  • 🩺 Diagnostic Tool: Comes with auto_vision_diagnose for instant channel and model capability scans.
  • 🎨 Web UI Badge: Displays a Vision Active badge inside the message composer.

📦 Installation

Run inside the DSH terminal or system terminal:

dsh plugin install dsh-plugin-auto-vision

Or ask the agent in any active conversation:

"Install the dsh-plugin-auto-vision plugin for me."


🛠️ Diagnostics

Ask the agent:

"Run auto_vision_diagnose to check my configured models."

Returns the modality health status of all registered providers and models.


⚙️ Configuration Schema

Configurable via Web UI Settings → Plugins → auto-vision or cordis.patch.yml:

FieldTypeDefaultDescription
enableAutoInjectionbooleantrueWhether to automatically inject image input modality at runtime
customVisionPatternsstring[][]Custom regex strings for matching vision model IDs
excludeModelsstring[][]Blacklist of model IDs to exclude from image injection

📄 License

Licensed under the MIT License.

Comments

Loading…

Similar plugins

dsh-image-vision

by xiaoyuink

图片识别插件 for DeepSeek Harness:自动判断当前模型识图能力,支持多供应商视觉模型管理与检测

Tools & CapabilitiesVision & MultimodalManifest valid

★ 3

JavaScript

Sep 4, 2026

dsh plugin --profile web add @xiaoyuink/dsh-image-vision

by Terry12138qy

DeepSeek Harness 识图插件:为不具备原生识图能力的模型提供识图能力(阿里云百炼 qwen3.5-omni-plus,失败自动切换智谱 glm-4.6v-flash)。由 claude-vision-skill 移植适配。 | Vision tool for DeepSeek Harness

Manifest valid

★ 3

↓ 161/wk

MIT

JavaScript

Aug 14, 2026

dsh plugin --profile web add dsh-vision

by dami9527

DeepSeek Harness 插件:让 deepseek-v4-flash 等不能看图的模型也能处理聊天图片,内置识图工具。安装:dsh plugin --profile web add dsh-image-pathify

Tools & CapabilitiesVision & MultimodalManifest valid

★ 4

↓ 768/wk

MIT

TypeScript

Oct 20, 2026

dsh plugin --profile web add dsh-image-pathify

by motongv

给 DeepSeek Harness(DSH)加视觉能力的插件:装完就能拖图识别——图片交给视觉模型识别、文字交给 DeepSeek 推理,聊天入口完全不变。DSH 专属插件。

Manifest valid

★ 0

↓ 60/wk

MIT

JavaScript

Aug 18, 2026

dsh plugin --profile web add dsh-vision-adapter

by 123twtd

DeepSeek Harness (dsh) 模型视觉开关插件:为自定义模型声明图像输入能力(写入 llm-pi-ai 配置),适配 0.1.x

Tools & CapabilitiesManifest valid

★ 0

JavaScript

Sep 3, 2026

dsh plugin --profile web add dsh-vision-toggle

by wumu1111111

DeepSeek Harness 全模态插件:图像理解 + 文生图/图生图 + 视觉桥,支持对话直接发图

Manifest valid

★ 0

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-agnes-omni