herminger/dsh-web-search-responses ↗★ 0
dsh-web-search-responses
DSH 网页搜索提供商:复用当前会话模型的 OpenAI Responses web_search 工具来进行网页检索。
AI 分析
核心用途是让 DSH 能够直接复用当前模型自带的 OpenAI 格式搜索工具,适合需要免配置、直接利用已有模型通道进行联网搜索的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:herminger/dsh-web-search-responses说明文档
阅读完整 README ↗Configuration
The provider auto-follows the current model by default:
- provider/model come from the executing agent, the DSH default model, or the single configured
llm-pi-aiResponses route baseURL,apiKeyEnv, andapicome from that route'sllm-pi-aisettings
To pin a route explicitly, edit the profile's cordis.patch.yml:
- id: web-search-responses
config:
provider: cpa
| Field | Meaning | Default |
|---|---|---|
provider | llm-pi-ai route to reuse | current model route |
model | model for the search request | current model |
baseURL | Responses endpoint prefix (/responses is appended) | route baseURL |
apiKeyEnv | credential reference, e.g. CPA_API_KEY | route apiKeyEnv |
includeSources | send include: ["web_search_call.action.sources"] | false |
searchContextSize | low / medium / high | unset |
toolChoice | { type: "web_search" } or "required" | { type: "web_search" } |
maxOutputTokens | output token cap for the search request | 4096 |