brilliant751/dsh-web-search-litellm ↗★ 0

@brilliant751/dsh-web-search-litellm

LiteLLM /v1/search-backed web search provider for the DeepSeek Harness web capability seam (ctx.web). One search is one HTTP request — no model turn. 适合已部署LiteLLM并需要为其配置轻量化网页搜索的用户。

Package
@brilliant751/dsh-web-search-litellm
Compatibility
Unverified
Harness peer range
^0.1.0-rc.6 || ^0.1.1-rc.1 || ^0.1.2-rc.1
Version
0.1.1
License
MIT
Last updated
Sep 4, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:brilliant751/dsh-web-search-litellm

Configuration

Defaults live in cordis.patch.yml:

KeyDefaultMeaning
baseURLhttps://your-litellm.example.com/v1LiteLLM base; /search is appended. OpenAI-compatible base, not the Anthropic passthrough.
apiKeyEnvDEEPSEEK_API_KEYCredential reference, resolved per search through ctx.credentials (the Models page writes it), then the DSH launch environment.
searchToolNamegoogleThe LiteLLM search tool to invoke (see GET {baseURL}/search/tools).

The package exports a Cordis Config schema, so compatible DSH configuration surfaces can render these fields and keep a literal apiKey redacted. The bundle patch remains the portable source of initial values.

Override any value from your profile's own cordis.patch.yml or a --patch overlay. A patch replaces a targeted row's whole config (it does not merge), so restate the complete config when overriding:

- insert:
    - id: web-search-litellm
      name: '@brilliant751/dsh-web-search-litellm'
      config:
        baseURL: https://your-litellm.example.com/v1
        apiKeyEnv: DEEPSEEK_API_KEY
        searchToolName: google

To switch back to the shipped DeepSeek provider, override web.searchProvider back to deepseek-official (or uninstall this bundle).