yifabunemgshoushi-oss/dsh-9router-web-search ↗★ 0

9router-web-search

用 9router 搜索抓取服务替换内置 web 搜索。 适合需要使用 9router 搜索服务并保留内置回退机制的用户。

包名
9router-web-search
兼容性
待验证
Harness 依赖范围
^0.2.0-rc.2
版本
1.1.0
最近更新
2026年10月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yifabunemgshoushi-oss/dsh-9router-web-search

配置字段

字段默认说明
enabledtrue开启时强制 9router,并把 web 的 provider 选择写回 9router;关闭后不再调用 9router,直接走内置实现
baseUrlhttp://localhost:201289router 服务地址。不要带 /v1,插件自己拼 /v1/search、/v1/web/fetch
apiKey空9router 的 API Key。走 credentials 域存储,不写入设置文件
apiKeyEnvNINEROUTER_API_KEY密钥引用名;apiKey 为空时按此名去 credentials / 环境变量解析
searchModelsearch-combo搜索走 9router 的哪个模型/路由
fetchModelfetch-combo抓取走 9router 的哪个模型/路由
searchTypeweb传给 /v1/search 的 search_type,详见下节
timeoutMs60000单次搜索或抓取的最长等待时间(毫秒)
fallbackToBuiltintrue9router 调用失败时,是否自动改用内置实现重试