zyfgood/dsh-web-search-tavily ↗★ 0
dsh-web-search-tavily
DeepSeek Harness 插件:把 web_search 的搜索后端从 DeepSeek 云(每次搜索 = 一次完整模型调用)换成 Tavily API(免费 1000 次/月),支持多 key 轮换 适合希望降低搜索成本、使用专业搜索API获取结果的用户。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zyfgood/dsh-web-search-tavilyREADME
Read the full README ↗安装前设置密钥环境变量(也可装后再设,重启前配置好即可)
export TAVILY_API_KEY=tvly-xxx # Windows: 写入 %USERPROFILE%/.dsh/.env
dsh plugin --profile add "github:zyfgood/dsh-web-search-tavily#main&path:/"
配置项
| 配置项 | 类型 | 默认 | 说明 |
|---|---|---|---|
apiKey | string | $TAVILY_API_KEY 兜底 | 支持 env:VAR 引用;逗号分隔多 key 轮换;空 → provider 不可用 |
baseURL | string | https://api.tavily.com | 可换自建网关(/search 自动拼接) |
searchDepth | basic | advanced | basic | advanced = 重排序,2 credits/次 |
maxResults | number | Tavily 默认 | 请求未带 maxResults 时的默认条数 |
includeAnswer | boolean | false | 是否要 Tavily 生成答案(映射到结果 content) |