dsh-mistral-search
在终端中运行以下命令:
dsh plugin install Burntgogi/dsh-mistral-search
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在终端执行 dsh plugin install Burntgogi/dsh-mistral-search,或在桌面端打开 Plugins → Add plugin 并填入 https://github.com/Burntgogi/dsh-mistral-search 后启用。
插件介绍
DeepSeek Harness 在对话里可以调用 web_search,但你不一定想再维护一套独立的搜索 API 或 Vibe 凭据。dsh-mistral-search 把这一步接到 Mistral 模型自带的联网搜索上:每次查询走一段简短对话,从模型返回里取出搜索结果,让 Harness 照常拿到来源与摘要。
因为 Mistral 没有单独、无模型的搜索接口,插件的设计很直白——把搜索词交给带内置搜索工具的模型,并尽量用 store: false 要求不留存对话。你只需要在凭据库或环境里准备好 Mistral API 密钥;没有密钥时,Harness 会对模型隐藏 web_search,避免误调用。
它适合已经在用 Mistral 计费套餐、又想在 Harness 里开通联网能力的用户。需要留意:联网会消耗 Mistral 额度,搜索结果可能含提示注入风险,敏感工作建议关闭或选用需审批的权限;部分话题可能被 Mistral 拦截,且失败时不会自动切换到其他搜索引擎。
使用场景
- 在 Harness 对话里需要查最新网页信息,又不想单独接搜索服务
- 已有 Mistral 组织密钥,希望 Harness 的 web_search 走 Mistral 内置搜索
- 桌面或 Web 版 Harness 想启用社区搜索提供方而非官方 Vibe
适合人员
- 已订阅或按需付费使用 Mistral API 的 Harness 用户
- 愿意自行承担联网费用与安全风险的开发者
- 在 0.2.2-rc.1 及之后版本上配置 cordis 插件的进阶用户