co-Elly/dsh-plugin-vision ↗★ 0
dsh-plugin-vision
Vision capability plugin for DeepSeek Harness — enables pure-text LLMs to analyze images via GLM-4V-Flash
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗⚙️ Configuration
Get a free API Key
- Visit Zhipu Open Platform
- Register and log in
- Create an API Key in the API Keys page
- The
glm-4v-flashmodel is free — no payment needed
Environment variables
export ZHIPU_API_KEY="your-api-key"
cordis.yml
plugins:
- name: dsh-plugin-vision/cordis
config:
apiKey: "your-api-key" # or use $ZHIPU_API_KEY
baseUrl: "https://api.z.ai/api/paas/v4/chat/completions" # default
model: "glm-4v-flash" # default
🚀 Usage
Once registered, the agent automatically gets the vision_analyze tool:
vision_analyze({
image_path: "/path/to/screenshot.png",
question: "What is shown in this chart?"
})
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
image_path | string | ✅ | Image file path or HTTP(S) URL |
question | string | ❌ | Question about the image (default: "请描述这张图片的内容") |
Returns
{
"description": "A bar chart showing monthly revenue..."
}