dsh-web-search-glm
Zhipu GLM-backed search provider (native web_search via the Anthropic-compatible API) for the DeepSeek Harness web capability seam (ctx.web)
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Noemm/dsh-web-search-glm说明文档
阅读完整 README ↗Configuration
Settings live in the web-search-glm section of ~/.dsh/settings.yaml:
| Key | Default | Description |
|---|---|---|
apiKey | — | Literal API key (secret). Prefer the apiKeyEnv credential reference. |
apiKeyEnv | ZAI_API_KEY | Credential reference name. Keep it in sync with the apiKeyEnv of the zai provider in your dsh settings so both read one stored key. |
baseURL | https://open.bigmodel.cn/api/anthropic/v1 | Anthropic-compatible endpoint; /messages is appended by the provider. The overseas deployment can point to https://api.z.ai/api/anthropic/v1. |
model | glm-5.3 | Model that executes the native web search. Verified live — see Model notes. |
apiVersion | 2023-06-01 | Value of the anthropic-version header. |
maxTokens | 4096 | Upper bound on generated tokens for the Messages request. |
maxUses | 5 | Maximum web_search server-tool uses per request. |
Example: