Xiangliuy/dsh-web-search-bing-rss

Xiangliuy★ 0JavaScript最后同步: 2026-08-19

在 GitHub 打开

免费、无需 API Key 的 Bing RSS 联网搜索插件,供 DeepSeek Harness (DSH) 的大模型使用

README 摘要

dsh-web-search-bing-rss 免费、无需 API Key 的 Bing RSS 联网搜索插件,供 DeepSeek Harness (DSH) 的大模型使用。 工作原理 本插件注册一个 bing-rss 搜索 provider 到 DSH 的 ctx.web 能力层(web capability seam)。大模型调用 web search 工具时, ctx.web.search() 会选中此 provider,向 Bing 的公开 RSS 端点 https://www.bing.com/search?q= &format=rss 发送请求,解析返回的 RSS 2.0 XML,归一化为 WebSearchResult ( sources[] 含 url 、 title 、 snippet 、 publishedAt )。 无需 API Key :Bing 的 ?format=rss 端点是公开的,不要求认证。provider 的 available() 始终返回 true ,因此当没有配置 DeepSeek 官方搜索 provider(或其 API Key 不可用)时, ctx.web 自动选中此 provider—— web search 开箱即用。 与官方 DeepSeek 搜索 provider 的关系 特性 DeepSeek 官方 ( web-search-deepseek ) Bing RSS ( web-search-bing-rss ) 需要 API Key ✅ DEEPSEEK API KEY ❌ 无需 搜索质量 高(DeepSeek 模型 + 原生 web search) 中(Bing RSS 有机结果,约 3-10 条) 延迟 一次完整模型调用 一次 HTTP 请求( 200ms) 成本 消耗 token 免费 自动选中条件 available() 需要 API Key available() 始终 true 自动降级 :当 DeepSeek provider 没有 API Key 时( available() 返回 false ), ctx.web 的 provider 选择逻辑只找到 Bing RSS 一个可用 provider,自动选中它。当两者都可用时,设置环境变量 DSH WEB SEARCH PROVIDER=bing-rss 可强制使用 Bing RSS。 文件结构 安装方式 方式一:Agent Preset(推荐) 将插件安装为 DSH agent preset,在新建会话的预设选择器中选择「Bing RSS 搜索」。 安装脚本会: 1. 将 entry.mjs 和 provider.js 复制到 /.dsh/.agent-presets/bing-rss-search/ 2. 将 agent.cordi…

在 GitHub 查看完整 README →
搜索bing-rssdeepseek-harnessdsh-pluginweb-searchsearch

分类