mattlennon/jev-harness-router ↗★ 0
jev-harness-router
Budget-aware Jev routing plugin for DeepSeek Harness 适合需要根据价格、能力和验证记录配置模型请求路由的开发者。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mattlennon/jev-harness-router配置真实服务
npm run build
node dist/src/cli.js init --reasoning --config config/router.local.json
Copy-Item .env.example .env
不需要推理时省略 --reasoning。模板保留实际模型 ID、能力、价格、验证记录和密钥变量,路由均未启用。按 厂家说明 填写;Kimi preserved / always / k3 模式必须匹配实际模型。新模板默认 SSE,旧配置省略 transport 时继续 JSON。
node --env-file=.env dist/src/cli.js doctor --config config/router.local.json
node --env-file=.env dist/src/cli.js smoke --config config/router.local.json --route deepseek-strong
node --env-file=.env examples/agent.mjs --config config/router.local.json --route kimi-strong --prompt "解释函数职责"
doctor 只检查配置和环境变量。smoke 与 agent 示例会产生真实请求;smoke 固定模型、跳过 Jev,仅验证一次响应,不能替代工具多轮、取消计费和真实任务评测。先验证各路由,再启用 shadow;填写校准报告、语言覆盖与兼容白名单后再启用 auto。