DSH Plugins
返回列表
dsh-provider-passport

dsh-provider-passport

模型推理 更新于 2026.09.02

在终端中运行以下命令:

dsh plugin install ArmyWas/dsh-provider-passport

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

在终端执行 dsh plugin install ArmyWas/dsh-provider-passport 安装该插件,源码见 https://github.com/ArmyWas/dsh-provider-passport ,随后在 DeepSeek Harness 的 Settings → Plugins 中即可使用。

插件介绍

A generic OpenAI-compatible connectivity check can light up every green, yet the very first real task in DeepSeek Harness still fails because the endpoint rejects a subtle request-dialect choice: developer versus system, max_completion_tokens versus max_tokens, or flags like store, reasoning_effort, and stream_options.include_usage. dsh-provider-passport closes that last-mile gap. Before your first production call breaks, it runs a bounded, review-first preflight—no more than 10 fixed requests, 1 output token each, 12-second timeout—to discover the minimum compatibility profile the endpoint actually accepts, rather than leaving you to trial-and-error.

The workflow is deliberately conservative. The plugin proposes only the compatibility fields that Harness currently exposes (maxTokensField, supportsDeveloperRole, supportsStore, supportsReasoningEffort, supportsUsageInStreaming), lets you preview each change in the settings panel, and writes them to a single model of your choice. Immediately after, it verifies the result through the real Harness LLM runtime. If verification fails, you cancel, or Harness itself rejects a proposed field during atomic settings validation, the previous configuration is restored automatically and no dirty state is left behind. Credentials and custom headers never leave memory, and the redacted report strips out endpoint URLs, model IDs, request and response bodies before anything is copied.

This plugin is aimed at developers who run self-hosted, enterprise, or third-party OpenAI Chat Completions endpoints behind DeepSeek Harness for inference orchestration. It is not a general API conformance suite, a model-capability prober, or a routing proxy; it owns exactly one job—making sure the request shape Harness sends is one your endpoint will accept, and giving you a safe, auditable, roll-back-able path to get there.

截图预览

使用场景

  • 自定义 OpenAI 兼容端点接入 DeepSeek Harness 前发现请求参数不兼容
  • 企业自托管 LLM 服务与 Harness 运行时的协议字段适配
  • 第三方 OpenAI Chat Completions API 因 store、reasoning_effort 等参数差异导致任务失败

适合人员

  • 将自定义 OpenAI 兼容端点接入 DeepSeek Harness 进行推理编排的开发者
  • 管理企业自托管推理服务并需要排查协议兼容问题的平台工程师
  • 需要验证第三方 OpenAI 兼容 API 与 Harness 请求格式匹配度的运维人员