herminger/dsh-web-search-responses
herminger★ 0JavaScript最后同步: 2026-08-14
DSH ctx.web search provider that reuses the conversation model's OpenAI Responses built-in web_search
README 摘要
dsh-web-search-responses A DeepSeek Harness (DSH) ctx.web search provider that reuses the conversation model's OpenAI Responses built-in web search tool, instead of DSH's built-in Anthropic Messages search provider. Why DSH's model-facing web search goes through dsh-tool-web → ctx.web.search() → a registered search provider. The shipped web-search-deepseek provider only speaks the Anthropic-compatible /messages API with web search 20250305 , so a custom model whose Responses endpoint supports built-in web search cannot be reused by configuration alone. This plugin registers a provider ( responses-web ) that sends a Responses API request to the same endpoint the conversation model uses, with: It parses the web search call item and message citations back into DSH's standard WebSearchResult . Install From GitHub (recommended) Requires pnpm on PATH: If you previously installed a local link copy and want to switch to the GitHub source: From a local checkout Quick test without pnpm (keep overlay.patch.yml next to index.mjs , or use an absolute path): Then fully restart dsh web so the new bundle loads. Configuration The provider auto-follows the current model by default: - provider/model …
在 GitHub 查看完整 README →