guguthecoder/dsh-tool-see-image ↗★ 5

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 适合使用纯文本模型但需要通过外部视觉模型解析图片内容的用户。

Package
dsh-tool-see-image
Compatibility
Unverified
Harness peer range
^0.1.0-rc.6
Cordis peer range
^4.0.1
Version
0.1.2
License
MIT
Last updated
Sep 3, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:guguthecoder/dsh-tool-see-image

⚙️ Configuration (tool-see-image line in cordis.patch.yml)

KeyDefaultDescription
baseURLhttps://open.bigmodel.cn/api/paas/v4OpenAI-compatible endpoint; the plugin appends /chat/completions
apiKeyEnvZHIPU_API_KEYEnv var name that holds the API key
modelglm-4v-flashVision model id (free on Zhipu)
maxTokens1024Max output tokens. Note: glm-4v-flash caps at 1024 (higher returns 400 max_tokens参数非法; raise it if you switch to a bigger model)
timeoutMs60000Request timeout
maxBytes15728640 (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