caipanjin/dsh-image-bridge ↗★ 0
dsh-image-bridge
Read images through a dedicated vision subagent whose model is configured independently of the main agent. · 通过独立的识图子智能体识别图片,子智能体模型可单独配置。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:caipanjin/dsh-image-bridge说明文档
阅读完整 README ↗Configuration
Set these in the profile's cordis.patch.yml entry vision-bridge, or edit the
*-marked fields live from the Settings UI.
| Field | Default | Meaning |
|---|---|---|
provider | (required) | Child model provider id, e.g. openai, anthropic, deepseek. |
model | (required) | Child vision model id on that provider, e.g. gpt-4o-mini, qwen-vl-max. |
reasoningEffort* | '' | Child-route reasoning effort id; empty uses the model default. |
maxTokens* | 4096 | Output cap per child call. |
subagentProvider | spawn | Backend on ctx.subagents; spawn ships with dsh base. |
subagentLabel | vision | Label shown for each vision child. |
toolName | recognize_image | Model-facing tool name. |
maxDepth | 1 | Absolute delegation-depth cap; a child of the main agent is depth 1, so 1 admits the vision child but denies it grandchildren. |
timeoutMs | 180000 | Per-call timeout. |
systemPrompt* | '' | Replace the child's built-in analyst instruction. |
guideline* | true | Add the "call this tool for images" prompt line. |
The bundled cordis.patch.yml leaves provider/model empty on purpose —
you must fill them in with a route in your profile that accepts image input.
The plugin refuses to run until both are set, and reports a clear error if a
call is attempted while they are still empty.