Canary-Builds/dsh-web-search-zai ↗★ 0

@canary-builds/dsh-web-search-zai

通过Z.AI接口为DSH提供原生的网页搜索能力 适合需要让DSH模型具备联网搜索和获取最新信息能力的用户。

套件
@canary-builds/dsh-web-search-zai
相容性
待驗證
版本
0.1.0
授權
MIT
最近更新
2026年9月29日

安裝

$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