flg1217/dsh-web-search-openai ↗★ 1
@dsh-external/dsh-web-search-openai
OpenAI Responses API-backed web search provider for dsh: registers into ctx.web (web_search tool with server-side retrieval), plus a Web settings card for endpoint/model/key. Hot-pluggable — mounted via profile bundle patch, no dsh source changes.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:flg1217/dsh-web-search-openai说明文档
阅读完整 README ↗三、使用
- 在 dsh Web 设置 → 搜索 → Web 搜索 卡片里填好端点 / 模型 / API Key(或让插件读环境变量
OPENAI_API_KEY)。 - 把 web 通道的
searchProvider切到openai(profile 的cordis.patch.yml里web.searchProvider,或设置面板切换)。
默认值:
| 项 | 默认 |
|---|---|
| 端点 | https://api.openai.com/v1(/responses 自动追加) |
| 模型 | gpt-5.6-luna |
| 最大输出 tokens | 2048 |
| 检索上下文 | medium |
| API Key | 插件 config apiKey → 环境变量 OPENAI_API_KEY → 不可用 |