baldovinmarques391-design/dsh-plugin-glm-vision0

dsh-plugin-glm-vision

Image translation for non-multimodal models via GLM-4V-Flash: intercepts images, generates descriptions, injects as text.

AI Analysis

核心用途是辅助纯文本模型理解图片。适合使用非多模态模型,但需要让模型感知和分析上传图片内容的用户。

Package
dsh-plugin-glm-vision
Version
2.1.0
Last updated
Aug 21, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:baldovinmarques391-design/dsh-plugin-glm-vision

第二步:配置 API Key

$DSH_HOME/.credentials.yaml 中添加:

GLM_API_KEY: 你的智谱API密钥

配置项

插件安装后会自动在 DSH 设置界面中显示配置项。也可通过 cordis.patch.yml 手动配置:

配置项默认值说明
glmApiKeyEnvGLM_API_KEY存放 API Key 的环境变量名
toolTimeoutMs120000image_query 工具超时时间(毫秒)
modelGLM-4.1V-Thinking-Flash使用的 GLM 模型名
autoTranslatetrue是否自动翻译图片
enableTooltrue是否注册 image_query 工具