Tianbaidi/dsh-plugin-vision

Tianbaidi★ 0TypeScriptLast synced: 2026-08-15

Open on GitHub

README excerpt

dsh-plugin-vision Auxiliary vision for DeepSeek Harness (dsh): analyze images through an external OpenAI-compatible vision endpoint and get a text answer back. Works with any main model — including DeepSeek, whose own API is text-only. Why dsh's built-in read image tool injects the image into the main model's context, which requires the main model to declare image input. The DeepSeek adapter does not ( inputModalities: ['text'] ), so read image refuses to run with it. This plugin takes the complementary auxiliary vision route: it sends the image to a separate vision model and returns the answer as text. No main-model vision support needed. read image (built-in) vision analyze (this plugin) Image goes to the main model's context (native) an external vision endpoint Main model must be vision-capable yes no Result image block the model sees plain text answer How it works 1. Read the image — a local file path or an http(s) URL (size-capped, magic-byte MIME sniffing). 2. Encode it as an inline base64 data URL. 3. POST an OpenAI-compatible chat/completions request with [{type:text}, {type:image url}] content. 4. Return the vision model's answer (falls back to reasoning content for thinki…

View full README on GitHub →
Tools / Devdsh-pluginvision

Category