killcerr/dsh-web-search-order ↗★ 0
dsh-web-search-order
DSH plugin: ordered web-search provider fallback (omp-style webSearchOrder) over the providers already registered in ctx.web
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:killcerr/dsh-web-search-order说明文档
阅读完整 README ↗配置
写在 ~/.dsh/settings.yaml,热生效,不用重启:
web-search-order:
order: [exa, deepseek-official]
exclude: []
timeoutSeconds: 20
fallbackOnEmpty: true
| 键 | 默认 | 说明 |
|---|---|---|
order | [] | 提供方 id,越靠前越优先。没点名到的按注册顺序接在后面;空数组就是注册顺序。没装(认不出)的 id 会被忽略,只提示一次。 |
exclude | [] | 永不尝试,优先级高于 order。 |
timeoutSeconds | 20 | 单次尝试的预算,见下节。 |
fallbackOnEmpty | true | 既没有 sources 也没有回答文本时当作未命中,换下一个。设 false 则原样返回空结果。 |
同一组键也可以写在 patch 的行 config 里。优先级是 schema 默认值 < 行 config < settings.yaml。