dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
DeepSeek Harness (DSH) 智能视觉模型增强插件:自动注入图片输入模态,解决第三方 Claude / GPT-4o / Gemini 识图降级与无法识别图片问题
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.
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)*
input: [text, image], the pi-ai adapter defaults to DEFAULT_INPUT = ["text"].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!
ctx.llm and adapter pipelines to inject image input modality dynamically, preventing image stripping.auto_vision_diagnose for instant channel and model capability scans.Vision Active badge inside the message composer.Run inside the DSH terminal or system terminal:
dsh plugin install dsh-plugin-auto-visionOr ask the agent in any active conversation:
*"Install the dsh-plugin-auto-vision plugin for me."*
Ask the agent:
*"Run auto_vision_diagnose to check my configured models."*
Returns the modality health status of all registered providers and models.
Configurable via Web UI Settings → Plugins → auto-vision or cordis.patch.yml:
Field · Type · Default · Description enableAutoInjection · boolean · true · Whether to automatically inject image input modality at runtime customVisionPatterns · string[] · [] · Custom regex strings for matching vision model IDs excludeModels · string[] · [] · Blacklist of model IDs to exclude from image injection
Licensed under the MIT License.