baldovinmarques391-design/dsh-plugin-glm-vision ↗★ 0
dsh-plugin-glm-vision
Image translation for non-multimodal models via GLM-4V-Flash: intercepts images, generates descriptions, injects as text.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:baldovinmarques391-design/dsh-plugin-glm-vision说明文档
阅读完整 README ↗第二步:配置 API Key
在 $DSH_HOME/.credentials.yaml 中添加:
GLM_API_KEY: 你的智谱API密钥
配置项
插件安装后会自动在 DSH 设置界面中显示配置项。也可通过 cordis.patch.yml 手动配置:
| 配置项 | 默认值 | 说明 |
|---|---|---|
glmApiKeyEnv | GLM_API_KEY | 存放 API Key 的环境变量名 |
toolTimeoutMs | 120000 | image_query 工具超时时间(毫秒) |
model | GLM-4.1V-Thinking-Flash | 使用的 GLM 模型名 |
autoTranslate | true | 是否自动翻译图片 |
enableTool | true | 是否注册 image_query 工具 |