dsh-vision-proxy
为纯文本 DeepSeek Harness 模型提供视觉能力:一个代理提供商,将图像理解委托给 harness 可路由的任何视觉模型,并提供 vision 和 vision_config 工具。
AI 分析
核心用途是让不支持图片的纯文本模型也能通过代理调用其他视觉模型来理解图像。适合希望扩展 DSH 文本模型多模态能力的用户。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Configuration
All config lives in the vision-proxy settings namespace (settings.yaml), the same file where your provider routes live:
vision-proxy:
mainProvider: opencode-go # preferred route for the main (text) side; empty = scan live providers
visionProvider: opencode-go # route for the vision model; empty = use the main side's provider
visionModel: mimo-v2.5 # the vision model used for every image
fallbackVisionModels: [] # optional: models tried in order if the primary call fails
visionMaxTokens: 2048 # output cap per vision call
descriptionPrompt: "Describe this image in full detail: ..." # instruction sent with every vision call
Notes:
- No automatic fallback.
fallbackVisionModelsis empty by default. Every fallback attempt is a paid model call, so switching models on failure is strictly opt-in. A fixedvisionModelfails loudly instead of silently spending. mainProviderdisambiguates when the same model id exists on several routes (e.g.deepseek-v4-flashon bothopencode-goanddeepseek-official). Empty means the first live provider that serves the model wins.- The vision side must be a model the harness can route and that accepts image input. The harness validates this at call time and reports a clear error otherwise.
Usage
- Attached images — switch the session to a
-visionentry in the model picker and attach normally. Each image is described before the request goes to the main model. If a description fails, a placeholder text is injected instead of failing the turn. - Local images — ask the model to look at a file, e.g. "what does
screenshot.pngshow?" It will call thevisiontool. Supported formats: png, jpg, jpeg, webp, gif (subject to the harness attachment limits, ~5 MB by default).