brilliant751/dsh-web-search-litellm ↗★ 0
@brilliant751/dsh-web-search-litellm
基于 LiteLLM /v1/search 接口的 DSH 联网搜索提供方插件。
AI 分析
核心用途是利用自建或第三方的 LiteLLM 搜索服务为 DSH 提供单次 HTTP 请求的快速联网搜索能力。适合拥有 LiteLLM 搜索网关、希望替换默认搜索后端以提高检索效率的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:brilliant751/dsh-web-search-litellm說明文件
閱讀完整 README ↗Configuration
Defaults live in cordis.patch.yml:
| Key | Default | Meaning |
|---|---|---|
baseURL | https://your-litellm.example.com/v1 | LiteLLM base; /search is appended. OpenAI-compatible base, not the Anthropic passthrough. |
apiKeyEnv | DEEPSEEK_API_KEY | Credential reference, resolved per search through ctx.credentials (the Models page writes it), then the environment. |
searchToolName | google | The 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).