返回目录
其他 插件

dsh-web-search-qwen

umicorn07/dsh-web-search-qwen

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

Stars
0
Forks
0
Issues
0
更新
2 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

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

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-web-search-qwen

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

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类其他
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。