dsh-vision: a vision tool plugin that gives text-only models (deepseek-v4-flash) image recognition #876
sjakdhasdh
started this conversation in
Show and tell
Replies: 2 comments
|
I wrote a detailed write-up about how this plugin was built (the 4-line adapter patch, the vision tool, and 6 real pitfalls) — available in Chinese on Juejin: 📖 https://juejin.cn/post/7673561909976039450 Feedback and PRs welcome! ⭐ |
0 replies
|
Update: the full write-up is now also available on: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
dsh-vision 📷 — a vision tool plugin for text-only models
I built a DeepSeek Harness plugin that adds a
visiontool to models without native image input — likedeepseek-v4-flash.What it does
qwen3.7-flash, ~cheap per-call)Demo: a test image with a red circle, a blue rectangle and the text "Vision Test 123" → the model correctly described all three.
Install
pnpm install && pnpm run build dsh plugin --profile web add ./dsh-visionConfig is trivial — env vars or a profile patch layer:
Zero extra runtime deps (uses built-in
fetch). It also pairs with a tiny patch todsh-llm-deepseekthat lets users paste images directly (image blocks render as[图片附件: sha256:...]markers) — documented in the repo.Repo & License
https://github.com/sjakdhasdh/dsh-vision — MIT
Ecosystem is still early — would love feedback, issues and PRs! ⭐
All reactions