killcerr/dsh-web-search-order0

dsh-web-search-order

DSH plugin: ordered web-search provider fallback (omp-style webSearchOrder) over the providers already registered in ctx.web

包名
dsh-web-search-order
版本
0.1.0
许可证
MIT
最近更新
2026年9月12日

安装

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

配置

写在 ~/.dsh/settings.yaml,热生效,不用重启:

web-search-order:
  order: [exa, deepseek-official]
  exclude: []
  timeoutSeconds: 20
  fallbackOnEmpty: true
默认说明
order[]提供方 id,越靠前越优先。没点名到的按注册顺序接在后面;空数组就是注册顺序。没装(认不出)的 id 会被忽略,只提示一次。
exclude[]永不尝试,优先级高于 order
timeoutSeconds20单次尝试的预算,见下节。
fallbackOnEmptytrue既没有 sources 也没有回答文本时当作未命中,换下一个。设 false 则原样返回空结果。

同一组键也可以写在 patch 的行 config 里。优先级是 schema 默认值 < 行 config < settings.yaml