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

dsh-tool-see-image

将图像文件路由至视觉模型并向纯文本模型返回描述 适合使用纯文本模型但需要通过外部视觉模型解析图片内容的用户。

套件
dsh-tool-see-image
相容性
待驗證
Harness 依賴範圍
^0.1.0-rc.6
Cordis 依賴範圍
^4.0.1
版本
0.1.2
授權
MIT
最近更新
2026年9月3日

同名套件的其他儲存庫

安裝

$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