SZMY-haruhi/dsh-tavily 预览 preview

SZMY-haruhi/dsh-tavily

为DSH新增Tavily搜索API,作为其网页搜索服务提供商。

项目介绍Project Overview

dsh-tavily 是 DeepSeek Harness 的 Tavily 网页搜索插件,作为其网页搜索服务提供商。在设置中开启 Tavily 开关后,web_search 调用切换到 Tavily:未填 Key 走 keyless 模式,填写 Key 走账号档请求。支持连通测试、超时与中止处理,并锁定官方 Host。0.3.0 曾因 settings.plugin.item 配置问题导致与其他客户端插件共同安装时 Web 卡在加载失败,请升级至 0.3.1。

dsh-tavily is a DSH plugin that provides Tavily as a web search backend for DeepSeek Harness. When enabled in settings, web_search calls Tavily: keyless mode without an API key, or authenticated account mode with a Tavily key. It includes a connectivity test, timeout and abort handling, and locks the official Tavily host. Version 0.3.0 caused Web to stall on "Failed to load plugins" when installed alongside other client plugins due to incorrect settings.plugin.item fields; users should upgrade to 0.3.1.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add dsh-tavily

SZMY-haruhi/dsh-tavily 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-tavily

中文 | English

awesome · DSH plugin 推荐 dshfind

DeepSeek Harness 的 Tavily 网页搜索。作为其网页搜索服务提供商。

安装

npm(稳定版,官方推荐):

dsh plugin --profile web add dsh-tavily

也可以跟 GitHub(跟仓库最新提交):

dsh plugin --profile web add github:SZMY-haruhi/dsh-tavily

设置 → 插件 → 插件配置 → Tavily 网页搜索:打开开关即可。Key 可选,不填走无 Key。左下「连通测试」可确认现在能不能搜(无 Key 也测得通)。

请更新到 0.3.1。 0.3.0 在和其它客户端插件一起装时,可能让整个 Web 停在「Failed to load plugins」(设置卡按 list 槽注册,当前 DSH 要求 keyed key)。已修复。npm:

dsh plugin --profile web update dsh-tavily

GitHub 安装则再执行一次 add github:SZMY-haruhi/dsh-tavily

Tavily 网页搜索设置:无 Key 时连通测试通过

钉 commit:

dsh plugin --profile web add github:SZMY-haruhi/dsh-tavily#<commit>

卸载:

dsh plugin --profile web remove dsh-tavily

dsh.bundle · 预构建 lib/ · git 安装无需 allowBuilds

特点

  • 设置卡开关:关 = 官方 DeepSeek,开 = Tavily,不用卸包
  • 无 Key 走 Tavily keyless;有 Key 走 Authorization: Bearer
  • 左下连通测试:真打一次 Tavily(max_results: 1);无 Key 走 keyless,有 Key 走账号档(消耗 1 积分)
  • 超时、中止、官方 Host 锁定、丢掉无 url 的结果
  • Key / 开关写在 credentials,不写设置文件

行为

开关 Key web_search
关(默认) 官方 DeepSeek
未填 Tavily keyless
已填 Tavily 账号档

Provider id:tavily

凭证

引用 含义
TAVILY_API_KEY 可选。有则走账号档;无则 keyless
TAVILY_SEARCH_ENABLED 有此项则为开;删除即关

可写在 $DSH_HOME/.credentials.yaml。不要把真实钥匙提交进仓库。

更新

  • 2026-08-17 0.3.1(请更新) 修复:与其它客户端插件同时安装时,Web 可能卡在「Failed to load plugins / dsh-tavily」(settings.plugin.itemkey,不能再用 id/order)。设置卡命名空间 web-search-tavily,不覆盖官方网页搜索卡。开关与 Key 仍走 credentials。
  • 2026-08-17 设置卡左下增加连通测试。无 Key 也可测(走 Tavily keyless);有已存 Key 则走账号档,消耗 1 积分。不改开关、不占用保存。

Author

tonkatsu258

感谢star❤️ tonkatsu258 · 个人网站

上一个 Prev dsh-boot-guard 下一个 Next dsh-plugin-omoslim