D
@bocha-ai/dsh-web-search-bocha
v0.1.0 · 4 天前发布
Bocha-backed WebSearchProvider and installable profile bundle for DeepSeek Harness
README
@bocha-ai/dsh-web-search-bocha
English | 中文
由 Bocha Web Search 支持的 WebSearchProvider 和可安装 Profile 组合包(bundle),用于 DeepSeek Harness。该包注册提供方 ID bocha,调用博查的 POST /v1/web-search 端点,并携带一个 dsh.bundle patch,安装后选择这个提供方。
该包只提供搜索。DeepSeek Harness 继续通过其 web 能力拥有面向模型的 web_search 工具、结果上限、引用、提供方选择和错误呈现。
安装
把组合包安装到 Profile:
sh
dsh plugin --profile web add @bocha-ai/dsh-web-search-bocha
如需检查最终组合配置,可以执行下面的可选命令;它打印配置后就会退出:
sh
dsh --profile web --dump-config
启动 Web 应用只需要执行:
sh
dsh --profile web
API 密钥使用下面任一方式配置即可,不需要同时配置。
方式一:DSH credentials 文档
把密钥存入 $DSH_HOME/.credentials.yaml(通常是 `~/.ds
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- @bocha-ai/dsh-web-search-bocha
- Repo
- git+https://github.com/bocha-ai/dsh-web-search-bocha.git
- Engines
{"node":"^22.19.0 || >=24.0.0"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}