litianshuo110/dsh-ds-vision-auto-route

litianshuo110★ 0TypeScript最后同步: 2026-08-22

在 GitHub 打开

Route image-bearing turns to a configurable image-capable model for DeepSeek Harness

README 摘要

dsh-ds-vision-auto-route English 中文 Function plugin that routes image-bearing requests to a configurable image-capable model through the agent loop's agent/request waterfall. It does not change the selected model: every text-only request keeps the selection, and only a request whose turn introduced an image is replaced with the vision fallback. The loop logs the replacement as the request/header , so every routed call stays reconstructable, and the plugin appends a non-surface llm-vision-route/route record naming the turn, step, policy, and fallback route. Compatibility with the published DeepSeek Harness release This plugin routes on the agent loop's agent/request waterfall, which runs after the host's prompt-admission step. The image-admission gate lives in the Web and ACP entry layers, not in this plugin. - In the source harness (running pnpm dsh web from the checkout), that admission consults this plugin's llm-vision-route service before accepting image input, so an image prompt on a text-only main model is admitted and the request is routed to the vision fallback automatically. - In the published npm release ( @deepseek-ai/dsh installed globally, dsh web ), the admission still…

在 GitHub 查看完整 README →
工具/开发dsh-pluginagentvision

分类