1parado/dsh-deepseek-web-search ↗★ 0
dsh-deepseek-web-search
DeepSeek 网页版(chat.deepseek.com)搜索提供方:用网页账号 userToken 把联网搜索接入 DSH 的 ctx.web seam,内置 web_search 工具无需改动。 利用网页端Token实现联网搜索,适合需要免费且高质量联网检索服务的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:1parado/dsh-deepseek-web-search配置
写在 profile 的 cordis.patch.yml,或用 $DEEPSEEK_WEB_ORIGIN 覆盖端点:
- id: deepseek-web-search
name: 'dsh-deepseek-web-search'
config:
reuseSession: true
requestTimeoutMs: 120000
| 字段 | 默认 | 说明 |
|---|---|---|
userToken / cookie | — | 字面值,优先级最高 |
userTokenEnv / cookieEnv | DEEPSEEK_WEB_USER_TOKEN / _COOKIE | 环境变量名 |
credentialsFile | $DSH_HOME/deepseek-web-search/credentials.json | 凭证文件 |
origin | https://chat.deepseek.com | 非 https 只允许指向本机 |
clientVersion | 2.4.0 | x-client-version,上游改版后可能要跟着改 |
model | default | default 或 expert |
thinking | false | thinking_enabled |
includeAnswer | false | 是否把上游整轮回答作为 content 返回 |
stopAfterResults | true | 拿到结果就断开上游 |
reuseSession | false | 复用 chat session(并发查询只开一个) |
sessionTimeoutMs / requestTimeoutMs / powTimeoutMs | 20000 / 90000 / 90000 | 各阶段超时 |