jwilson411/dsh-compat-probe0

dsh-compat-probe

DeepSeek Harness plugin: one compat_probe tool that probes an OpenAI-compatible base URL and returns a structured protocol card

AI Analysis

核心用途是测试和诊断大模型 API 接口的兼容性。适合需要接入各种第三方中转、本地私有化部署模型(如 llama.cpp)并快速验证其接口规范、参数支持情况的开发者或系统管理员。

Package
dsh-compat-probe
Version
0.1.0
License
MIT
Last updated
Sep 1, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jwilson411/dsh-compat-probe

Configuration

Set these in the profile's cordis.patch.yml, or in a --patch overlay, on the row with id: compat-probe. An id-targeted patch replaces the row's whole config, so restate every field you mean to keep.

KeyDefaultEnv fallbackNotes
baseURLhttp://127.0.0.1:8080/v1DSH_COMPAT_PROBE_BASE_URLIncludes the API prefix, so /v1 is never appended twice. This is where llama-server --port 8080 listens.
apiKeyunsetDSH_COMPAT_PROBE_API_KEYSent as Authorization: Bearer when set, and never logged. Prefer the environment variable over writing a credential into the profile. Never a tool argument.
allowRemotefalsenone, on purposePermit a non-loopback baseURL. No env fallback: widening where the harness sends requests should take an edit to the profile, not an exported shell variable.
modelprobeDSH_COMPAT_PROBE_MODELThe model id named on the fixture requests. A single-model server ignores it.
timeoutMs3000DSH_COMPAT_PROBE_TIMEOUT_MSPer-request budget in milliseconds.

The tool itself declares no parameters. Where to probe and which credential to send are deployment decisions, so a model cannot aim the harness at a host the operator did not name, and has no argument slot to smuggle a key into.