Back to home@Gelomen

glm-vision-plugin

DSH 插件:把智谱(Zhipu)GLM 视觉模型接进 DSH,提供 analyze_image 工具。

Stars
0
Language
TypeScript
Created
Aug 19, 2026
Updated
Aug 19, 2026

Introduction

@gelomen/glm-vision-plugin

DSH 插件:把智谱(Zhipu)GLM 视觉模型接进 DSH,提供 analyze_image 工具。

构建

pnpm install
pnpm build

安装

方式一:npm(推荐)

dsh plugin --profile web add @gelomen/glm-vision-plugin

装完重启 dsh web 生效。

方式二:手动装配

  1. ~/.dsh/profiles/web/package.jsondependencies"@gelomen/glm-vision-plugin": "^0.1.3"
  2. dsh.profile.bundles 数组追加 "@gelomen/glm-vision-plugin"
  3. cd ~/.dsh/profiles/web && pnpm install,重启 dsh web

方式三:git 直装

dsh plugin --profile web add Gelomen/glm-vision-plugin

默认值

默认
端点https://open.bigmodel.cn/api/paas/v4
模型glm-4.6v-flash
温度0.3
超时90s
credentials 引用ZHIPU_API_KEY