co-Elly/dsh-plugin-vision0

dsh-plugin-vision

Vision capability plugin for DeepSeek Harness — enables pure-text LLMs to analyze images via GLM-4V-Flash

包名
dsh-plugin-vision
版本
1.0.0
许可证
MIT
最近更新
2026年8月22日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

⚙️ Configuration

Get a free API Key

  1. Visit Zhipu Open Platform
  2. Register and log in
  3. Create an API Key in the API Keys page
  4. The glm-4v-flash model 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

ParameterTypeRequiredDescription
image_pathstringImage file path or HTTP(S) URL
questionstringQuestion about the image (default: "请描述这张图片的内容")

Returns

{
  "description": "A bar chart showing monthly revenue..."
}