dsh-search-hub
Multi-entry web search hub for DeepSeek Harness · DeepSeek Harness 联网搜索多入口管理中枢
English · 简体中文
Settings preview
English
DeepSeek Harness's built-in web search is a single fixed channel (deepseek-official, an Anthropic-compatible Messages call with the server-side web_search tool). dsh-search-hub turns that channel into a configurable hub:
- Multiple search entries, exactly one active. Each entry = label + protocol vendor + baseURL + model + API-key env-var name. Switching is one click in the Settings page — no restart, the provider snapshots config per search.
- Two protocol adapters:
anthropic — Anthropic Messages + native web_search_20250305 tool (covers DeepSeek official; ready for Kimi Coding endpoints once verified);
zai — Zhipu's standalone Web Search API (POST {base}/web_search): deterministic retrieval with no model turn, no tool-call discretion — every call IS a search. Works with GLM Coding Plan keys.
- A top-level「搜索」tab in the dsh Settings dialog: card list per entry, radio-style activation, add/edit/delete with templates (DeepSeek / GLM / Kimi placeholder). Built-in entries cannot be deleted.
- Clean fallback. The bundle patch points the
web capability at the hub; remove the bundle and the composition falls back to your previous provider by itself.
Tested against
| |
|---|
| DeepSeek Harness | 0.1.1-rc.2 (web profile) |
GLM Coding Plan (zai adapter) | real searches verified against https://api.z.ai/api/paas/v4 (and the /api/coding/paas/v4 variant), structured sources returned |
DeepSeek official (anthropic adapter) | same wire format as the stock provider |
Kimi Coding (anthropic template) |