JayLi52/dsh-web-search-doubao0

dsh-web-search-doubao

Doubao feedcoop global_search provider for the DeepSeek Harness web capability seam (ctx.web)

AI 분석

核心用途是为 DSH 引入豆包搜索引擎。适合需要高质中文联网搜索、获取最新资讯的对话任务。使用前需在配置文件中提供 feedcoop 授权 Token。

패키지
dsh-web-search-doubao
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 15.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JayLi52/dsh-web-search-doubao

配置

安装只完成"挂载",还要做两件事:给 token切换选择。编辑 $DSH_HOME/profiles/web/cordis.patch.yml(Windows 上通常是 C:\Users\\.dsh\profiles\web\cordis.patch.yml):


#    方式 A:直接写进配置
- id: web-search-doubao
  name: dsh-web-search-doubao
  config:
    apiKey: 

## 配置项

| 字段 | 默认值 | 说明 |
|---|---|---|
| `apiKey` | `''` | Bearer token;为空时回退读取 `$`。两者皆空 → 提供方不可用 |
| `apiKeyEnv` | `DOUBAO_SEARCH_API_KEY` | 存放 token 的环境变量名 |
| `baseURL` | `https://open.feedcoopapi.com` | API 基址 |
| `docCount` | `10` | 请求未带 `maxResults` 时的默认 `DocCount` |
| `maxSnippetLength` | `300` | 每条结果的摘要长度上限(对应 API 的 `MaxSnippetLength`) |