DSH Plugins Marketplace

DSH Plugins

Skills

/

dsh-dashscope-tool-adapter

U

dsh-dashscope-tool-adapter

Manifest valid

dsh-dashscope-tool-adapter

hasBundlePatch

dsh-dashscope-tool-adapter

DSH plugin: adapts DashScope / 阿里云百炼 DeepSeek endpoints that lack native tool calling.

Problem

DashScope's OpenAI-compatible endpoint (https://dashscope.aliyuncs.com/compatible-mode/v1) does not support native tool calling (function calling) for DeepSeek models. When DSH sends tool definitions, the API either ignores them or rejects the request.

Solution

This plugin converts tool definitions into prompt text and parses the model's text response for <|tool_call|> markers. It then constructs standard BlockAssembler-compatible tool-call chunks, which the DSH agent loop executes natively.

  • Non-DashScope providers: untouched, native tool calling works as usual.
  • DashScope providers: tools are described in the system prompt, and the model calls them via text markers.

Installation

dsh plugin add github:Uersx/dsh-dashscope-tool-adapter

Or manually:

dsh plugin --profile web add github:Uersx/dsh-dashscope-tool-adapter

How it works

  1. A systemPrompt.section() injects text-based tool descriptions into the system prompt.
  2. The llm/stream waterfall intercepts only DashScope calls.
  3. The model outputs <|tool_call|>{"name":"...","arguments":{...}}</|tool_call|> in its text.
  4. The plugin parses these markers and constructs standard tool-call-delta / block-end chunks.
  5. The DSH agent loop executes the tools natively.

License

MIT

Comments

Loading…

Similar plugins

dsh-opencode-go-dashboard

by 12398k

dsh-opencode-go-dashboard

Models & ProvidersManifest valid

★ 0

MIT

TypeScript

Sep 19, 2026

dsh plugin --profile web add dsh-opencode-go-dashboard

by Ephemeral-AI-Lab

Make Deepseek Harness Great

Tools & CapabilitiesManifest valid

★ 53

MIT

TypeScript

Oct 26, 2026

dsh plugin --profile web add dsh-codex-terminal

by cocofhu

skillhub of deepseek-harness

Agent skillsManifest valid

★ 12

MIT

TypeScript

Oct 24, 2026

dsh plugin --profile web add skillhub-plugin

by cxdyun

DeepSeek Harness 版本的类 CodeX 插件市场

Manifest valid

★ 4

↓ 290/wk

MIT

TypeScript

Sep 25, 2026

dsh plugin --profile web add dsh-skills-marketplace

by lzszq

dsh-scholar

Tools & CapabilitiesManifest valid

★ 56

BSD-3-Clause

TypeScript

Sep 9, 2026

dsh plugin --profile web add @dsh-scholar/research-plugin

by loadingvx

Deepseek-harness-workbench-plugin

UI & ExperienceManifest valid

★ 35

MIT

TypeScript

Oct 19, 2026

dsh plugin --profile web add dsh-workbench-plugin