DSH Plugins
返回列表
dsh-llm-commandcode

dsh-llm-commandcode

模型推理 更新于 2026.09.04

在终端中运行以下命令:

dsh plugin install NOirBRight/dsh-llm-commandcode

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 中通过 dsh plugin install NOirBRight/dsh-llm-commandcode 安装该插件,源码见 https://github.com/NOirBRight/dsh-llm-commandcode

插件介绍

DeepSeek Harness ships with a fixed set of built-in inference channels, but dsh-llm-commandcode adds a dedicated Command Code Provider API route so you can plug chat, tool use, and streaming reasoning into Command Code's official endpoints without swapping the host.

Three capabilities stand out. First, full chat protocol support through DSH PiAiAdapter: claude-family models speak Anthropic Messages while every other model speaks OpenAI Chat Completions, with SSE, tools, attachments, and reasoning all flowing over the same pipe. Second, model discovery and catalog management: one click pulls the Go / Pro / Provider+ layered model list, with drag-to-reorder, context-window overrides, and official effort selectors per row. Third, credential and quota handling: the API key lives exclusively in the Host credentials service, and account quota (plan, credits, 5-hour and weekly windows) is shown on a best-effort basis that never blocks a chat request. An optional zero-data-retention toggle appends x-cmd-zdr: 1 at the request level.

It is built for developers who already hold a Command Code API key and want it as a day-to-day inference backend inside DeepSeek Harness, as well as teams that need multiple providers side by side and want to swap models or protocols per task. In headless mode the Host route works with no Web UI required; in a Web setup, pairing the plugin with dsh-llm-providers-ui unlocks the full Settings card experience.

截图预览

使用场景

  • 在 DeepSeek Harness 中接入 Command Code 模型作为日常推理后端
  • 按任务在 Anthropic Messages 与 OpenAI Chat Completions 协议间切换
  • 多 Provider 并排部署,随时拉取模型目录并调整 context 与 effort 参数

适合人员

  • 已持有 Command Code API Key 的开发者
  • 需要多推理渠道并排的 AI 应用团队
  • 在 Harness 内统一管理凭据与账户配额的运维人员