me9rez/dsh-vlm-bridge0

dsh-vlm-bridge

DSH 桥接插件:通过 SenseNova 视觉大模型赋予纯文本 Agent 识图能力

AI 分析

核心用途是让纯文本智能体通过调用 `vision_analyze` 工具来读取和分析图片。适合需要为现有文本模型补充图像理解能力的特定任务。

包名
dsh-vlm-bridge
版本
0.1.5
最近更新
2026年8月14日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:me9rez/dsh-vlm-bridge

配置

单一来源:baseUrl/model 等只从 config 来(schema 默认值兜底);密钥只从 credentials 来

Config 字段(patch 层 config:)类型默认值说明
baseUrlstringhttps://api-inference.modelscope.cn/v1VLM API 地址
modelstringQwen/Qwen3-VL-8B-InstructVLM 模型名
cacheTtlMsnumber600000识别结果缓存时长 ms
cacheMaxnumber64缓存条目上限
fetchTimeoutMsnumber120000VLM 请求超时 ms
maxTokensnumber4096VLM 输出 token 上限(图片详细描述易超过 1024,调大缓解截断/空内容)
logFilestringos.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 层已有的行):