secyborg/dsh-glm-web-search ↗★ 0
dsh-glm-web-search
DSH host plugin: GLM (Zhipu) Web Search provider for the ctx.web capability seam. Backed by Zhipu's dedicated Web Search API (POST /api/paas/v4/web_search, search_engine search_std/search_pro) — structured results without a model turn. Reuses the ZAI coding-plan key by default (apiKeyEnv: ZAI_CODING_CN_API_KEY) and retargets the web row's searchProvider to glm-official via its bundle patch.
AI 分析
核心用途是为 DSH 引入智谱 GLM 的联网搜索能力。适合需要获取最新网络信息辅助决策的任务,需配置智谱 API 密钥。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:secyborg/dsh-glm-web-searchドキュメント
README 全文を読む ↗配置(profile 行 config,可选覆盖)
| 键 | 默认 | 说明 |
|---|---|---|
apiKeyEnv | ZAI_CODING_CN_API_KEY | 凭证引用名(credentials 服务先查,再退 process.env) |
apiKey | — | 字面量密钥(优先级最高) |
baseURL | https://open.bigmodel.cn/api/paas/v4 | API 根(/web_search 会被追加) |
engine | search_std | search_std / search_pro |
contentSize | medium | 摘要长度 low / medium / high |