Kristin130/dsh-commandcode-provider ↗★ 1
dsh-commandcode-provider
适用于 DeepSeek Harness 的 Command Code 服务商插件:兼容包括 1 美元 Go 计划在内的所有方案,使用 Studio 密钥进行认证。
AI 分析
核心用途是将 Command Code 模型服务接入 DSH。适合 Command Code 用户(包括低成本 Go 计划订阅者),需要直接在 DSH 中调用该平台模型。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Kristin130/dsh-commandcode-provider說明文件
閱讀完整 README ↗Configuration
The commandcode-provider settings section accepts (all optional):
| Field | Default | Meaning |
|---|---|---|
apiKeyEnv | COMMANDCODE_API_KEY | Credential reference resolved per request |
displayName | Command Code | Name shown by selectors |
baseURL | COMMANDCODE_API_BASE env → https://api.commandcode.ai | API base for /alpha/generate (usually leave at default) |
modelsUrl | COMMANDCODE_MODELS_URL env → Provider API | Model discovery endpoint |
modelsTimeoutMs | COMMANDCODE_MODELS_TIMEOUT_MS env → 10000 | Discovery timeout |
modelsCachePath | COMMANDCODE_MODELS_CACHE env → /commandcode/commandcode-models.json | Catalog cache path |
models | — | Optional explicit catalog entries; each overrides (or adds to) the discovered model by id |
defaultContextWindow | 262144 | Context capacity for models neither the catalog nor an override sizes |
defaultMaxTokens | 32768 | Output capability for models neither the catalog nor an override sizes |
timeoutMs | — | Per-attempt HTTP request timeout |
streamIdleTimeoutMs | 300000 | Max idle time while one stream read is outstanding |
retryPolicy | normal defaults | Provider-owned model-request retry policy |