# Configure OpenAI Responses Web Search for DSH

Introduction

When building agents with web capabilities in DeepSeek Harness (DSH), the web profile requires a clear search backend: either through the search tools built into each model from your subscription, or through an OpenAI Responses API-compatible gateway. If gateway addresses, credentials, and model names are scattered across environment variables or scripts, it’s easy to have mismatches when switching environments or models. Below we introduce the community plugin dsh-openai-responses-web-search (maintainer: vb2250158, category: Model Inference), which consolidates the Responses service’s baseURL, API Key environment variable name, and model ID into profile configuration, and works with DSH 0.2’s model-native search routing.

What Is This

dsh-openai-responses-web-search is a configurable OpenAI Responses API provider for DSH’s web search functionality. The plugin provides DSH with web search capabilities through services that are compatible with the OpenAI Responses API.

The display name in the list switches according to the DSH interface language: English Responses web search, Chinese Responses 联网搜索 (see locale/en.json and locale/zh.json in the repository). The current npm package version is 0.1.5, license MIT. GitHub stars: 0 (based on directory page information).

This release requires DSH 0.2.1-alpha.1 or compatible 0.2 series; see docs/dsh-0.2-compatibility.md in the repository for details.

Core Features

Responses Backend

Configure the plugin id openai-responses-web-search in your profile:

  • baseURL: The root address of the Responses-compatible service (in the example: https://api.example.test/v1)
  • apiKeyEnv: The environment variable name for reading the API Key (in the example: OPENAI_API_KEY)
  • model: The model ID used for requests

The above fields are written in private profile configuration; the public README and examples do not contain real addresses or credentials.

Integration with web Profile’s searchProvider

Set searchProvider in the configuration block with id web:

  • model-native (recommended usage in the README): Selects the service based on the current session making the tool call. For codex, grok, and claude routes, it uses the native search provided by Subscriptions 0.7.16, adopting the current model ID and corresponding subscription login; for other routes, or calls without an associated session, it uses the explicitly configured Responses service above.
  • openai-responses: Always uses the Responses backend, without using route native search.

The optional nativeProviders specifies which subscription routes participate in native search; by default, all three (codex, grok, claude) are enabled. If native services are missing or not logged in, it will fail explicitly and will not automatically fall back to the gateway.

HTTP errors preserve the service address and status code; for 502 errors, the README suggests checking the upstream connectivity of the search gateway and whether it supports web_search. For Grok and Claude native protocols, you can refer to xAI Web Search and Claude Web Search respectively.

Installation and Activation

After locking a commit from the public repository, install through the official DSH entry point (commands from the repository README, replace <commit> with the actual commit hash):

pnpm dsh plugin --profile web add github:vb2250158/dsh-openai-responses-web-search#<commit>

Before installation, it is recommended to review the repository source code and LICENSE to confirm that the plugin will run with the current dsh process permissions, and that the apiKeyEnv in the configuration points to an environment variable you trust.

Typical Configuration Example

First write the Responses provider in a private profile, then specify the search strategy for the web profile. The following snippet is consistent with the README and serves as a structural reference only:

- id: openai-responses-web-search
  config:
    baseURL: https://api.example.test/v1
    apiKeyEnv: OPENAI_API_KEY
    model: your-model

- id: web
  config:
    searchProvider: model-native

If you want to always use the Responses gateway, simply change searchProvider to openai-responses.

Verification and Release Checks

The maintainer performs basic verification within the repository using the following commands (consistent with the README):

pnpm test
npm pack --dry-run

The plugin test script is node --test tests/*.test.mjs (see package.json).

Use Cases and Notes

Who it’s for: Developers already using the web profile in DSH 0.2.x with an OpenAI Responses-compatible search gateway (or planning to mix with codex/grok/claude native search).

Notes:

  1. Requires DSH 0.2.1-alpha.1+ (or compatible 0.2); compatibility with older Harness versions is not guaranteed.
  2. Under model-native, the native path depends on Subscriptions 0.7.16 and corresponding login; it will not silently switch backends on failure.
  3. The community plugin directory SkillHub is an independent site with no official affiliation with DeepSeek / 幻方; the installation source is based on the GitHub repository and the above installation command.

Conclusion

dsh-openai-responses-web-search consolidates the configuration of Responses web search into the profile and divides labor with model-native routing, reducing manual switching between “the same set of web tools, multiple backends.” For details, you can refer to the directory page and the repository README.

  • Directory page: https://www.skillhub.cn/plugins/vb2250158/dsh-openai-responses-web-search
  • GitHub: https://github.com/vb2250158/dsh-openai-responses-web-search
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye