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 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案