DeepSHPlugins
dsh-web-search-tavily 项目预览
GITHUB / COMMUNITY PROJECT

dsh-web-search-tavily

工具与集成JavaScriptMIT

dsh-web-search-tavily:基于 Tavily 的 WebSearchProvider——让 dsh 的 web_search 工具完全跑在 Tavily 上,无需 DeepSeek API key。

4 Starscrayonlu 更新时间 2026-08-13
访问 GitHub 仓库
dsh-web-search-tavily 项目预览

项目介绍

中文

dsh-web-search-tavily:基于 Tavily 的 WebSearchProvider——让 dsh 的 web_search 工具完全跑在 Tavily 上,无需 DeepSeek API key。

English

A Tavily-based WebSearchProvider — runs dsh's web_search tool entirely on Tavily, no DeepSeek API key needed.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
crayonlu
仓库
crayonlu/dsh-web-search-tavily
GitHub Stars
4
Forks
1
开发语言
JavaScript
许可证
MIT
最近推送
2026-08-13
Manifest
未检测到 / 未记录

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

57/ 100
维护活跃
80
文档与实用信息
78
生态关注度
26
安装便捷信号
60
项目声明信号
100

关注度尚低(4)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

git clone https://github.com/crayonlu/dsh-web-search-tavily.git

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

@crayonlu/dsh-web-search-tavily

Tavily-backed WebSearchProvider for the DeepSeek Harness web capability seam (ctx.web). Lets dsh's web_search tool run entirely on Tavily — no DeepSeek API key required.

Install

dsh plugin --profile web add github:crayonlu/dsh-web-search-tavily

Then add the provider to the profile patch layer at $DSH_HOME/profiles/web/cordis.patch.yml (hot-reloaded — no restart needed):

- insert:
  - id: web-search-tavily
    name: '@crayonlu/dsh-web-search-tavily'
- id: web
  config:
    searchProvider: tavily
# Optional: drop the DeepSeek-backed search (and chat route) entirely.
- id: web-search-deepseek
  disabled: true
- id: llm-deepseek
  disabled: true

Configuration

Every field is optional:

FieldDefaultMeaning
apiKey—Literal Tavily key (write it here instead of apiKeyEnv only if you must; it lands in a config file).
apiKeyEnvTAVILY_API_KEYCredential reference resolved per search through ctx.credentials (inherited env > $DSH_HOME/.credentials.yaml > project/user .env).
baseURLhttps://api.tavily.comEndpoint base; /search is appended.
maxResults5Default result count when a request carries no maxResults.
includeAnswertrueCarry Tavily's generated answer as the search result content.
searchDepthbasicbasic or advanced (Tavily's search_depth).

The key resolves once per search, so an empty TAVILY_API_KEY fails the request with WEB_MISSING_CREDENTIAL rather than falling through to an unrelated credential.

Tests

npm install
npm test

Unit tests mock the HTTP layer; the smoke test runs a real Tavily search when TAVILY_API_KEY is set.

License

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目