DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Web Search Litellm — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-web-search-litellm

Web Search Litellm

通过 LiteLLM 代理 OpenAI Responses API 为 DeepSeek Harness ctx.web seam 提供网页搜索:通过您的代理使用 DeepSeek 原生的服务器端 web_search。修复 web_search“Authentication Fails, Your api key is invalid”(DEEPSEEK_API_KEY 是一个

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-web-search-litellm@0.2.4
README兼容性版本

兼容性与来源证明

Web Search Litellm 以 dsh-web-search-litellm 发布,当前版本为 0.2.4。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.2.4stable
2026/9/10
0.2.3stable
2026/9/9
0.2.2stable
2026/9/9
查看其余 5 个版本收起版本
0.2.1stable
2026/9/9
0.2.0stable
2026/9/9
0.1.2stable
2026/9/1
0.1.1stable
2026/8/31
0.1.0stable
2026/8/31

相关插件

正在加载相关插件…

最新版
0.2.4
DSH
*
HMR
重启进程
Tree shaking
已声明 sideEffects: false
解包体积
42.5 kB
文件数
7
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
352
安全扫描
✓ v0.2.4 扫描通过
最近提交
2026/9/9
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 search-research 分类下经过校验的插件。

Browser Skill Dsh Plugin@wxg-prc-cpg/browser-skill-dsh-plugin向模型提供 BrowserSkill 浏览器自动化(browser_* 工具)的 DeepSeek Harness 工具插件Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Free Searchdsh-free-searchDeepSeek Harness 的免费网页搜索:13 个引擎(Bing/DuckDuckGo/AnySearch/SearXNG/Exa/Tavily/Keenable/Firecrawl 无需密钥;Parallel/Perplexity/SerpBase/DeepSeek 需要密钥),支持时间筛选、平台搜索和 web_fetch,并提供网页设置界面。Find Plugindsh-find-plugin在代理中查找 DeepSeek Harness 插件——实时搜索 GitHub 上的 dsh-plugin 主题,并按星标数排序。

README

dsh-web-search-litellm

DSH web_search provider over the LiteLLM proxy using the OpenAI Responses protocol. The request carries the server-side web_search tool, executed natively by the DeepSeek Responses API; the grounded answer and the real URLs the model opened are returned to the harness web seam (ctx.web).

  • No Anthropic protocol — speaks POST {baseURL}/responses, not /messages.
  • No new keys — reuses the LITELLM_API_KEY credential your chat Models page already stores.
  • No third-party search service — search runs on DeepSeek's official server side, billed through your existing LiteLLM route.
  • Fully configurable in the Settings UI (web-search-litellm section).

简介 / 快速上手(中文)

这是 DeepSeek Harness ctx.web 能力的联网搜索提供方:web_search 请求走 OpenAI Responses 协议发往你的 LiteLLM 代理,由 DeepSeek 官方 Responses API 在服务端原生执行搜索,返回带真实来源 URL 的答案。

  • 不需要 Anthropic 协议,也不需要新的 API Key——直接复用聊天模型页已配置的 LITELLM_API_KEY。
  • 不接任何第三方搜索服务;搜索在 DeepSeek 官方服务端完成,走你现有的 LiteLLM 计费路由。
  • 安装:dsh plugin --profile <name> add dsh-web-search-litellm,然后在 profile 的 cordis.patch.yml 里把 web 的 searchProvider 设为 litellm-responses(详见下方英文说明)。
  • 常见症状:web_search 报 Authentication Fails, Your api key is invalid,且你的 DEEPSEEK_API_KEY 其实是 LiteLLM 代理 key——装这个插件并把 baseURL 指向代理即可。

何时使用 / When to use

Pick this provider when any of these is your situation:

  • web_search fails with Authentication Fails, Your api key: ****XXXX is invalid — usually because DEEPSEEK_API_KEY holds a LiteLLM proxy key, not a DeepSeek platform key.
  • All company traffic must go through LiteLLM (direct api.deepseek.com is blocked or forbidden).
  • You prefer the OpenAI Responses protocol over the Anthropic /messages format.
  • You want no free-tier / third-party search service (Tavily, Brave, Exa, …) — search stays on DeepSeek's official server side.
  • You use openai/deepseek-v4-flash or openai/deepseek-v4-pro through a LiteLLM proxy as your main model.

Install

dsh plugin --profile <name> add dsh-web-search-litellm
# or from a local checkout:
dsh plugin --profile <name> add ./dsh-web-search-litellm

Then route the seam (profile cordis.patch.yml):

- id: web
  config:
    searchProvider: litellm-responses

# optional: disable the shipped Anthropic-format DeepSeek provider
- id: web-search-deepseek
  disabled: true

Restart the profile (desktop: Settings → Desktop settings → Restart, or quit and reopen).

Configuration

Settings section web-search-litellm (harness Settings UI) or the bundle patch config:

Configuration — derive, don't hardcode

Every endpoint/model field is optional. When unset, the provider derives its values from dsh's active model configuration (the same provider the chat uses), so it works on any machine without baking in a proxy URL or model:

  • baseURL ← the active provider's baseURL (the chat's gateway).
  • apiKeyEnv ← the active provider's apiKeyEnv.
  • model ← the active model's id.
  • candidateModels ← the active provider's full models[] list, so discovery can race every model on that gateway and latch onto the first that actually runs web_search.

Only set a field here to override the derived value (e.g. to force a specific search model).

keydefaultmeaning
baseURLderived → $LITELLM_SEARCH_BASE_URL → http://127.0.0.1:4000/v1LiteLLM proxy root; /responses is appended
modelderived (active model)starting model id; the first pick
candidateModelsderived (active provider models[])fallback pool raced in parallel when the active model fails to actually run web_search; the fastest searcher wins and is cached
apiKeyEnvderived → LITELLM_API_KEYcredential reference resolved at each search
apiKey—optional literal key (secret role)
maxTokens4096max_output_tokens for one search request
timeoutMs60000connect deadline + idle deadline for the response stream; resets whenever data arrives, so slow-but-active searches are never cut off (WEB_TIMEOUT only on real stalls)

How it works

  1. The model calls web_search with a query string.
  2. This provider POSTs to {baseURL}/responses with tools: [{"type": "web_search"}], stream: true.
  3. The LiteLLM proxy forwards the call; DeepSeek executes the search server-side and feeds results to the model.
  4. The provider parses the SSE stream: the final output_text becomes the result content, and every web_search_call item whose action is open_page contributes its URL to sources.

Session compatibility (why this plugin writes no custom session events)

This plugin appends no session events of its own. The harness reads session logs fail-closed: any event type outside the build's KNOWN_SESSION_EVENT_TYPES catalog aborts loading unless the event envelope carries ignorable: true. A third-party type can never be in that catalog, and the public session.append API offers no way to set ignorable, so a custom log-only event here would make older harness builds refuse to open any session this plugin ran in. Searches are still fully visible in the session through the standard web_search tool call/result events.

Known upstream limits (not configuration issues)

  • DeepSeek's Responses API documents include as not supported, so structured result items are consumed server-side; sources therefore carry url only (no title/snippet).
  • Each search costs one DeepSeek model turn (official mechanism).

License

MIT