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

AI 분석

核心用途是为不支持多模态的纯文本模型补充图片理解与分析工具。适合需要让 AI 识别本地图片、截图,且希望使用免费视觉模型的用户。

패키지
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..."
}