vitas/dsh-web-search-gateway

Moves DSH web search onto the OpenRouter-compatible gateway you already pay for, with its own search model and price.

Routes the web_search call onto an OpenRouter-compatible gateway so search is billed where your chat already is, at your gateway's price, with a search model configured separately from the chat model. Only the engine behind the search moves: the tool, its schema and its citeable result format stay what dsh-tool-web already provides.

Tools & Capabilities ★ 2
View on GitHub ↗

Install

dsh plugin add dsh-web-search-gateway --profile web

The npm line exactly as the README writes it — its flag order, with add before the profile flag, not the site's usual one; the same README also documents a github: form and a link:$PWD form for a checkout. Restart dsh web once after installing, because the patch and its linked host entry are read at boot; rotating the API key later needs no restart.

Compatibility

Web search is a server tool the gateway must implement for the model you name, and it is not part of the OpenAI-compatible standard, so support is per gateway and per model — the README lists verified combinations per protocol (openai, openrouter). On api.b.ai the cheap models cannot search at all: the request is accepted, the search never runs, and the turn is billed, which is why the search model there must differ from the chat model. Setting dsh-tool-web's searchMaxQueries to 1 caps one tool call at one search instead of the default four.

Details

Alternatives

korosu/dsh-web-search-ddg · hiyms/dsh-web-search-provider · gilsaia/dsh-web-search-doubao

More plugins in Tools & Capabilities

Browse more in Tools & Capabilities

Guides for Tools & Capabilities plugins