Models & Providers

dsh-web-search-qwen

umicorn07/dsh-web-search-qwen · ★ 0

umicorn07

Qwen / DashScope Token Plan web search provider plugin for DeepSeek Harness (dsh)

License
MIT
Added
2026-08-17
Maintenance
active
Install kind
github
Manifest details
Manifest status
Not verified
Manifest path
-
Manifest checked
2026-08-19
Lifecycle scripts
None found

Static manifest checks report declarations only; they are not compatibility or security review.

安装

dsh plugin --profile web add github:umicorn07/dsh-web-search-qwen

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

README

Source README · body: en · Read Chinese README

Table of contents
  1. ✨ Features
  2. 📦 Installation & Setup
  3. Option 1: Via DSH Plugin Command
  4. Option 2: Via cordis.patch.yml
  5. ⚙️ Configuration
  6. 📄 License

English | 中文

dsh-web-search-qwen is an open-source web search provider plugin for DeepSeek Harness (dsh).

It connects the web_search capability of DeepSeek Harness to Alibaba Cloud / Qwen Token Plan (DashScope), allowing your Agent to perform real-time internet searches directly using your Token Plan Credits, eliminating unexpected pay-as-you-go billing from DeepSeek's official messages search endpoint.


✨ Features

  • 🚀 Native DSH Integration: Registers directly as a WebSearchProvider (id: qwen-token-plan), seamlessly compatible with standard DSH UI cards and web_search tools.
  • 💰 Cost Effective: Uses your prepaid Qwen Token Plan credits instead of auxiliary DeepSeek official per-token fees.
  • ⚡ Fast & Accurate: Powered by qwen3.6-flash (or qwen3.7-plus) with enable_search: true for swift retrieval and rich structured markdown summaries.
  • 🔒 Secure Credential Management: Resolves keys through DSH credential store (~/.dsh/.credentials.yaml) and ambient environment variables.

📦 Installation & Setup

Option 1: Via DSH Plugin Command

In your DSH profile directory:

dsh plugin add dsh-web-search-qwen

Option 2: Via cordis.patch.yml

In ~/.dsh/profiles/web/cordis.patch.yml:

# 1. Disable default DeepSeek official pay-as-you-go search
- id: web-search-deepseek
  disabled: true

# 2. Insert Qwen Token Plan search provider
- insert:
    - id: web-search-qwen
      name: 'dsh-web-search-qwen'
      config:
        apiKeyEnv: QWEN_TOKEN_PLAN_CN_API_KEY
        model: qwen3.6-flash

⚙️ Configuration

Field Default Description
apiKeyEnv QWEN_TOKEN_PLAN_CN_API_KEY Credential reference resolved from DSH credentials or environment
apiKey (omitted) Optional literal API Key
baseURL https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1 Token Plan endpoint
model qwen3.6-flash Model used for search execution and summarization
systemPrompt (default) Custom search prompt

📄 License

MIT License