Skip to content

dsh-web-search-baidu

Verified

@baidu-cloud-ai-search/dsh-web-search-baidu · v0.1.1 · MIT

Baidu-backed search provider for the DeepSeek Harness web capability seam (ctx.web)

Install

dsh plugin add @baidu-cloud-ai-search/dsh-web-search-baidu

Confirm the layer applied with dsh --profile default --dump-config — see the install guide.

Source

Published to npm without a public repository. Inspect the package contents before installing.

Creators

Readme

@baidu-cloud-ai-search/dsh-web-search-baidu

English | 中文

百度搜索接入 DeepSeek Harness 的 web 能力接缝ctx.web)的搜索 provider。以 bundle 形式分发:安装后自动注册并生效,无需手写 cordis.patch.yml

安装

dsh plugin --profile web add @baidu-cloud-ai-search/dsh-web-search-baidu

会自动把该 provider 注册进 ctx.web,并把 searchProvider 切换成 baidu

获取 API Key

百度千帆平台开通"百度搜索"(AI Search)服务,获取 API Key,然后设置环境变量:

export BAIDU_API_KEY='BAIDU_API_KEY'

启动 dsh 时会自动读取这个环境变量;也可以在安装时通过 config.apiKey 手动指定,但推荐用环境变量,避免密钥写进配置文件。

检查是否安装成功

dsh --profile web --dump-config

# == @baidu-cloud-ai-search/dsh-web-search-baidu
- id: web-search-baidu
  name: '@baidu-cloud-ai-search/dsh-web-search-baidu'

启动命令

dsh --profile web

卸载

dsh plugin --profile web remove @baidu-cloud-ai-search/dsh-web-search-baidu

会自动移除该 provider,并把 searchProvider 恢复为默认的 deepseek-official