crayonlu / dsh-web-search-tavily

목록에 있음

Tavily-backed web search provider for DeepSeek Harness (ctx.web) — no DeepSeek API key required

main모델도구 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:crayonlu/dsh-web-search-tavily

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 99a0bfb동기화 2026. 8. 18.

@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
apiKeyLiteral 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

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

테스트감지됨

저장소 정보

언어
JavaScript
라이선스
MIT
마지막 업데이트
2026. 8. 13. 오후 2:42

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.