me9rez/dsh-vlm-bridge

me9rez★ 0JavaScriptLast synced: 2026-08-14

Open on GitHub

DeepSeek Harness (dsh) bundle plugin: vision_analyze tool lets text-only LLM agents read images via SenseNova VLM, with Schemastery config and single-source credentials

README excerpt

dsh-vlm-bridge DeepSeek Harness 组合包(bundle)插件:为纯文本模型提供视觉能力。 功能 vision analyze 工具:读取图片文件 → 调用 VLM(默认 ModelScope Qwen/Qwen3-VL-8B-Instruct )→ 返回文字描述。 适合当前模型(如 deepseek-v4-flash)不支持图片输入时: - 识别图片内容(默认详细描述) - 追问图片细节(传 question 参数) 文件结构 安装(profile web) 其他分发方式: 参考 dsh 生态做法(如 dsh-agent-teams 的安装方式: dsh plugin --profile web add github:NanmiCoder/dsh-agent-teams )——dsh 支持直接从 GitHub 安装 bundle 包。 配置层由 cordis.patch.yml 提供:插入 dsh-vlm-bridge 插件行(id 可被用户层覆盖)。 配置 单一来源: baseUrl/model 等只从 config 来(schema 默认值兜底);密钥只从 credentials 来 。 Config 字段(patch 层 config:) 类型 默认值 说明 baseUrl string https://api-inference.modelscope.cn/v1 VLM API 地址 model string Qwen/Qwen3-VL-8B-Instruct VLM 模型名 cacheTtlMs number 600000 识别结果缓存时长 ms cacheMax number 64 缓存条目上限 fetchTimeoutMs number 120000 VLM 请求超时 ms maxTokens number 4096 VLM 输出 token 上限(图片详细描述易超过 1024,调大缓解截断/空内容) logFile string os.tmpdir()/dsh-vlm-plugin/dsh-vlm-bridge.log (即 %TEMP%) 日志路径 凭证( /.dsh/.credentials.yaml ,密钥唯一来源): VLM API KEY (必需)。 注意: VLM BASE URL / VLM MODEL 不再从 credentials 读取(0.1.0 单一来源化), 要改端点/模型请在 config 里配。 示例(profile 的 cordis.patch.yml,覆盖 bundle 层已有的行): 若 bundle 未提供该行(如本地 --patch overlay),用 insert 提供: 覆盖规则 :patch 按 id 整行替换 config,不深度合并。如果 bundle 层的行带显…

View full README on GitHub →
Media / Contentdeepseek-harnessdshdsh-pluginllm-pluginvisionvlmagent

Category