ShiraGawaAnri/dsh-vision-bridge

ShiraGawaAnri★ 0JavaScript最后同步: 2026-08-16

在 GitHub 打开

DSH profile 插件包:当会话使用不支持图片的模型(如 DeepSeek)时,不再弹出 "当前模型不支持图片"之类的拦截,而是调用工具进行视觉识别

README 摘要

中文 English dsh-vision-bridge A DSH profile bundle for sessions running models that cannot accept image input (DeepSeek and similar). Instead of the native "the current model does not support images" rejection, the plugin runs the following pipeline: 1. materializes the image into the session workspace ( .dsh-vision-bridge/ ); 2. rewrites the user message (via the sanctioned agent/pre-step channel) into a [图片桥接] instruction carrying the image paths; 3. registers a system-prompt rule (order 150) requiring the model to call the configured vision tool (default vision glance , fuzzy-selectable such as glance / ground / detect , matched against the agent's actual toolset) and answer from its analysis — the tool-call card and its result appear in the conversation; 4. patches llm.stream to strip image blocks — including images nested inside tool results — replacing them with a placeholder before a text-only adapter serializes the conversation. Sessions whose agent preset matches excluded presets (default minimal , the two-tool preset) are NOT bridged: their images are replaced with the original "model does not support images" notice text. The preset a session runs is resolved the same way …

在 GitHub 查看完整 README →
内容/媒体dsh-pluginagentvision

分类