MirrMeur/dsh-tavily-provider ↗★ 0
dsh-tavily-provider
Tavily-backed web_search / web_fetch providers for DeepSeek Harness — replaces the built-in DeepSeek search backend. 适合希望替换默认检索链路的用户,需在 profile 配置中提供 Tavily key 或凭证映射。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MirrMeur/dsh-tavily-providerREADME
Read the full README ↗配置
全部可选,写在 profile 的 cordis.patch.yml 里,按 entry id 定位:
- id: tavily-provider
config:
maxResults: 5 # 1..20,web_search 未显式传 maxResults 时的默认值
searchDepth: basic # basic | advanced
topic: general # general | news
apiKeyEnv: TAVILY_API_KEY # 凭证名;默认就是它
apiKey: # 一般不填:明文落盘,优先级最高
baseURL: https://api.tavily.com
API key 解析顺序:apiKey 字面量 → 凭证服务 ctx.get("credentials").resolve(apiKeyEnv)
(即 ~/.dsh/.credentials.yaml 里的 TAVILY_API_KEY)→ 进程环境变量 TAVILY_API_KEY。
都没有时走 Tavily keyless(匿名限额,够轻量用)。