erkinalp/dsh-decisions-classifiers ↗★ 0
dsh-decisions-classifiers
OpenAI Decisions API for DeepSeek Harness: predicate/choice/score classifiers as agent tools and an injectable service, a built-in classifier library, an opt-in pre-execution gate, a Settings page, and a "let a classifier decide" card beside ask_user_question multiple-choice prompts. 适合需要引入判定、选择和评分分类器来辅助Agent决策的进阶用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:erkinalp/dsh-decisions-classifiersREADME
Read the full README ↗Configuration
Every field is settable from the Settings page (persisted to
~/.dsh/decisions-classifiers/config.json) and overridable from the bundle row; live edits win.
Pin a deployment in cordis.patch.yml.
| key | default | meaning |
|---|---|---|
enabled | true | master switch |
baseUrl | https://api.openai.com/v1 | endpoint base; /decisions is appended |
model | gpt-6-luna | the only model the Decisions API serves today |
apiKeyEnv | OPENAI_API_KEY | credential-seam reference name |
timeoutMs | 60000 | per-request budget |
defaultThreshold | 0.5 | predicate cut-off when a preset does not fix one |
advisorEnabled | true | the advice card |
gateEnabled | false | the pre-execution gate |
gatePreset | dangerous-command | classifier the gate runs |
gateThreshold | 0.5 | gate cut-off |
gateDecision | deny | deny or escalate |
systemPromptSection | true | tell the agent the classifiers exist |