brilliant751/dsh-web-search-litellm0

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

包名
@brilliant751/dsh-web-search-litellm
版本
0.1.0
许可证
MIT
最近更新
2026年8月21日

安装

$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 environment.
searchToolNamegoogleThe LiteLLM search tool to invoke (see GET {baseURL}/search/tools).

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).