Noemm/dsh-web-search-glm0

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)

AI 分析

核心用途是为 DSH 引入智谱 GLM 的原生网页搜索能力。适合需要联网搜索最新信息的用户。必要条件是需配置智谱 API Key,并在 profile 的 patch 层显式指定该搜索服务商。

パッケージ
dsh-web-search-glm
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/28

インストール

$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:

KeyDefaultDescription
apiKeyLiteral API key (secret). Prefer the apiKeyEnv credential reference.
apiKeyEnvZAI_API_KEYCredential reference name. Keep it in sync with the apiKeyEnv of the zai provider in your dsh settings so both read one stored key.
baseURLhttps://open.bigmodel.cn/api/anthropic/v1Anthropic-compatible endpoint; /messages is appended by the provider. The overseas deployment can point to https://api.z.ai/api/anthropic/v1.
modelglm-5.3Model that executes the native web search. Verified live — see Model notes.
apiVersion2023-06-01Value of the anthropic-version header.
maxTokens4096Upper bound on generated tokens for the Messages request.
maxUses5Maximum web_search server-tool uses per request.

Example: