gugu123a/dsh-tool-see-image ↗★ 4
dsh-tool-see-image
see_image tool for DSH: route image files to a configurable vision model (OpenAI-compatible API) and relay its description back to a text-only model
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:gugu123a/dsh-tool-see-image说明文档
阅读完整 README ↗Configuration (tool-see-image line in cordis.patch.yml)
| Key | Default | Description |
|---|---|---|
baseURL | https://open.bigmodel.cn/api/paas/v4 | OpenAI-compatible endpoint; the plugin appends /chat/completions |
apiKeyEnv | ZHIPU_API_KEY | Env var name that holds the API key |
model | glm-4v-flash | Vision model id (free on Zhipu) |
maxTokens | 1024 | Max output tokens. Note: glm-4v-flash caps at 1024 (higher returns 400 max_tokens参数非法; raise it if you switch to a bigger model) |
timeoutMs | 60000 | Request timeout |
maxBytes | 15728640 (15MB) | Per-image size limit |
prompt | (Chinese detailed-description instruction) | Default question; the question argument takes precedence |
To use a different vision API, change these three keys, e.g. SiliconFlow:
config:
baseURL: https://api.siliconflow.cn/v1
apiKeyEnv: SILICONFLOW_API_KEY
model: Qwen/Qwen2.5-VL-32B-Instruct