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模型具备联网搜索和获取最新信息能力的用户。

Package
@canary-builds/dsh-web-search-zai
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Sep 29, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Canary-Builds/dsh-web-search-zai

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:

ConstantDefaultMeaning
MODELglm-5.3Model that performs the search turn
MAX_USES3Server-tool search passes per request
MAX_TOKENS512Completion budget (sources arrive in tool blocks)
MAX_ATTEMPTS / RETRY_DELAY_MS3 / 700Transient-failure retry policy
REQUEST_TIMEOUT_MS45000Per-attempt timeout, inside the web tool's budget
API_KEY_REFZAI_API_KEYCredentials-store reference