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

9router-web-search

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

패키지
9router-web-search
호환성
미검증
Harness peer 범위
^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 调用失败时,是否自动改用内置实现重试