yifabunemgshoushi-oss/dsh-9router-web-search ↗★ 0
9router-web-search
用 9router 搜索抓取服务替换内置 web 搜索。 适合需要使用 9router 搜索服务并保留内置回退机制的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yifabunemgshoushi-oss/dsh-9router-web-search说明文档
阅读完整 README ↗配置字段
| 字段 | 默认 | 说明 |
|---|---|---|
enabled | true | 开启时强制 9router,并把 web 的 provider 选择写回 9router;关闭后不再调用 9router,直接走内置实现 |
baseUrl | http://localhost:20128 | 9router 服务地址。不要带 /v1,插件自己拼 /v1/search、/v1/web/fetch |
apiKey | 空 | 9router 的 API Key。走 credentials 域存储,不写入设置文件 |
apiKeyEnv | NINEROUTER_API_KEY | 密钥引用名;apiKey 为空时按此名去 credentials / 环境变量解析 |
searchModel | search-combo | 搜索走 9router 的哪个模型/路由 |
fetchModel | fetch-combo | 抓取走 9router 的哪个模型/路由 |
searchType | web | 传给 /v1/search 的 search_type,详见下节 |
timeoutMs | 60000 | 单次搜索或抓取的最长等待时间(毫秒) |
fallbackToBuiltin | true | 9router 调用失败时,是否自动改用内置实现重试 |