Canary-Builds/dsh-web-search-zai ↗★ 0
@canary-builds/dsh-web-search-zai
Z.AI (GLM) web search provider for the DeepSeek Harness web seam — native web_search_20250305 through Z.AI's Anthropic-compatible Messages API. Dependency-free. 适合需要让DSH模型具备联网搜索和获取最新信息能力的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Canary-Builds/dsh-web-search-zaiREADME
Read the full README ↗Configuration
There is no settings card and no schema dependency — deliberately, to keep the package installable with zero npm dependencies. The knobs are the constants at the top of index.js:
| Constant | Default | Meaning |
|---|---|---|
MODEL | glm-5.3 | Model that performs the search turn |
MAX_USES | 3 | Server-tool search passes per request |
MAX_TOKENS | 512 | Completion budget (sources arrive in tool blocks) |
MAX_ATTEMPTS / RETRY_DELAY_MS | 3 / 700 | Transient-failure retry policy |
REQUEST_TIMEOUT_MS | 45000 | Per-attempt timeout, inside the web tool's budget |
API_KEY_REF | ZAI_API_KEY | Credentials-store reference |