Replies: 1 comment
|
Feel free to try our zero-core-patch plugin for this, verified on 0.1.0-rc.6. repo: https://github.com/yuqingsh/dsh-image-subagent
|
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.
Summary
When using DeepSeek Harness with a text-only main model (e.g. DeepSeek V4 Flash via the deepseek-official provider) together with the vision plugin (dsh-vision-toolkit: vision_glance / vision_detect / vision_pixel_diff etc.), the GUI rejects image uploads with:
Why this is a gap
The vision tools read image paths from the session workspace and work perfectly with a text-only model — we use them daily. But the GUI upload path in
dsh-host-apiproxyassumes images can only be consumed as model input: when a prompt contains image parts it checks the current model'sinputModalitiesand refuses when the model does not declare"image".So a text-only main model can never receive user images, even though the harness has vision tooling that could read them from disk.
Suggested behavior
When the selected model does not support image input, do not reject the upload. Instead:
.dsh-uploads/)[用户上传了一张图片,已保存到 <path>。请使用 vision_glance 等视觉工具查看。]This matches the existing "images are for tools, not the model" architecture and makes the text-only + vision-tools combination fully usable from the GUI.
Workaround
We currently apply a local patch to
dsh-host-apiproxythat converts image parts into saved files + path references. It works well; it would be great to have this behavior built in (ideally configurable, e.g. only when the model lacks image input, or always when vision tools are present).Environment
All reactions