coderdailyone/dsh-plugin-web-search-tavily ↗★ 0
dsh-plugin-web-search-tavily
Tavily search provider bundle for DeepSeek Harness (dsh): registers a WebSearchProvider into ctx.web
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:coderdailyone/dsh-plugin-web-search-tavily说明文档
阅读完整 README ↗dsh-plugin-web-search-tavily
English | 中文
DeepSeek Harness(dsh)的社区 Tavily 搜索 provider。它向 ctx.web 能力接缝注册一个 WebSearchProvider,让自带的 web_search 工具由 Tavily 提供服务,而不触碰任何模型面 schema。
以 dsh bundle 形式分发:装进 profile 时自动插入插件行。
安装
dsh plugin --profile web add dsh-plugin-web-search-tavily
API key 经环境变量提供(TAVILY_API_KEY,可放在 $DSH_HOME/.env),或写进插件配置。当组合里有多个可用搜索 provider 时,用 $DSH_WEB_SEARCH_PROVIDER=tavily 或在 profile 的 cordis.patch.yml 里给 web 行钉 searchProvider 来指定选择;Tavily 是唯一可用 provider 时自动选中。
先不启动验证组合,再启动:
dsh --profile web --dump-config # 应出现 "# == dsh-plugin-web-search-tavily" 层
dsh --profile web
配置
在 profile 的 cordis.patch.yml 里 patch web-search-tavily 行即可覆盖任意字段(patch 替换整个 config 值——保留的字段要重述):
| 键 | 默认 | 含义 |
|---|---|---|
apiKey | $TAVILY_API_KEY | Tavily API key。为空时 provider 注册但不可用。 |
baseURL | https://api.tavily.com | 端点基址;/search 由本包追加。 |
searchDepth | basic | Tavily 的 search_depth。advanced 返回更丰富的摘要,额外计费。 |
topic | general | Tavily 的 topic 垂直类目(general 或 news;news 会填充 publishedAt)。 |
includeAnswer | true | 请求 Tavily 生成的答案;作为搜索结果的 content 呈现。 |
numResults | (缺省) | 请求未携带 maxResults 时的默认结果数。工具层上界始终由接缝强制执行。 |
- id: web-search-tavily
config:
searchDepth: advanced
includeAnswer: false